Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 EXT 面板中创建一个自定义工具。请让我知道如何为我的工具渲染自定义图像。
{类型:'我的工具',
tooltip: 'This is my tool', handler: function(event, toolEl, panel){ //func body }]
这些工具具有类型,例如:
tools:[{ type: 'plus', tooltip: 'some tool', handler: function(event, toolEl, panel){ } }]