Hunter Perrin
Hunter Perrin
@rluba Thanks for the solution. It worked for me.
For those searching on the Google in the future, the error message I was seeing is: ``` TypeError: _typeof is not a function ```
The demo site in the main repo uses this with Sapper. I also have a project called Sound Rodeo in my GitHub page that uses SMUI/Sapper/Rollup.
Here you go: https://github.com/hperrin/soundrodeo
I haven’t added support for the latest MDC components yet. You have to use earlier versions for now. :( I’ll try to work on this soon.
@TheComputerM I don't know what you mean by "pure js". SMUI is mostly Svelte. The parts that come from MDC-Web are pretty small JS blobs.
That's because a class directive only works on DOM elements. SMUI lets you change which DOM element many of its components render (so, for example, you can render a button...
If anyone needs this functionality, I've made a primitive approach to forward all standard UI events, plus any others you specify: https://github.com/hperrin/svelte-material-ui/blob/273ded17c978ece3dd87f32a58dd9839e5c61325/components/forwardEvents.js You can see how it's used in the...
@jerriclynsjohn How are you trying to use it?
Hi. I had to have a coworker translate for me, so hopefully I understand what you mean. Can you tell me about what browser and OS you're using?