izimodal-wrap
v1.0.2-0
Published
A simple wrapper for iziModal
Downloads
2
Readme
iziModalWraps
A simple wrapper for iziModal.
:warning: This project is undergoing refinement still so use with caution. Once it's fully ready for production I will be bumping to v1.1.0
Any feedback just open up an issue on the Issues tab.
Most options/events/theming should be pretty concrete. Most changes now are going to be documentation, tests, and linting updates to ensure good releases.
Any oddness with version tags in the early stages of the project should be fixed after
v1.0.1-alpha.0
Prerequisites
- jQuery >= 2.x
Install
npm i --save-dev izimodal-wrap
ornpm i --save izimodal-wrap
Quick Use
- Configure Globals
import iziModalWrap from './src/iziModalWrap';
iziModalWrap.globals.init({
themes: {
customKey: {
color: '#000',
icon: 'custom-icon-class',
title: 'Modal Title',
subtitle: 'Modal Sub-title',
},
add: {
title: 'Adding',
},
edit: {
title: 'Editing',
}
},
});
- Basic
import iziModalWrap from './src/iziModalWrap';
const m = new iziModalWrap('new-modal');
Reference.
click here for more information about the classes (work in progress).
CDN
Currently, not setup.
Development
click here for more information about contributing.
Special thanks
To Chris Wells for his typescript template project to get things started on v1.x.x
changes.