diff --git a/example/index.html b/example/index.html
index 87f3798..5c704c1 100644
--- a/example/index.html
+++ b/example/index.html
@@ -74,6 +74,17 @@
Directory Tree
console.log('Is it a file?', event.detail.isFile);
console.log('Node type:', event.detail.nodeType);
});
+
+ treeComponent.contextMenuItems = [
+ {
+ title: 'Open',
+ callback: (filePath, node) => console.log(`Opening ${filePath}`)
+ },
+ {
+ title: 'Delete',
+ callback: (filePath, node) => console.log(`Deleting ${filePath}`)
+ }
+ ];