Skip to content

pantoken-root / renderers/web-components/src / RegisterContextOptions

Interface: RegisterContextOptions ​

Alpha

The options register() and buildRegisterContext share (everything but only, which only makes sense at the register() call site — buildRegisterContext's callers decide their own element subset directly).

Properties ​

prefix? ​

optional prefix?: string

Alpha

Custom-element tag prefix ("x" → <x-icon>). Never null or empty: tags need a hyphen, so JS callers passing one fall back to instui.


locale? ​

optional locale?: string

Alpha


strings? ​

optional strings?: Partial<WebComponentStrings>

Alpha


dir? ​

optional dir?: "ltr" | "rtl"

Alpha