Skip to content

pantoken-root / formats/interactions/src / syncInvoker

函式: syncInvoker() ​

syncInvoker(host): void

Mirror the host's invoker attributes onto its inner <button>'s IDL properties, resolving ids against the host's root so a shadow-DOM button can drive a light-DOM [popover]/command target.

參數 ​

host ​

HTMLElement

回傳 ​

void