Interface: Element<T, O>

Type parameters

NameType
T{}
O{}

Properties

active

Readonly active: boolean

Defined in

element.d.ts:6Element - 图1 (opens new window)


options

Readonly options: O

Defined in

element.d.ts:7Element - 图2 (opens new window)


x

Readonly x: number

Defined in

element.d.ts:4Element - 图3 (opens new window)


y

Readonly y: number

Defined in

element.d.ts:5Element - 图4 (opens new window)

Methods

getProps

getProps<P>(props, final?): Pick<T, P>

Type parameters

NameType
Pextends string | number | symbol

Parameters

NameType
props[P]
final?boolean

Returns

Pick<T, P>

Defined in

element.d.ts:11Element - 图5 (opens new window)

getProps<P, P2>(props, final?): Pick<T, P | P2>

Type parameters

NameType
Pextends string | number | symbol
P2extends string | number | symbol

Parameters

NameType
props[P, P2]
final?boolean

Returns

Pick<T, P | P2>

Defined in

element.d.ts:12Element - 图6 (opens new window)

getProps<P, P2, P3>(props, final?): Pick<T, P | P2 | P3>

Type parameters

NameType
Pextends string | number | symbol
P2extends string | number | symbol
P3extends string | number | symbol

Parameters

NameType
props[P, P2, P3]
final?boolean

Returns

Pick<T, P | P2 | P3>

Defined in

element.d.ts:13Element - 图7 (opens new window)

getProps<P, P2, P3, P4>(props, final?): Pick<T, P | P2 | P3 | P4>

Type parameters

NameType
Pextends string | number | symbol
P2extends string | number | symbol
P3extends string | number | symbol
P4extends string | number | symbol

Parameters

NameType
props[P, P2, P3, P4]
final?boolean

Returns

Pick<T, P | P2 | P3 | P4>

Defined in

element.d.ts:17Element - 图8 (opens new window)

getProps<P, P2, P3, P4, P5>(props, final?): Pick<T, P | P2 | P3 | P4 | P5>

Type parameters

NameType
Pextends string | number | symbol
P2extends string | number | symbol
P3extends string | number | symbol
P4extends string | number | symbol
P5extends string | number | symbol

Parameters

NameType
props[P, P2, P3, P4, P5]
final?boolean

Returns

Pick<T, P | P2 | P3 | P4 | P5>

Defined in

element.d.ts:21Element - 图9 (opens new window)

getProps(props, final?): T

Parameters

NameType
propskeyof T[]
final?boolean

Returns

T

Defined in

element.d.ts:25Element - 图10 (opens new window)


hasValue

hasValue(): boolean

Returns

boolean

Defined in

element.d.ts:10Element - 图11 (opens new window)


tooltipPosition

tooltipPosition(useFinalPosition?): Point

Parameters

NameType
useFinalPosition?boolean

Returns

Point

Defined in

element.d.ts:9Element - 图12 (opens new window)