Home Reference Source
import {ContextMenu} from '@osjs/gui/src/contextmenu.js'
public class | source

ContextMenu

Handles a Menu/ContextMenu globally for OS.js

Method Summary

Public Methods
public

hide(args: ...*): *

Hide the menu

public

init()

Initializes the Menu Hyperapp

public

show(args: ...*): *

Show the menu

Public Methods

public hide(args: ...*): * source

Hide the menu

Params:

NameTypeAttributeDescription
args ...*

Return:

*

public init() source

Initializes the Menu Hyperapp

public show(args: ...*): * source

Show the menu

Params:

NameTypeAttributeDescription
args ...*

Return:

*