forked from quickshell/quickshell
core/variants: restructure Variants to match the design of Repeater
This commit is contained in:
parent
ffbdac9977
commit
48156a55b3
3 changed files with 111 additions and 52 deletions
|
@ -83,12 +83,12 @@ class QuickshellGlobal: public QObject {
|
|||
/// ```qml
|
||||
/// ShellRoot {
|
||||
/// Variants {
|
||||
/// ShellWindow {
|
||||
/// // ...
|
||||
/// }
|
||||
///
|
||||
/// // see Variants for details
|
||||
/// variants: Quickshell.screens.map(screen => ({ screen }))
|
||||
/// variants: Quickshell.screens
|
||||
/// PanelWindow {
|
||||
/// property var modelData
|
||||
/// screen: modelData
|
||||
/// }
|
||||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue