Fix two missing apidoc links
Add IconAnchorUnits and IconOrigin to the api.
This commit is contained in:
committed by
Andreas Hocevar
parent
f89b32de66
commit
1020c384bb
@@ -5,8 +5,15 @@
|
|||||||
/**
|
/**
|
||||||
* 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
|
||||||
|
*/
|
||||||
FRACTION: 'fraction',
|
FRACTION: 'fraction',
|
||||||
|
/**
|
||||||
|
* Anchor is in pixels
|
||||||
|
*/
|
||||||
PIXELS: 'pixels'
|
PIXELS: 'pixels'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,10 +5,23 @@
|
|||||||
/**
|
/**
|
||||||
* 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
|
||||||
|
*/
|
||||||
BOTTOM_LEFT: 'bottom-left',
|
BOTTOM_LEFT: 'bottom-left',
|
||||||
|
/**
|
||||||
|
* Origin is at bottom right
|
||||||
|
*/
|
||||||
BOTTOM_RIGHT: 'bottom-right',
|
BOTTOM_RIGHT: 'bottom-right',
|
||||||
|
/**
|
||||||
|
* Origin is at top left
|
||||||
|
*/
|
||||||
TOP_LEFT: 'top-left',
|
TOP_LEFT: 'top-left',
|
||||||
|
/**
|
||||||
|
* Origin is at top right
|
||||||
|
*/
|
||||||
TOP_RIGHT: 'top-right'
|
TOP_RIGHT: 'top-right'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user