InternalsAttached
- Accepts classes based on
LitElement
import { LitElement } from 'lit';
import {
InternalsAttached,
internals,
replaceStates
} from '@vollowx/seele/base/mixins/internals-attached.js';
class Some extends InternalsAttached(LitElement) {}
Properties
| name | description |
|---|---|
[internals] |
ElementInternals |
Methods
| signature | description |
|---|---|
[replaceStates](del: Array<string>, add: Array<string>) -> void |
Helper function, replace del with add |
internals and replaceStates is a symbol that can be imported from the same
file.