Type Alias AttributeSchema<Options>

AttributeSchema: { readonly [K in keyof Options]?: AttributeType }

Which options an enhancer reads from its root's data-hl-* attributes, so markup alone can configure it (the auto-loader and CDN bundle pass no options). Keys are option names; each maps to the kebab-cased attribute, so allowMultiple is read from data-hl-allow-multiple.

Type Parameters

  • Options extends object