Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
feat(callout): add new directive
Browse files Browse the repository at this point in the history
Add new directive `uif-callout`.

Closes #15. Closes #119.
  • Loading branch information
jjczopek authored and andrewconnell committed Jan 24, 2016
1 parent d101e10 commit 72834f8
Show file tree
Hide file tree
Showing 8 changed files with 1,112 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/callout/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!demo/index.js
20 changes: 20 additions & 0 deletions src/components/callout/calloutArrowEnum.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

/**
* Enum for callout arrow direction. It is intended to use as string as `uif-arrow` attribute value on `uif-callout` directive.
*
* @readonly
* @enum {string}
* @usage
*
* This is used to generate the string that you pass into the <uif-callout /> directive. Specifically, the string is passed
* to the `uif-arrow` attribute. To evaluate the enum value as a string:
*
* let arrow: string = CalloutArrow[CalloutArrow.left];
*/
export enum CalloutArrow {
left,
right,
top,
bottom
}
Loading

0 comments on commit 72834f8

Please sign in to comment.