Class PolymerEventListenerMap
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.NodeMap
com.vaadin.flow.internal.nodefeature.PolymerEventListenerMap
- All Implemented Interfaces:
Serializable
Map of PolymerTemplate events with server-side listeners. The key set of this
map describes the event types for which event date is present.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new map feature for the given node. -
Method Summary
Modifier and TypeMethodDescriptionAdds a listener for a event created from a template method.Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeMap
clear, collectChanges, contains, forEachChild, generateChangesFromEmpty, get, getOrDefault, getOrDefault, getOrDefault, keySet, mayUpdateFromClient, producePutChange, put, put, remove, updateFromClient
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
-
Constructor Details
-
PolymerEventListenerMap
Creates a new map feature for the given node.- Parameters:
node
- the node that the feature belongs to
-
-
Method Details
-
add
Adds a listener for a event created from a template method.- Parameters:
methodName
- the name of the methodeventDataExpressions
- the event data expressions- Returns:
- handler to remove eventType data
-