ons-speed-dial


  • Onsen UI

    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!


  • Onsen UI

    @Luis-Ochoa although it’s not well documented the visible property is readonly. You can use the hideItems() 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 through this.speedDial.nativeElement.hideItems();. Hope it helps.


Log in to reply