Releases: FrontendMatter/dom-factory
Releases · FrontendMatter/dom-factory
v1.0.0
v1.0.0-alpha.9
Add support for casting properties with reflectToAttribute: true
to a Number
v1.0.0-alpha.10
fix an issue with setting the property initial value
v1.0.0-alpha.8
Changes
Upgrade component properties to HTML5 dataset API
v1.0.0-alpha.7
fix event bubbling
v1.0.0-alpha.6
BREAKING CHANGES
- components no longer autoinitialize, instead you need to explicitly call
handler.autoInit()
- component css initializer classes changed to
js-$component-id
i.e. formy-button
component ID the css class will bejs-my-button
- automatically call
component.destroy()
onhandler.downgradeComponent
v1.0.0-alpha.5
Changes
- add call to
handler.upgradeAll
onDOMContentLoaded
event - add
CustomEvent
shim - add ES6
Array.find
shim
v1.0.0-alpha.4
Accept property value callback
v1.0.0-alpha.3
changes util - export domFactory.util object - add util.assign (just like Object.assign but keeps original descriptors) - add util.transform (cross-browser HTMLElement.style.transform) factory - inject element into factory definition - add mixins - add support for window and document as listener targets - improve error messages handler - improve error handling - improve error messages - inject element into factory definition - call factory._reset() (if exists) on subsequent calls to handler.upgradeElement when a factory instance was already created
v1.0.0-alpha.2
add component handler