positioner

The license could not be verified: License Certificate has expired!

How to get positioner

import { positioner } from 'fds/system';

Type: Object

An object containing all possible directions and extensions used for the positioner components.

Static properties

Name Type Description
positioner.DIRECTION_EAST String

Used to position the element to the east of the anchor element (right).

positioner.DIRECTION_NORTH String

Used to position the element to the north of the anchor element (above).

positioner.DIRECTION_SOUTH String

Used to position the element to the south of the anchor element (below).

positioner.DIRECTION_WEST String

Used to position the element to the west of the anchor element (left).

positioner.EXTENSION_BACKWARD String

Used to extend the element backwards, relative to the position. In case of a direction in the east/west the position will be extended to the top. In case of a direction in the north/south the position will be extended to the left.

positioner.EXTENSION_CENTER String

Used to extend the element in the center, relative to the position. In case of a direction in the east/west the position will be centered on the vertical axis (top/bottom). In case of a direction in the north/south the position will be centered on the horizontal axis (left/right).

positioner.EXTENSION_FORWARD String

Used to extend the element forwards, relative to the position. In case of a direction in the east/west the position will be extended to the bottom. In case of a direction in the north/south the position will be extended to the right.

Was this page helpful?