kayvanbree / contexr

Stop redundantly defining your shortcuts in your shortcut library and your context menu. Start using Contexr!
MIT License
4 stars 0 forks source link

Corresponding buttons #59

Open kayvanbree opened 5 years ago

kayvanbree commented 5 years ago

Is your feature request related to a problem? Please describe. There should be a way to create buttons that use the same context/actions as the context menu and shortcuts. This way you can have a toolbar with buttons that are available based on context.

Describe the solution you'd like Something with a directive?

<button [ctxButton]="contextItem">
  <i class="{{contextItem.icon}}"></i>
</button>