Skip to content

faurelia/simple-modal-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Modal View

A modal component without using the jQuery library.

Basic Usage

Installation

Include the CSS and JS files.

<link href="modal.css" rel="stylesheet"/>
<script type="application/javascript" src="modal.js"></script>

Add the Trigger

<button data-target="modal_dialog_ID" data-toggle="modal">Launch modal</button>

Create the Modal

<div id="modal_dialog_ID" class="modal">
    <div class="modal-window">
        <span class="close" data-dismiss="modal">&times;</span>
        ...
    </div>
</div>

Demo

See modal.html for examples.

About

A modal component without using the jQuery library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •