ensemble is a tiny JavaScript library from loltgt, which can be used as starting point to create beautiful components.
ensemble is the foundation for ensemble.Modal, ensemble.Lightbox and ensemble.SocialShare
It is a JavaScript ES module with classes:
Compocomposition element, wrap aroundElement[DOM]Flatcomposition stack, wrap aroundDocumentFragment[DOM]Datawrapper for data, wrap aroundCompoelementEventwrapper for events, wrap aroundEvent[DOM]localeclass for locale and$localeProxypartabstract forCompoandFlatbaseabstract for ensemble components
ensemble is not gluey, it does not contain any kind of superstructure.
You can use ensemble with other libraries (examples in the misc folder).
To see in action ensemble components: Modal, Lightbox and SocialShare, look at the demo showcase on this page: https://loltgt.github.io/ensemble/demo/
View source from demo pages to discover options and examples.
Using npm:
npm install --save-dev loltgt/ensemble