Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button items / actions ??? #95

Open
ExcelNet-Public opened this issue Apr 20, 2019 · 5 comments
Open

Button items / actions ??? #95

ExcelNet-Public opened this issue Apr 20, 2019 · 5 comments

Comments

@ExcelNet-Public
Copy link

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!

@jannomeister
Copy link

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

@bradmartin
Copy link
Collaborator

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.

@JeffersonLPLima
Copy link

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.

@eullerpereira94
Copy link

@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:

@adityamadchetti
Copy link

#97 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants