Only mark items as api, not enums

This commit is contained in:
Andreas Hocevar
2020-03-27 12:24:41 +01:00
parent 1020c384bb
commit a6a5b72c57
2 changed files with 6 additions and 2 deletions

View File

@@ -5,15 +5,16 @@
/**
* Icon anchor units. One of 'fraction', 'pixels'.
* @enum {string}
* @api
*/
export default {
/**
* Anchor is a fraction
* @api
*/
FRACTION: 'fraction',
/**
* Anchor is in pixels
* @api
*/
PIXELS: 'pixels'
};

View File

@@ -5,23 +5,26 @@
/**
* Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
* @enum {string}
* @api
*/
export default {
/**
* Origin is at bottom left
* @api
*/
BOTTOM_LEFT: 'bottom-left',
/**
* Origin is at bottom right
* @api
*/
BOTTOM_RIGHT: 'bottom-right',
/**
* Origin is at top left
* @api
*/
TOP_LEFT: 'top-left',
/**
* Origin is at top right
* @api
*/
TOP_RIGHT: 'top-right'
};