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
The text was updated successfully, but these errors were encountered:
dinumarathe
changed the title
how can convert this hover float button to toggle (click) button for hybrid mobile screen
Need toogle float button instead of hover float button
Feb 2, 2017
#####from the docs#####
All you need is to toggle data-mfb-state
I tried to create a code snip for you but i cant understand your code structure. I hope this helps.
#####Click toggling#####
To add click and touch support (and to support the open/close animation programmatically, more on this later) include the mfb.js file and reference it in the page. Finally set the data-mfb-toggle attribute to click, along with the initial state you want the menu to appear at load time, using the data-mfb-state attribute. An example:
ul class="mfb-component--tl mfb-slidein" data-mfb-toggle="click" data-mfb-state="closed"
im trying to use float button in my hybrid app
I have on hover float button (Material button) but i want this action on toogle action...
(https://codepad.co/snippet/0PNF4OPp)
The text was updated successfully, but these errors were encountered: