nativescript-floatingactionbutton icon indicating copy to clipboard operation
nativescript-floatingactionbutton copied to clipboard

Button items / actions ???

Open ExcelNet-Public opened this issue 5 years ago • 5 comments

I am trying to use this in a Vue environment and either missing something or not getting how to use this component. It seems all this provides is a floating button and no functionality beyond that.

I was expecting some way when I tap on it that a list of actions / buttons / whatever would be displayed "near" the button. Something similar to the Vue floating button sample on the Nativescript Samples page. Does this functionality exist or can somebody provide an example how they are providing this information.

Thanks!

ExcelNet-Public avatar Apr 20 '19 02:04 ExcelNet-Public

yeah I agree. Like how ionic implement fab button like this one: https://ionicframework.com/docs/v3/api/components/fab/FabList/.

jannomeister avatar May 31 '19 03:05 jannomeister

Ah yea, you want a 'speeddial'. I did it way back but never posted the snippet anywhere I can find :( https://www.youtube.com/watch?v=3n8cuJZmOvw&feature=youtu.be

Basically you'd just have your main FAB with a tap event and then I animate the smaller FABs that are positioned behind the main one using a grid-layout.

bradmartin avatar May 31 '19 13:05 bradmartin

Ah yea, you want a 'speeddial'. I did it way back but never posted the snippet anywhere I can find :( https://www.youtube.com/watch?v=3n8cuJZmOvw&feature=youtu.be

Basically you'd just have your main FAB with a tap event and then I animate the smaller FABs that are positioned behind the main one using a grid-layout.

That would be amazing... I'm also searching for a FAB, or a Floacting Action Menu like this in NS, but I didn't find nothing to help.

JeffersonLPLima avatar May 31 '19 14:05 JeffersonLPLima

@JeffersonLPLima, @jannomeister, @ExcelNet-Public, If anyone wants the code, it was on the Nativescript Snacks website. Although it is not online anymore, its repo and all its articles are still on Github. Use those links to implement the functionality you want:

eullerpereira94 avatar Dec 20 '19 11:12 eullerpereira94

https://github.com/nstudio/nativescript-floatingactionbutton/issues/97#issuecomment-1062935103

adityamadchetti avatar Mar 09 '22 13:03 adityamadchetti