Type Alias AttributeParser<C, T>
AttributeParser: (host: C, value: string | null, old?: string | null) => T Type Parameters
- C extends HTMLElement
- T extends {}
Type declaration
- (host: C, value: string | null, old?: string | null): T
Parameters
- host: C
- value: string | null
Optional
old: string | null
Returns T