This is a migrated thread and some comments may be shown as answers.

Add a "other" button with some options

1 Answer 23 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Maxime Bellemare
Top achievements
Rank 2
Maxime Bellemare asked on 02 Mar 2016, 03:23 PM

Hi there,

I'm currently searching for a way to create a button on my Editor toolbar, that would be just one icon (let's say an arrow that point to the bottom) that when I click it, it opens up a menu/list of options formatted with an icon and text.

Something like this :

(icon)
     |_____________________
     | (icon) Reset formatting   |
     
| (icon) Bullet list               |
     
| (icon) Numeral list          |
     
| (icon) Multiple level list   |
     ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

How could we achieve that ? Is there a component that could help us do that or only a component to show/collapse that menu or any idea of a library that we could use ?

Note that we are using Kendo UI with AngularJS

1 Answer, 1 is accepted

Sort by
0
Maxime Bellemare
Top achievements
Rank 2
answered on 02 Mar 2016, 04:01 PM

I have found my answer, the component I was looking for was the kendoContextMenu and hacking it so it opens up on left click.

http://stackoverflow.com/questions/25755867/programmingly-to-open-kendo-context-menu

Tags
Editor
Asked by
Maxime Bellemare
Top achievements
Rank 2
Answers by
Maxime Bellemare
Top achievements
Rank 2
Share this question
or