1.0.2-0 • Published 3 years ago

izimodal-wrap v1.0.2-0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

iziModalWraps

GitHub issues Package version Commitizen friendly GitHub license

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 or npm 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.

1.0.2-0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.10.1

4 years ago

0.10.0

4 years ago

0.9.4

4 years ago

0.9.3

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago