You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
884 B
37 lines
884 B
/**
|
|
* Enum providing common alignment rules
|
|
*/
|
|
const Alignment = Object.freeze({
|
|
/* Normal alignment */
|
|
NORMAL: "normal",
|
|
|
|
/* Basic positional alignment */
|
|
/* align-content does not take left and right values */
|
|
START: "start",
|
|
CENTER: "center",
|
|
END: "end",
|
|
FLEX_START: "flex-start",
|
|
FLEX_END: "flex-end",
|
|
|
|
/* Baseline alignment */
|
|
BASELINE: "baseline",
|
|
FIRST_BASELINE: "first baseline",
|
|
LAST_BASELINE: "last baseline",
|
|
|
|
/* Distributed alignment */
|
|
SPACE_BETWEEN: "space-between",
|
|
SPACE_AROUND: "space-around",
|
|
SPACE_EVENLY: "space-evenly",
|
|
STRETCH: "stretch",
|
|
|
|
/* Overflow alignment */
|
|
SAFE_CENTER: "safe center",
|
|
UNSAFE_CENTER: "unsafe center",
|
|
|
|
/* Global values */
|
|
INHERIT: "inherit",
|
|
INITIAL: "initial",
|
|
REVERT: "revert",
|
|
REVERT_LAYER: "revert-layer",
|
|
UNSET: "unset"
|
|
})
|
|
|