Skip to content

responsivelyCheckDirection Type documentation

TypeScript declaration

import { responsivelyCheckDirection } from '@siemens/element-ng/common';

Deprecated: Use the CDK Overlay instead.

responsivelyCheckDirection(params: { isScrolling?: boolean; currentDirection: Direction; contentElements: HTMLElement[]; hostElement: HTMLElement | null; placement: Placement; placementReferenceElement: HTMLElement; align: Align; responsiveDirectionToPlacement: boolean; closeOnPlacementReferenceScrollOut: boolean; closeOnContentScrollOut: boolean; minSpaceThresholdFactor?: number; placementReverse?: Placement; rtl?: boolean; }): { responsiveDirection?: Direction; close: boolean; }

Deprecated: Use the CDK Overlay instead.

Parameters

Types Documentation

Align

'start' | 'center' | 'end'
type alias
import type { Align } from '@siemens/element-ng/common';

Deprecated: Use the CDK Overlay instead.

Direction

'down' | 'up' | 'start' | 'end'
type alias
import type { Direction } from '@siemens/element-ng/common';

Deprecated: Use the CDK Overlay instead.

import type { Placement } from '@siemens/element-ng/common';

Deprecated: Use the CDK Overlay instead.

import type { PlacementBasic } from '@siemens/element-ng/common';

Deprecated: Use the CDK Overlay instead.

import type { PlacementBasicVertical } from '@siemens/element-ng/common';

Deprecated: Use the CDK Overlay instead.


Except where otherwise noted, content on this site is licensed under MIT License.