1.3.5 (2017-08-09)
- position: Position within viewport instead of body
1.3.4 (2017-07-12)
- hotkey: Ignore hotkeys when focus is in an editable element
1.3.3 (2017-06-30)
- hotkey: ArrowLeft hotkey only active when context menu focused
1.3.2 (2017-06-30)
- hotkey: Hotkeys only active when context menu focused
1.3.1 (2017-06-29)
- bootstrap4: active class set correctly
1.3.0 (2017-06-28)
- hotkey: Keyboard shortcuts to use the context menu
1.2.1 (2017-06-21)
- hotkey: Esc key binding throws error when no context menu visible
1.2.0 (2017-06-12)
- submenus: Add submenus
- autoFocus: Autofocus the context menu ul when it opens
- contextmenu: [disabled] input on
- contextmenu: Close context menu when window is resized
1.1.0 (2017-05-18)
- output: Emit an event on open
1.0.5 (2017-05-18)
- type definitions: Fix some type definition errors
1.0.4 (2017-04-26)
- execute: Handle errors gracefully during menuItem execution
1.0.3 (2017-04-11)
- close: Unsubscribe when closing context menu
1.0.2 (2017-04-11)
- close: Actually fire close event
- item: Allow undefined subject/item
1.0.1 (2017-03-31)
- doc: Remove references to angular2-contextmenu
- styles: Styles should reference the
ngx-contextmenu
class instead ofangular2-contextmenu
1.0.0 (2017-03-31)
- position: Context menu is injected on the root app element to avoid having to compensate for css positioning
- dependencies: Depends on Angular 4+
- template: Use ng-template instead of template
- declarative: No imperative way of declaring context menus. i.e. can't passing
actions
intocontextMenuService.show.next({})
0.8.1 (2017-02-28)
- position: Default to 100x100 size if menuElement is undefined
0.8.0 (2017-02-27)
- passive: Add a passive menuitem that will not close the menu when clicked
0.7.7 (2017-02-10)
- position: Use getComputedStyle to calculate offsetParent style
0.7.6 (2017-02-06)
- position: Don't offset context menu when inside fixed positioned element
0.7.5 (2017-02-01)
- position: Don't offset context menu when inside absolute positioned element
0.7.4 (2017-01-30)
- position: Recover when context menu offsetParent is undefined
0.7.3 (2017-01-27)
- position: Position contextmenu when parent element has 3d transform
0.7.1 (2017-01-18)
- closing: Close context menu with esc key in Safari
0.7.0 (2017-01-05)
- dividers: Add appropriate divider class for bootstrap 4
- position: Position context menu to the left or above the mouse location, if the menu goes outside the body element
- closing: Hide the context menu on escape keydown or window scroll events
0.6.0 (2016-12-08)
- dividers: Add the ability to create dividers in the context menu (c050ae5)
0.5.3 (2016-12-02)
- styles: Remove invisible context menu items from the DOM instead of using [hidden] attribute (1a7121e)
0.5.1 (2016-10-20)
- Add
forRoot
function to globally setuseBootstrap4
0.4.1 (2016-10-12)
- Fix bug
[enabled]
as a function not blocking execution
0.4.0 (2016-10-11)
[contextMenu]
and[contextMenuSubject]
to automate wiring up the context menu[visible]
and[enabled]
can be booleans or functions- Can have multiple context menus per component
0.2.1 (2016-09-12)
- Fix type definition for
ContextMenuService
to makeactions
optional
0.2.0 (2016-09-12)
- Add
ContextMenuItemComponent
for declarative configuration