Crate custom_element
source ·Modules§
- These are all the valid HTMLElement constructors, exported for convenience. These can be used to created cutomized built-in custom elements.
Structs§
- Allows specifying details about how your custom element should be created. Currently, this is limited to specifying which constructor function your custom element should inherit from.
- The result of creating a custom element.
- Wrapper type around the JavaScript
GeneratedCustomElement
class for easier/more ergonomic calling/conversions
Traits§
- This trait is the focal point of this crate, and implementing it allows your Rust struct to be used as a custom element.
Functions§
- Create a custom element with the default configuration
- Create a custom element with a custom configuration