Skip to content

Conversation

@kayleg
Copy link
Contributor

@kayleg kayleg commented Mar 7, 2019

This will bring in the new DOM updater which is must faster than the previous. Where supported Silica only updates elements which are visible in the browser's viewport.

Changes:

  • data-on-* can be used to register any event name instead of requiring explicit support
  • data-* can be used to bind any attribute instead of explicit support or data-silica
  • data-silica has been removed in favor of the above
  • data-eventName has been removed in favor of the data-on-* variant
  • Added Silica.ignore([...]) to avoid Silica processing 3rd party dataset attributes
  • data-nostoppropagation is now data-no-stop-propagation
  • data-nopreventdefault is now data-no-prevent-default
  • Compiled library now targets ECMAScript 6 instead of ECMAScript 5
  • Removed md5 dependency
  • Removed data-repeat JSON requirement
  • Mustache syntax is evaluated at compile time
  • Directives can no longer have mustache syntax and must use data-model instead

Todo:

  • Update Documentation
  • Create Migration utility to handle above dataset changes

@kayleg
Copy link
Contributor Author

kayleg commented Mar 7, 2019

@rohenaz Looping you in here so you can see what's coming.

@jdejesus007
Copy link
Contributor

I had to ignore parameter and trap. Data-click-outside seems to not be working

@kayleg
Copy link
Contributor Author

kayleg commented Mar 29, 2019

@jdejesus007 Give beta5 a try and let me know if it's working for you

jdejesus007 and others added 28 commits June 9, 2020 12:22
Fixes #35 Passed current target el in SiO2-HREF pub when event is handled for later sub usage
Passed current target el in SiO2-HREF pub when event is handled for later sub usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants