sebnitu / vrembem

A CSS component library based on the BEM methodology.

Home Page:https://vrembem.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add collections API pattern to modal and drawer modules

sebnitu opened this issue · comments

Problem

To help keep JS module patterns more consistent, we should introduce "collections" API to the modal and drawer modules. This would also allow for better control and transparency of components that are currently registered and active on the page. This would also include the expected register and deregister API calls and the collections array containing all active components for that specific JS module along with its state and active event listeners if applicable.

Fixed in #866