This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
19 lines (19 sloc)
559 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Enum for all possible button types supported by Office UI Fabric. Enums in JavaScript are always indexed but this enum is | |
| * intended to be used as a striangular. | |
| * | |
| * @readonly | |
| * @enum {string} | |
| * @usage | |
| * | |
| * This is used to generate the string that you pass into the <uif-button /> directive. Specifically, the string is passed | |
| * to the `uif-type` attribute. To evaluate the enum value as a string: | |
| * | |
| * let buttonType: string = ButtonTypeEnum[ButtonTypeEnum.primary]; | |
| */ | |
| export enum ButtonTypeEnum { | |
| primary, | |
| command, | |
| compound, | |
| hero | |
| } |