setAnchorElement method
Changes the element used as an anchor for menu-surface positioning logic. Should be used with conjunction with hoistMenuToBody().
Implementation
void setAnchorElement(Element root) => js.setAnchorElement(root);
Changes the element used as an anchor for menu-surface positioning logic. Should be used with conjunction with hoistMenuToBody().
void setAnchorElement(Element root) => js.setAnchorElement(root);