KDE Visual Design Group/KirigamiHIG/CommandPatterns/OnDemandControls

Jump to: navigation, search

On-Demand Controls

Slide to reveal.png

When to use

Use on-demand controls for actions which directly relate to an element in a list, so they can be executed without selecting the element first (for example deleting or replying to an email right from the list).

How to use

On-demand controls are revealed by sliding a handle from right to left to reveal them, or when hovering over the item with the cursor (on desktop).

  • Do not use on-demand controls as the only means to execute an action, they are only shortcuts.
  • Do not use more than five (ideally not more than three) actions in on-demand controls

Implementation

Use org::kde::kirigami::SwipeListItem


This page was last modified on 16 June 2016, at 15:10. Content is available under Creative Commons License SA 4.0 unless otherwise noted.