Compare commits

..

2 commits

2 changed files with 20 additions and 16 deletions

View file

@ -213,7 +213,7 @@ import QtQuick
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
// the screen from the screens list will be injected into this // the screen from the screens list will be injected into this
// property // property
property var modelData required property var modelData
// we can then set the window's screen to the injected property // we can then set the window's screen to the injected property
screen: modelData screen: modelData
@ -280,7 +280,7 @@ import QtQuick
delegate: @@QtQml.Component { delegate: @@QtQml.Component {
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
property var modelData required property var modelData
screen: modelData screen: modelData
anchors { anchors {
@ -359,7 +359,7 @@ import QtQuick
delegate: @@QtQml.Component { delegate: @@QtQml.Component {
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
property var modelData required property var modelData
screen: modelData screen: modelData
anchors { anchors {
@ -429,7 +429,7 @@ import QtQuick
model: Quickshell.screens model: Quickshell.screens
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
property var modelData required property var modelData
screen: modelData screen: modelData
anchors { anchors {
@ -496,7 +496,7 @@ import QtQuick
model: Quickshell.screens model: Quickshell.screens
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
property var modelData required property var modelData
screen: modelData screen: modelData
anchors { anchors {
@ -574,7 +574,7 @@ import QtQuick
model: Quickshell.screens model: Quickshell.screens
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
property var modelData required property var modelData
screen: modelData screen: modelData
anchors { anchors {
@ -658,7 +658,7 @@ import Quickshell
model: Quickshell.screens model: Quickshell.screens
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
property var modelData required property var modelData
screen: modelData screen: modelData
anchors { anchors {
@ -745,7 +745,7 @@ import Quickshell
model: Quickshell.screens model: Quickshell.screens
@@Quickshell.PanelWindow { @@Quickshell.PanelWindow {
property var modelData required property var modelData
screen: modelData screen: modelData
anchors { anchors {

View file

@ -83,29 +83,33 @@ const details = data.details
<subheading class="typedocs-subheading"> <subheading class="typedocs-subheading">
{details ? <span class="parsedMD" set:html={details}/> : (<span class="toparse">{data.description}</span>)} {details ? <span class="parsedMD" set:html={details}/> : (<span class="toparse">{data.description}</span>)}
</subheading> </subheading>
{ data.properties && propsKeys ? ( { data.properties && propsKeys && propsKeys.length > 0 && (
<h2>Properties <a href="/docs/guide/qml-language#properties">[?]</a></h2>
<Properties <Properties
propsData={data.properties} propsData={data.properties}
propsKeys={propsKeys!} propsKeys={propsKeys!}
/> />
): null} )}
{ data.functions && data.functions.length > 0 ? ( { data.functions && data.functions.length > 0 && (
<h2>Functions <a href="/docs/guide/qml-language#functions">[?]</a></h2>
<Functions <Functions
funcData={data.functions} funcData={data.functions}
/> />
): null} )}
{ data.signals && signalKeys ? ( { data.signals && signalKeys && signalKeys.length > 0 && (
<h2>Signals <a href="/docs/guide/qml-language#signals">[?]</a></h2>
<Signals <Signals
signalsData={data.signals} signalsData={data.signals}
signalKeys={signalKeys} signalKeys={signalKeys}
/> />
):null} )}
{ data.variants && variantKeys ? ( { data.variants && variantKeys && variantKeys.length > 0 && (
<h2>Variants</h2>
<Variants <Variants
variantsData={data.variants} variantsData={data.variants}
variantKeys={variantKeys} variantKeys={variantKeys}
/> />
):null} )}
</section> </section>
) : null ) : null
} }