Constructor
Parameters:
Name |
Type |
Attributes |
Default |
Description |
dataObject |
DataObject
|
<optional>
|
null
|
|
options |
Object
|
|
|
Properties
|
- Source:
- To Do:
-
- Replace the hacky 'X' close widget with something better
Example
const tipInfoComponent = new MyInfoComponent(...) // The tool tip info
const toolTipComponent = new ToolTipComponent(null, {
component: tipInfoComponent
})
const targetComponent = new MyComponent(...) // The component which needs a tool tip
// On some user action, show the tool tip next to some Component
toolTipComponent.show(targetComponent)