Releases: hal/elemento
Releases · hal/elemento
Elemento 1.6.8
Added
- Add
Elements.isElementInView(HTMLElement)based on https://gist.github.com/Marco-Prontera/6d9d1a9cead48f44e8dabd8ff5310ecf
Elemento 1.6.7
Added
- Add
Logger.initFrom(elemental2.dom.Location)
Elemento 1.6.6
Changed
- Return a unique label from
Logger.timemethods
Removed
- Remove deprecated methods:
HasElement.id()
Elemento 1.6.5
Added
- Add
Logger.groupandLogger.timemethods
Elemento 1.6.3
Changed
- Make
By.selector()public
Upgrades
- Bump J2CL processors to 0.7
- Bump JUnit to 5.10.3
Elemento 1.6.2
Added
- Add
Page.attach() - Add
Page.detach()
Elemento 1.6.1
Fixed
- Fix bug in attach/detach observer
Elemento 1.6.0
Added
-
Add
ButtonTypeenum andElements.button(ButtonType) -
Add
@Loaderannotation andloaderattribute for@Routeannotation -
Add options for router annotation processors:
places.package: The package name of the generated class for the annotated places.places.class: The class name of the generated class for the annotated places.
Changed
-
Rename loader classes:
Loader<T>→LoadData<T>LoadData→LoadedData
-
Add support for loaders in router annotation processors
-
Change default name of the generated class for the annotated places
GeneratedPlaces→AnnotatedPlaces -
Simplify router annotation processors
Elemento 1.5.1
Added
-
Add methods to modify the text node of an element:
Elements.textNode(elemental2.dom.Element, String)Elements.textNode(IsElement<E>, String)
-
Add overloaded methods to bind events in
HasElement:HasElement.on(EventType<V,?>, boolean, EventCallbackFn<V>)HasElement.on(EventType<V,?>, AddEventListenerOptions, EventCallbackFn<V>)
-
Add
Logger.isEnabled(Level)to check if a level is enabled for a logger. -
Add debug log statements logger to attach/detach implementation
Fixed
- Fix multiple attach/detach handlers for an element.
Elemento 1.5.0
Added
- Add support for routes with parameters:
/contacts/:contactId - Add asynchronous loaders for places
- Add place(s) builder API and nested places
Changed
- Optimize logging implementation