This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
- updated handling of a components lifecycle to match the of a custom element
- the use of the
initialize
anddestroy
callbacks are deprecated and should not be used anymore from now on - three new callbacks were added to a components spec
created
— a component/element was created. This callback is called once and the element does not have to be part of the document yetattached
— called every time when an element was added to the documentdetached
— called every time when an element was removed from the document
- the use of the
- changed the way
gremlins.findGremlin()
works. It does not return null or a gremlin anymore, as it's not guaranteed, that the component has already been created.
gremlins.findGremlin()
returns a promise now.