Menu Anchor
fun <W> MenuAnchor(anchor: W, position: <Error class: unknown class> = Position.RELATIVE, initMenu: <Error class: unknown class>.() -> MdMenu): MenuAnchor<W>
Factory for obtaining an instance of MenuAnchor.
The returned component is basically a Component that assign an id to anchor and affect that id to the MdMenu computed by initMenu.
It also set a click listener on anchor that toggle the MdMenu visibility.
This API is provided as a convenience for creating menu.