Skip to content
New issue

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

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

Already on GitHub? # to your account

Content Template-Slot for FAB (Floating Action Button) #7689

Closed
54mu3l opened this issue Aug 26, 2020 · 1 comment
Closed

Content Template-Slot for FAB (Floating Action Button) #7689

54mu3l opened this issue Aug 26, 2020 · 1 comment

Comments

@54mu3l
Copy link

54mu3l commented Aug 26, 2020

I would like to style my fab-buttons the way I can style my normal buttons with custom content.
--> https://quasar.dev/vue-components/button#Custom-content

But the html I add within the <q-fab>-tag doesn't changes the content of the expand button. Instead it adds itself outside in the expanded-area.

But I would like to change the content of the expand button (not of the actions). Yes I know I can set a custom label. Yes I know I can set a custom icon. But that won't help, since I would like to add some html there (e.g. for my custom animated lottie-icons).

So I would suggest a content-slot for fab.

That would be really great! Thank you.

@rstoenescu
Copy link
Member

New slots (icon, active-icon, label) will be available for QFab. Also, new slots for QFabAction (icon, label).
Will land in Quasar v2.4.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants