import { html } from '@design.estate/dees-element'; import * as plugins from './00plugins.js'; import { DeesContextmenu } from './dees-contextmenu.js'; export const demoFunc = () => html` { DeesContextmenu.openContextMenuWithOptions(eventArg, [ { name: 'copy', iconName: 'copySolid', action: async () => { return null; }, }, { name: 'edit', iconName: 'penToSquare', action: async () => { return null; }, },{ name: 'paste', iconName: 'pasteSolid', action: async () => { return null; }, }, ]); }}>Right-Click for contextmenu {}, }, { name: 'edit', iconName: 'penToSquare', action: async () => {}, },{ name: 'paste', iconName: 'pasteSolid', action: async () => {}, }, ] as plugins.tsclass.website.IMenuItem[]} > `;