We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7fc9b3 commit bdc9f94Copy full SHA for bdc9f94
CUSTOMIZE.md
@@ -1,6 +1,6 @@
1
# Using existing HTML to build context menu
2
3
-You can use an existing DOM node as a reference to context menu.
+You can use an existing DOM structure as context menu. You need to pass it as ``rootElement`` reference.
4
5
```html
6
<ul class="context-menu">
@@ -19,10 +19,10 @@ new ContextMenu(null, {
19
});
20
```
21
22
-Existing DOM structure can readily be used as a context menu. However, you can add and customize elements at runtime.
23
-
24
# Adding custom menu items dynamically
25
+You can customize menu elements at any level. Context Builder gives full flexibility to alter and modify menus as per your requirements.
+
26
```js
27
import { ContextMenu, ContextItem } from '@scssyworks/context-builder';
28
0 commit comments