Interface: Element<T, O>
Type parameters
Name | Default |
---|---|
T | {} |
O | {} |
Properties
active
• Readonly
active: boolean
Defined in: element.d.ts:6 (opens new window)
options
• Readonly
options: O
Defined in: element.d.ts:7 (opens new window)
x
• Readonly
x: number
Defined in: element.d.ts:4 (opens new window)
y
• Readonly
y: number
Defined in: element.d.ts:5 (opens new window)
Methods
getProps
▸ getProps<P>(props
: [P], final?
: boolean): Pick<T, P>
Type parameters:
Name | Type |
---|---|
P | string | number | symbol |
Parameters:
Name | Type |
---|---|
props | [P] |
final? | boolean |
Returns: Pick<T, P>
Defined in: element.d.ts:11 (opens new window)
▸ getProps<P, P2>(props
: [P, P2], final?
: boolean): Pick<T, P | P2>
Type parameters:
Name | Type |
---|---|
P | string | number | symbol |
P2 | string | number | symbol |
Parameters:
Name | Type |
---|---|
props | [P, P2] |
final? | boolean |
Returns: Pick<T, P | P2>
Defined in: element.d.ts:12 (opens new window)
▸ getProps<P, P2, P3>(props
: [P, P2, P3], final?
: boolean): Pick<T, P | P2 | P3>
Type parameters:
Name | Type |
---|---|
P | string | number | symbol |
P2 | string | number | symbol |
P3 | string | number | symbol |
Parameters:
Name | Type |
---|---|
props | [P, P2, P3] |
final? | boolean |
Returns: Pick<T, P | P2 | P3>
Defined in: element.d.ts:13 (opens new window)
▸ getProps<P, P2, P3, P4>(props
: [P, P2, P3, P4], final?
: boolean): Pick<T, P | P2 | P3 | P4>
Type parameters:
Name | Type |
---|---|
P | string | number | symbol |
P2 | string | number | symbol |
P3 | string | number | symbol |
P4 | string | number | symbol |
Parameters:
Name | Type |
---|---|
props | [P, P2, P3, P4] |
final? | boolean |
Returns: Pick<T, P | P2 | P3 | P4>
Defined in: element.d.ts:17 (opens new window)
▸ getProps<P, P2, P3, P4, P5>(props
: [P, P2, P3, P4, P5], final?
: boolean): Pick<T, P | P2 | P3 | P4 | P5>
Type parameters:
Name | Type |
---|---|
P | string | number | symbol |
P2 | string | number | symbol |
P3 | string | number | symbol |
P4 | string | number | symbol |
P5 | string | number | symbol |
Parameters:
Name | Type |
---|---|
props | [P, P2, P3, P4, P5] |
final? | boolean |
Returns: Pick<T, P | P2 | P3 | P4 | P5>
Defined in: element.d.ts:21 (opens new window)
▸ getProps(props
: keyof T[], final?
: boolean): T
Parameters:
Name | Type |
---|---|
props | keyof T[] |
final? | boolean |
Returns: T
Defined in: element.d.ts:25 (opens new window)
hasValue
▸ hasValue(): boolean
Returns: boolean
Defined in: element.d.ts:10 (opens new window)
tooltipPosition
▸ tooltipPosition(useFinalPosition?
: boolean): Point
Parameters:
Name | Type |
---|---|
useFinalPosition? | boolean |
Returns: Point
Defined in: element.d.ts:9 (opens new window)