Element API
You can control the HTML DOM in the browser from the server-side using the Element API.
- Properties & attributes
- Get and set DOM properties and attributes.
- Listening to User Events
- Listen to any browser events.
- Remote Procedure Calls
- Running procedures or subroutines elsewhere -- on another machine.
- Retrieving User Input
- Use the Element API to retrieve user input from the client-side.
- Dynamic Styling
- How to style elements using dynamic class names or inline styles.
- Shadow Roots
- Using shadow roots in server-side elements and components.