Function cleanCssPosition
- cleanCssPosition(
value: string | string[],
options?: { allowCenter: boolean; cssOrder: boolean },
): [string, string] | null Parameters
- value: string | string[]
Optional
options: { allowCenter: boolean; cssOrder: boolean } = ...allowCenter: boolean
cssOrder: boolean
Returns [string, string] | null
Parse a CSS-like position into an array of position keywords among top, bottom, left, right and center