Quasar: [Request] use an icon for `action > label` in Notify

Created on 5 Mar 2018  路  5Comments  路  Source: quasarframework/quasar

Just like the old Toast I want to add the close material icon as the handler to dismiss a Notify dialogue.

Tried cheating with the following, but it didn't work. : D

actions: [{
  label: '<i aria-hidden="true" class="q-icon material-icons">close</i>',
}]

Can you add the possibility to do this?

Most helpful comment

@rstoenescu Oh, I see it's possible to use icon in the actions as well. I'll edit the docs.

All 5 comments

Taken from docs. Do you notice the "icon" there? :)

download

I meant as the label of the action.

{ label: 'Snooze', icon: 'map', handler () {} }

@rstoenescu Oh, I see it's possible to use icon in the actions as well. I'll edit the docs.

Updated docs. Thanks for wanting to, though!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mesqueeb picture mesqueeb  路  3Comments

wc-matteo picture wc-matteo  路  3Comments

tombarfoot picture tombarfoot  路  3Comments

nueko picture nueko  路  3Comments

Bangood picture Bangood  路  3Comments