Interface: Element<T, O>
Type parameters
Name | Type |
---|---|
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
, final?
): Pick
<T
, P
>
Type parameters
Name | Type |
---|---|
P | extends 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
, final?
): Pick
<T
, P
| P2
>
Type parameters
Name | Type |
---|---|
P | extends string | number | symbol |
P2 | extends 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
, final?
): Pick
<T
, P
| P2
| P3
>
Type parameters
Name | Type |
---|---|
P | extends string | number | symbol |
P2 | extends string | number | symbol |
P3 | extends 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
, final?
): Pick
<T
, P
| P2
| P3
| P4
>
Type parameters
Name | Type |
---|---|
P | extends string | number | symbol |
P2 | extends string | number | symbol |
P3 | extends string | number | symbol |
P4 | extends 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
, final?
): Pick
<T
, P
| P2
| P3
| P4
| P5
>
Type parameters
Name | Type |
---|---|
P | extends string | number | symbol |
P2 | extends string | number | symbol |
P3 | extends string | number | symbol |
P4 | extends string | number | symbol |
P5 | extends 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
, final?
): 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?
): Point
Parameters
Name | Type |
---|---|
useFinalPosition? | boolean |