Remodal Js

Remodal Js is a front end javascript that creates popup windows with ease.

Here is the website to download Remodal Js



Node Js
npm install remodal
bower install remodal
Including Js and Css file
link rel="stylesheet" href="../dist/remodal.css"
link rel="stylesheet" href="../dist/remodal-default-theme.css"
script src="../dist/remodal.min.js"

Including the Modal

<div class="remodal" data-remodal-id="modal">
  <button data-remodal-action="close" class="remodal-close"></button>
      {Your Code}
  <button data-remodal-action="cancel" class="remodal-cancel">Cancel</button>
  <button data-remodal-action="confirm" class="remodal-confirm">OK</button>

Initializing with Javascript

var inst = $('[data-remodal-id=modal]').remodal();
var inst = $(".remodal").remodal();

//Used to open the modal;

//Used to close the modal

//Get the current state of the modal

//Destroy the current modal

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s