Comments (1)
The props
property works much like the prop
option when doing something like output->button()
in the php. It is a string passed through to the core command function.
ret = this.command_handlers[command](props, obj, event);
it is what gets put into 'props' in the above. For example something like 'mail' in the switch-task
command. The second param which is always passed to the target function (this is part of the rc core code) is obj
which is a reference to the source object. There is also the environmental variable rcmail.env.context_menu_source_id
which contains the ID of the specific element that the context menu was triggered on.
from roundcube-contextmenu.
Related Issues (20)
- Context-menu frontend error HOT 5
- Visual issue with a selected message HOT 2
- Elastic: Menu sometimes does not disappear HOT 3
- Custom menu on a treelist stopped working HOT 1
- Use browser.menus API HOT 2
- Emptying a folder with unread messages via context menu doesn't remove unread message badge HOT 4
- Option to empty a folder containing messages (e.g. Trash) is sometimes greyed out HOT 2
- Add slovak translation HOT 2
- Version check failed HOT 3
- Need help with a bug HOT 2
- Zipdownload menu items not active HOT 2
- PHP Notice in log HOT 1
- Installed correctly but not working... HOT 11
- How to use skip_commands ? HOT 1
- how to turn backgrou menu from oscure almost black to white? HOT 1
- Request HOT 2
- Roundcube 1.5-beta and PHP 8 support HOT 1
- First have to left click HOT 6
- 404 errors trying to fetch plugin css/js (v3.3.1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roundcube-contextmenu.