ons-speed-dial
-
Element that displays a Material Design Speed Dialog component. It is useful when there are more than one primary action that can be performed in a page. The Speed dial looks like a
<ons-fab>
element but will expand a menu when tapped.Click here to see the original article
-
Hi, i cant use visible Propertie or hideItems() method, need a example please!
-
@Luis-Ochoa although it’s not well documented the
visible
property isreadonly
. You can use thehideItems()
method by using a template reference variable with#
and a@ViewChild
decorator. So you need to define your element like<ons-speed-dial #speedDial>
, declare@ViewChild('speedDial') speedDial;
on your component and from then you can use its methods throughthis.speedDial.nativeElement.hideItems();
. Hope it helps.