# Class: ContextMenu

default.ContextMenu

上下文菜单.

# Table of contents

# Constructors

# Methods

# Constructors

# constructor

+ new ContextMenu(opts: ContextMenuOptions): ContextMenu

Creates a new ContextMenu menu

# Parameters
Name Type Description
opts ContextMenuOptions options which build the menu e.g. position and items

Returns: ContextMenu

# Methods

# add

add(item: any): void

Adds item to this ContextMenu menu instance

# Parameters
Name Type Description
item any item to add to the ContextMenu menu

Returns: void


# hide

hide(): void

Hides this ContextMenu menu

Returns: void


# show

show(): void

Makes this ContextMenu menu visible

Returns: void


# toggle

toggle(): void

Toggle visibility of menu

Returns: void

vjmap / Exports / default / Db2dPolyline