ToolTip
Extends:
react~Component → ToolTip
Main tooltip class.
React Props:
Name | Type | Attribute | Description |
selection | Object | the Selection instance |
Method Summary
Public Methods | ||
public |
getButtons(selection: String): [Button] builds out the buttons for the tooltip |
|
public |
getPosition(selection: Object): [Object] gets the middle of the left and right of the Selection instance |
|
public |
render(): * |
Public Methods
public getButtons(selection: String): [Button] source
builds out the buttons for the tooltip
Params:
Name | Type | Attribute | Description |
selection | String | the selections text |
Return:
[Button] | buttons - list of Button instances |