src/app/graphs/component-context-menu/component-context-menu.component.ts
This component manages the component context menu as well as its content
styleUrls | component-context-menu.component.scss |
templateUrl | ./component-context-menu.component.html |
Properties |
|
Methods |
constructor(data: ComponentContextMenuData, changeDetector: ChangeDetectorRef)
|
|||||||||
Parameters :
|
close |
close()
|
Close the context menu
Returns :
void
|
updatePosition | ||||||||||||
updatePosition(x: number, y: number)
|
||||||||||||
Update the position of the context menu
Parameters :
Returns :
void
|
Public data |
Type : ComponentContextMenuData
|
Decorators :
@Inject(COMPONENT_CONTEXT_MENU_DATA)
|
height |
Default value : ComponentContextMenuComponent.LAST_HEIGHT
|
Current height of the dialog |
nodeDetailsReady |
Type : boolean
|
True if the node details component is loaded |
width |
Default value : ComponentContextMenuComponent.LAST_WIDTH
|
Current width of the dialog |
component-context-menu.component.scss