Fix two missing apidoc links

Add IconAnchorUnits and IconOrigin to the api.
This commit is contained in:
Maximilian Krög
2020-01-11 23:46:52 +01:00
committed by Andreas Hocevar
parent f89b32de66
commit 1020c384bb
2 changed files with 20 additions and 0 deletions

View File

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

View File

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