2.8.0 • Published 4 months ago

@peckadesign/pd-modal v2.8.0

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.7.0

5 months ago

2.6.0

7 months ago

2.8.0

4 months ago

2.5.2

7 months ago

2.5.0

12 months ago

2.5.1

12 months ago

2.3.0

1 year ago

2.2.0

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.0.0

2 years ago