2019-09-07 09:16:00 +00:00
|
|
|
# ContextMenu
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```js
|
2019-09-10 12:48:51 +00:00
|
|
|
import { ContextMenu } from "asc-web-components";
|
2019-09-07 09:16:00 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Description
|
|
|
|
|
|
|
|
ContextMenu is used for a call context actions on a page.
|
|
|
|
|
|
|
|
#### Usage
|
|
|
|
|
|
|
|
```js
|
2019-09-10 12:48:51 +00:00
|
|
|
<ContextMenu targetAreaId="rowContainer" options={[]} />
|
2019-09-07 09:16:00 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Properties
|
|
|
|
|
2019-09-10 12:48:51 +00:00
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| -------------- | -------- | :------: | ------ | ------- | ------------------------ |
|
|
|
|
| `options` | `array` | - | - | - | DropDownItems collection |
|
|
|
|
| `targetAreaId` | `string` | - | - | - | Id of container apply to |
|