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
+2 -1
View File
@@ -5,15 +5,16 @@
/** /**
* Icon anchor units. One of 'fraction', 'pixels'. * Icon anchor units. One of 'fraction', 'pixels'.
* @enum {string} * @enum {string}
* @api
*/ */
export default { export default {
/** /**
* Anchor is a fraction * Anchor is a fraction
* @api
*/ */
FRACTION: 'fraction', FRACTION: 'fraction',
/** /**
* Anchor is in pixels * Anchor is in pixels
* @api
*/ */
PIXELS: 'pixels' PIXELS: 'pixels'
}; };
+4 -1
View File
@@ -5,23 +5,26 @@
/** /**
* Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'. * Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
* @enum {string} * @enum {string}
* @api
*/ */
export default { export default {
/** /**
* Origin is at bottom left * Origin is at bottom left
* @api
*/ */
BOTTOM_LEFT: 'bottom-left', BOTTOM_LEFT: 'bottom-left',
/** /**
* Origin is at bottom right * Origin is at bottom right
* @api
*/ */
BOTTOM_RIGHT: 'bottom-right', BOTTOM_RIGHT: 'bottom-right',
/** /**
* Origin is at top left * Origin is at top left
* @api
*/ */
TOP_LEFT: 'top-left', TOP_LEFT: 'top-left',
/** /**
* Origin is at top right * Origin is at top right
* @api
*/ */
TOP_RIGHT: 'top-right' TOP_RIGHT: 'top-right'
}; };