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
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Chrome Version 60.0.3112.24 (Official Build) beta (64-bit)
What OS are you using?
Fedora 26 (Linux p5q 4.11.4-300.fc26.x86_64)
What are the steps to reproduce the bug?
Write a custom framework menu adapter for, say, VueJS.
import { MDCMenuFoundation, util } from '@material/menu';
Use the component and observe that util is undefined.
What is the expected behavior?
The @material/menu util methods should be available for users of the package (from the dist/mdc.menu.js code) without having to import util from the node_modules folder separately. Note this change is also needed when no module system is used under the global mdc namespace where there is no workaround.
What is the actual behavior?
The util methods are unavailable and need to be imported separately when writing, say, a framework integration example.
Any other information you believe would be useful?
See mdc-drawer for example of exporting and using util in other packages.
The text was updated successfully, but these errors were encountered:
What MDC-Web Version are you using?
What browser(s) is this bug affecting?
What OS are you using?
What are the steps to reproduce the bug?
What is the expected behavior?
What is the actual behavior?
Any other information you believe would be useful?
See mdc-drawer for example of exporting and using util in other packages.
The text was updated successfully, but these errors were encountered: