Skip to content
Commit f58e3053 authored by Nate Graham's avatar Nate Graham
Browse files

ExpandableListItem: deprecate contextmenu and allow actions+custom view

The purpose of this component is to provide visible,
left-click/touch-friendly access to actions contextually relevant to an
item. Allowing items to define context menus was a mistake, as the
existing paradigm of expanding the item to show actions provides the
same functionality in a more consistent and user-friendly way that stays
truer to the component's design.

This commit deprecates the contextMenu: property and allows contextual
items to be defined as well as custom context views; when both are
defined, actions are simply shown above the custom view.

There are no breaking API or ABI changes, and no visual changes to
existing applets that don't define both a contextual actions lists
and a custom context menu.
parent cd0088d8
Pipeline #159149 passed with stage
in 1 minute and 43 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment