Skip to content

saulsluz/jquery-prevent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 20, 2018
292f814 · Mar 20, 2018

History

4 Commits
Mar 20, 2018
Mar 20, 2018
Mar 20, 2018
Mar 20, 2018

Repository files navigation

jquery-prevent

Simple toggle element to change the normal state of a button to a push state and vice versa

Usage

To change to a push state

$('#element').prevent('store').prevent('block')

To change to a push normal

$('#element').prevent('restore')

To change to a push normal and set an attribute

$('#element').prevent('restore', e => e.val(someValue))

Test

About

Simple toggle element to change the normal state of a element to a push state and vice versa

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published