ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

Home > @activeviam/activeui-sdk > ActionImplementationProperties > getBadge

ActionImplementationProperties.getBadge property

Returns a number or a string that will be displayed inside a badge on the bottom left corner of the icon. Not implementing this function means that no badge will be displayed.

Signature:

getBadge?: (actionPayload: ActionPayload) => string | number;
  • ActionImplementationProperties.getBadge property
Copyright © 2023 ActiveViam