UNPKG

@nexim/element

Version:

Utility functions and mixins for building high-performance web components with Lit.

15 lines (10 loc) 1.02 kB
# @nexim/element ## Interfaces | Interface | Description | | ---------------------------------------------------------- | --------------------------------------------------- | | [LoggerMixinInterface](interfaces/LoggerMixinInterface.md) | Interface for elements that have a logger instance. | ## Functions | Function | Description | | ------------------------------------------- | -------------------------------------------------------------------------------------------------------- | | [lightDomMixin](functions/lightDomMixin.md) | A mixin to enable light DOM rendering and style encapsulation for LitElement components. | | [loggerMixin](functions/loggerMixin.md) | Create a mixin class that extends the provided superclass and logs the lifecycle methods of the element. |