mix
Import
import { mix } from 'c/boltage';Usage
export default class myLwc extends mix( [NavigationMixin], [useSuspense], [useFormValidation], LightningElement) {}Methods
mix(…mixins, baseClass) : Constructor
| Name | Type | Description |
|---|---|---|
...mixins | [Function, args] | Tuple of the mixin with its arguments |
baseClass | Constructor | Any base class. Can be LightningElement, BoltElement or a custom one |