Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

stephan281094/modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modal

Build Status js-standard-style Awesomeness over 9000!

A simple dependency-free JavaScript modal

Demo

Click the following link to see the modal in action: demo.

How

  • Include modal.css and modal.js
  • Create a wrapper node with a class: .modal-wrapper
  • Add modals containing data-modal="somename" inside the wrapper
  • Open the modal by clicking any data-modaltrigger="somename"
  • Or simply call the open function: modal.open('awesome')

Developing

  • Run npm run dev to run webpack and watch for changes

License

This project was created by Stephan and released under MIT.

About

A simple dependency-free JavaScript modal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors