Uses of Class
com.flowingcode.vaadin.addons.litetemplate.LiteRenderer
-
Uses of LiteRenderer in com.flowingcode.vaadin.addons.litetemplate
Methods in com.flowingcode.vaadin.addons.litetemplate that return LiteRendererModifier and TypeMethodDescriptionLiteRenderer.disableInterpolation()Disable interpolation of template properties within the attributes and properties of the template components and their children.LiteRenderer.disableInterpolation(Component component) Disable interpolation of template properties within the attributes and properties of the specified component and its children.LiteRenderer.enableInterpolation(Component component) Enable interpolation of template properties within the attributes and properties of the specified component and its children.static <SOURCE> LiteRenderer<SOURCE>Creates a newLiteRendererusing the specified template components.LiteRenderer.withAttribute(@NonNull Component component, @NonNull String attribute, @NonNull ValueProvider<SOURCE, ?> valueProvider) Binds a dynamic attribute to a specified component inside the template..LiteRenderer.withAttribute(@NonNull Component component, @NonNull String attribute, String value) Assigns a static attribute to a specified component in the template.LiteRenderer.withListener(@NonNull Component component, @NonNull String eventType, @NonNull SerializableBiConsumer<SOURCE, elemental.json.JsonArray> handler, String... eventArguments) Registers an event listener for a DOM event on one of the child elements within the template component.LiteRenderer.withListener(@NonNull Component component, @NonNull String eventType, @NonNull SerializableConsumer<SOURCE> handler) Registers an event listener for a DOM event on one of the child elements within the template component.LiteRenderer.withProperty(@NonNull Component component, @NonNull String name, @NonNull ValueProvider<SOURCE, ?> valueProvider) Binds a dynamic property with a specified component inside the template.LiteRenderer.withProperty(@NonNull String property, @NonNull ValueProvider<SOURCE, ?> provider) Makes a Lit property available to the template component.