2.5.1 • Published 4 months ago

@peckadesign/pd-modal v2.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

pd-modal

Quick start

$ npm install @peckadesign/pd-modal
import { PdModal, HTMLContentLoader } from '@peckadesign/pd-modal'

const modal = new PdModal()
modal.registerContentLoader(new HTMLContentLoader())

This code will create instance of a modal window. The content itself is loaded using content loaders. This allows you to import only loaders you actually need in your project.

When HTMLContentLoader is registered, the modal is automatically binded to link elements with class="js-modal" by default. For more in-depth info and complete documentation, please see example.

2.5.0

4 months ago

2.5.1

4 months ago

2.3.0

7 months ago

2.2.0

7 months ago

2.4.1

7 months ago

2.4.0

7 months ago

2.1.0

7 months ago

2.0.0

7 months ago

1.0.0

12 months ago