v1.0.0-alpha.2.0.0
Pre-release
Pre-release
·
191 commits
to master
since this release
Breaking changes
- Existing special attributes renamed from
nx-attrto simplyattr - Bind syntax changed from
nx-sync,nx-cync-on,nx-sync-modeandnx-sync-typeto a singlebind="mode on type". - Inline event handling syntax changed from
nx-eventNameto#eventName. - Renamed
nx-ref,nx-ref-paramsandnx-ref-optionstoiref,iref-paramsandiref-options. iref,iref-paramsandiref-optionswill only work on anchor elements from now on.
New
- Improved data binding. Simpler syntax, more flexibility, dynamic binding options and custom bindable elements.
- Improved attributes. Now any attribute can be prefixed by
@or$similarly to interpolation. - Attribute shorthand syntax:
@class="class"is equal to@class. - Improved inline event handlers. Now works with any events.
- Added rate limiters, which can be used with event handlers.
- Added the capitalize, lowercase, uppercase, json, slice, unit, date, datetime and time filters.
- Added the debounce, delay, if, throttle rate limiters.
- Anchor elements with an
irefattribute gets a fakehrefattribute from NX, which helps web crawlers. classandstyleattributes now accept an object as value- Added the
showattribute, which toggles element visibility.
Fixed
- Fixed an error hiding issue. Errors thrown inside developer code won't be hidden by NX.