Fomantic-ui: [Toast] Action Text

Created on 8 Oct 2018  路  3Comments  路  Source: fomantic/Fomantic-UI

Feature Request

Description

Add the option of allowing action text (like when sending/deleting an email in Gmail) to the toast prompt with a corresponding callback for when this part is specify clicked (eg. onActionClick)

An alternative could potentially allow action buttons like a MacOS notification, with primary/secondary button callbacks (eg. onButtonPrimary), however, on the other hand, buttons may not be quite suited for a toast

Example

Action Text:
https://www.howtogeek.com/wp-content/uploads/2016/12/00_lead_image_undo_send.png

Action Button(s):
https://www.jamf.com/jamf-nation/discussions/26683/macos-notification-prompts

lancss lanjavascript typfeat

Most helpful comment

Already in progress... :wink: Just get the current Toast PR #139 approved first

All 3 comments

I think this is a good feature to have. I would also make it have an array of actions so you could have as many as you want.

Already in progress... :wink: Just get the current Toast PR #139 approved first

Available by #1129

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hajanajubudeen88 picture hajanajubudeen88  路  5Comments

lubber-de picture lubber-de  路  4Comments

renato picture renato  路  4Comments

PhilippGrashoff picture PhilippGrashoff  路  3Comments

neokio picture neokio  路  4Comments