You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Menu's anchor prop take has signature of anchor: Option<web_sys::HtmlElement>. It's clunky and difficult to use. For example, need to have HtmlElement of the element which isn't possible to obtain in view before returning. The only method of setting it right now that I know of is by using WeakComponentLink::<MatMenu>::set_anchor in after the component is rendered. We need to provide a more elegant API for this.
The text was updated successfully, but these errors were encountered:
Menu's anchor prop take has signature of
anchor: Option<web_sys::HtmlElement>
. It's clunky and difficult to use. For example, need to haveHtmlElement
of the element which isn't possible to obtain inview
before returning. The only method of setting it right now that I know of is by usingWeakComponentLink::<MatMenu>::set_anchor
in after the component is rendered. We need to provide a more elegant API for this.The text was updated successfully, but these errors were encountered: