Skip to content

Commit bdc9f94

Browse files
author
Sachin Singh
committed
README updated
1 parent a7fc9b3 commit bdc9f94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CUSTOMIZE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Using existing HTML to build context menu
22

3-
You can use an existing DOM node as a reference to context menu.
3+
You can use an existing DOM structure as context menu. You need to pass it as ``rootElement`` reference.
44

55
```html
66
<ul class="context-menu">
@@ -19,10 +19,10 @@ new ContextMenu(null, {
1919
});
2020
```
2121

22-
Existing DOM structure can readily be used as a context menu. However, you can add and customize elements at runtime.
23-
2422
# Adding custom menu items dynamically
2523

24+
You can customize menu elements at any level. Context Builder gives full flexibility to alter and modify menus as per your requirements.
25+
2626
```js
2727
import { ContextMenu, ContextItem } from '@scssyworks/context-builder';
2828

0 commit comments

Comments
 (0)