Add a toggle for the app's theme
Have a toggle component that switches the app's theme between a light and a dark mode.
Have a toggle component that switches the app's theme between a light and a dark mode.
Create a Composite card component with header, body, and footer regions you fill from any view.
Prevent double-submit by disabling the button and updating its label for the duration of the operation, then restoring it when done.
Declare a typed enum property on an ElementComposite so it serializes to the correct web-component attribute value.
Expose a typed event from a Composite using EventDispatcher so parent views can subscribe to custom domain events.
Replace true/false cell values with themed icons using BooleanRenderer so status columns are scannable at a glance.
Use Toast.show with a success or danger theme to give the user immediate, non-blocking feedback after a server-side operation.