catalyst

Catalyst is a set of patterns and techniques for developing components within a complex application.

MIT License

Downloads
275.2K
Stars
1.3K
Committers
34
catalyst -

Published by keithamus about 4 years ago

This release adds the following:

catalyst -

Published by keithamus over 4 years ago

This release adds the following:

  • @controller Elements get a data-catalyst automatically added during connectedCallback()
  • Major docs rewrite. Almost all documentation has been rewritten.
  • Bind has been rewritten for code clarity and performance. This changes are backwards compatible with the old changes.
catalyst -

Published by keithamus over 4 years ago

  • Change data-target to data-targets for the @targets decorator.

This is a breaking change, whereas the old style decorators did the following:

Decorator Equivalent Native Method Selector Returns
@target querySelector data-target="*" Element
@targets querySelectorAll data-target="*" Array

The breaking change is that @target now selects for data-targets (with an s) like so:

Decorator Equivalent Native Method Selector Returns
@target querySelector data-target="*" Element
@targets querySelectorAll data-targets="*" Array
catalyst -

Published by keithamus over 4 years ago

  • Feature: add listenForBind() to automatically bind new elements that enter the DOM
catalyst - v0.1.0

Published by keithamus over 4 years ago

  • Automatically drop Element from the name of the component's tag name
  • Clean up documentation
  • Project organisation
catalyst -

Published by koddsson over 4 years ago

  • Fix issue where targets weren't being matched exactly causing the wrong target to be returned in the target bound getter (#39).
catalyst -

Published by keithamus over 4 years ago

Fix bad build in 0.0.6

catalyst -

Published by koddsson over 4 years ago

fix(bind): Fix eventname and controller binding bugs. #31

catalyst - v.0.0.5

Published by keithamus over 4 years ago

fix: use wrap correctly in @controller

catalyst -

Published by keithamus over 4 years ago

fix(bind): call controller method for any event target
fix(controller): apply function to prototype if it doesn't exist

catalyst -

Published by koddsson over 4 years ago

  • Create LICENSE in the catalyst/ package sub-directory
catalyst -

Published by koddsson over 4 years ago

Add a LICENSE file

catalyst -

Published by keithamus over 4 years ago

Initial Release! See https://github.github.io/catalyst for more!

Package Rankings
Top 1.56% on Npmjs.org