Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Flyout > Create generic "action" button in header #1754

Closed
Blackbaud-SteveBrush opened this issue Jun 25, 2018 · 1 comment
Closed

Flyout > Create generic "action" button in header #1754

Blackbaud-SteveBrush opened this issue Jun 25, 2018 · 1 comment

Comments

@Blackbaud-SteveBrush
Copy link
Member

Blackbaud-SteveBrush commented Jun 25, 2018

Expected behavior

There should be a way to include a generic action button in the flyout's toolbar, to satisfy the Guidelines (see "Create list" button under the "Options" heading: https://developer.blackbaud.com/skyux/components/flyout#ux-guidelines).

Actual behavior

There is not a way to add an action button (the only button currently available is the permalink button, but it does not satisfy the need for a callback function.

Requirements

  • Button should have configurable label and callback
  • Config should look like (included in SkyFlyoutConfig):
primaryAction:? {
  label?: string;
  callback?: () => void
};
@Blackbaud-AlexKingman
Copy link
Contributor

Resolved in #1766

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

No branches or pull requests

2 participants