Skip to content

Simple and easy modal, call the function just one time.

Notifications You must be signed in to change notification settings

thisisddzin/liq-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple and Easy Modal

Liq by liquid because is it easy to adapt anywhere.

To use in your project just call the function liqModals(), if you want to create your own style, or

liqModals({
  container: {
    active: true
  }
})

and then, create buttons (can be any element tag), just have sure of use the class 'liq-modal__btn' in your tag element, then put like this dataset: * data-liq-modal-open:"name_selector" *

Example: <button class="liq-modal__btn" data-liq-modal-open="#my-modal">Click Here</button>

PS: README not finalized, miss so mutch configs to improve you modal

About

Simple and easy modal, call the function just one time.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published