Hello everyone,
How do I correctly use events, specifically something like ‘fab:open’ ?
I want to execute a function when an FAB is opened, but for whatever reason I can’t make it happen.
Thanks
Dan.
Hello everyone,
How do I correctly use events, specifically something like ‘fab:open’ ?
I want to execute a function when an FAB is opened, but for whatever reason I can’t make it happen.
Thanks
Dan.
For example:
$$(document).on('fab:open', function() {
// do something
})
…and so that works, thanks ever so much. Not quite sure why I didn’t try that but, nevermind!
Dan.