❄️ Crystallized Controllers
This package, as part of the Crystallized project, provides:
-
DeclarativeActionsController
- lets you add action attributes to elements as a way of providing declarative event handlers. -
TargetsController
- lets you easily query child nodes in the DOM using either selectors or explicit attribute-based identifiers.
You can use Lit (a library for building fast, reactive web components) along with these controllers, or you can build your own "vanilla" web components and enhance them with the full suite of Crystallized utilities. The entire library is under 7KB (before compression!) and has no dependencies.
Documentation is available in the main repo Readme.
Contributing
- Fork it (https://github.com/whitefusionhq/crystallized/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
License
MIT