View Source Modifier Index
accessibilityAction
accessibilityAction(action:label:)
action:event("...")(required)label:ViewReference
See SwiftUI.View/accessibilityAction(action:label:) for more details on this ViewModifier.
Example:
<Element style='accessibilityAction(action: event("action"), label: :label)'>
<Child template="label" />
</Element>def handle_event("action", params, socket)accessibilityActions
accessibilityActions(_:)
content:ViewReference
See SwiftUI.View/accessibilityActions(_:) for more details on this ViewModifier.
Example:
<Element style="accessibilityActions(:content)">
<Child template="content" />
</Element>accessibilityChildren
accessibilityChildren(children:)
children:ViewReference
See SwiftUI.View/accessibilityChildren(children:) for more details on this ViewModifier.
Example:
<Element style="accessibilityChildren(children: :children)">
<Child template="children" />
</Element>accessibilityIgnoresInvertColors
accessibilityIgnoresInvertColors(_:)
active:attr("...")orBool
See SwiftUI.View/accessibilityIgnoresInvertColors(_:) for more details on this ViewModifier.
Example:
<Element style='accessibilityIgnoresInvertColors(attr("active"))' active={@active} />accessibilityRepresentation
accessibilityRepresentation(representation:)
representation:ViewReference
See SwiftUI.View/accessibilityRepresentation(representation:) for more details on this ViewModifier.
Example:
<Element style="accessibilityRepresentation(representation: :representation)">
<Child template="representation" />
</Element>accessibilityShowsLargeContentViewer
accessibilityShowsLargeContentViewer(_:)
largeContentView:ViewReference
See SwiftUI.View/accessibilityShowsLargeContentViewer(_:) for more details on this ViewModifier.
Example:
<Element style="accessibilityShowsLargeContentViewer(:largeContentView)">
<Child template="largeContentView" />
</Element>accessibilityShowsLargeContentViewer()
See SwiftUI.View/accessibilityShowsLargeContentViewer() for more details on this ViewModifier.
Example:
alert
alert(_:isPresented:actions:)
titleKey:SwiftUI/LocalizedStringKey(required)isPresented:attr("...")for aBool(required, change tracked)actions:ViewReference
See SwiftUI.View/alert(_:isPresented:actions:) for more details on this ViewModifier.
Example:
<Element style='alert(_LocalizedStringKey_, isPresented: attr("isPresented"), actions: :actions)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="actions" />
</Element>def handle_event("isPresented-changed", params, socket)alert(_:isPresented:actions:)
title:attr("...")orString(required)isPresented:attr("...")for aBool(required, change tracked)actions:ViewReference
See SwiftUI.View/alert(_:isPresented:actions:) for more details on this ViewModifier.
Example:
<Element style='alert(attr("title"), isPresented: attr("isPresented"), actions: :actions)' title={@title} isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="actions" />
</Element>def handle_event("isPresented-changed", params, socket)alert(_:isPresented:actions:)
title:TextReference(required)isPresented:attr("...")for aBool(required, change tracked)actions:ViewReference
See SwiftUI.View/alert(_:isPresented:actions:) for more details on this ViewModifier.
Example:
<Element style='alert(:title, isPresented: attr("isPresented"), actions: :actions)' isPresented={@isPresented} phx-change="isPresented-changed">
<Text template="title">...</Text>
<Child template="actions" />
</Element>def handle_event("isPresented-changed", params, socket)alert(_:isPresented:actions:message:)
titleKey:SwiftUI/LocalizedStringKey(required)isPresented:attr("...")for aBool(required, change tracked)actions:ViewReferencemessage:ViewReference
See SwiftUI.View/alert(_:isPresented:actions:message:) for more details on this ViewModifier.
Example:
<Element style='alert(_LocalizedStringKey_, isPresented: attr("isPresented"), actions: :actions, message: :message)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="actions" />
<Child template="message" />
</Element>def handle_event("isPresented-changed", params, socket)alert(_:isPresented:actions:message:)
title:attr("...")orString(required)isPresented:attr("...")for aBool(required, change tracked)actions:ViewReferencemessage:ViewReference
See SwiftUI.View/alert(_:isPresented:actions:message:) for more details on this ViewModifier.
Example:
<Element style='alert(attr("title"), isPresented: attr("isPresented"), actions: :actions, message: :message)' title={@title} isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="actions" />
<Child template="message" />
</Element>def handle_event("isPresented-changed", params, socket)alert(_:isPresented:actions:message:)
title:TextReference(required)isPresented:attr("...")for aBool(required, change tracked)actions:ViewReferencemessage:ViewReference
See SwiftUI.View/alert(_:isPresented:actions:message:) for more details on this ViewModifier.
Example:
<Element style='alert(:title, isPresented: attr("isPresented"), actions: :actions, message: :message)' isPresented={@isPresented} phx-change="isPresented-changed">
<Text template="title">...</Text>
<Child template="actions" />
<Child template="message" />
</Element>def handle_event("isPresented-changed", params, socket)alert(isPresented:error:actions:)
isPresented:attr("...")for aBool(required, change tracked)error:AnyLocalizedError(required)actions:ViewReference
See SwiftUI.View/alert(isPresented:error:actions:) for more details on this ViewModifier.
Example:
<Element style='alert(isPresented: attr("isPresented"), error: _AnyLocalizedError_, actions: :actions)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="actions" />
</Element>def handle_event("isPresented-changed", params, socket)allowsHitTesting
allowsHitTesting(_:)
enabled:attr("...")orBool(required)
See SwiftUI.View/allowsHitTesting(_:) for more details on this ViewModifier.
Example:
<Element style='allowsHitTesting(attr("enabled"))' enabled={@enabled} />allowsWindowActivationEvents
autocapitalization
autocorrectionDisabled
autocorrectionDisabled(_:)
disable:attr("...")orBool
See SwiftUI.View/autocorrectionDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='autocorrectionDisabled(attr("disable"))' disable={@disable} />badge
Badge(_:)
count:attr("...")orInt(required)
See SwiftUI.View/badge(_:) for more details on this ViewModifier.
Example:
<Element style='badge(attr("count"))' count={@count} />badge(_:)
label:TextReferenceornil(required)
See SwiftUI.View/badge(_:) for more details on this ViewModifier.
Example:
<Element style="badge(:label)">
<Text template="label">...</Text>
</Element>badge(_:)
key:SwiftUI/LocalizedStringKeyornil(required)
See SwiftUI.View/badge(_:) for more details on this ViewModifier.
Example:
badge(_:)
label:attr("...")orString(required)
See SwiftUI.View/badge(_:) for more details on this ViewModifier.
Example:
<Element style='badge(attr("label"))' label={@label} />badgeProminence
badgeProminence(_:)
prominence:BadgeProminence(required)
See SwiftUI.View/badgeProminence(_:) for more details on this ViewModifier.
Example:
baselineOffset
baselineOffset(_:)
baselineOffset:attr("...")orCGFloat(required)
See SwiftUI.View/baselineOffset(_:) for more details on this ViewModifier.
Example:
<Element style='baselineOffset(attr("baselineOffset"))' baselineOffset={@baselineOffset} />bold
Bold(_:)
isActive:attr("...")orBool
See SwiftUI.View/bold(_:) for more details on this ViewModifier.
Example:
<Element style='bold(attr("isActive"))' isActive={@isActive} />buttonBorderShape
buttonBorderShape(_:)
shape:ButtonBorderShape(required)
See SwiftUI.View/buttonBorderShape(_:) for more details on this ViewModifier.
Example:
buttonStyle
buttonStyle(_:)
style:AnyPrimitiveButtonStyle(required)
See SwiftUI.View/buttonStyle(_:) for more details on this ViewModifier.
Example:
buttonStyle(_:)
style:AnyButtonStyle(required)
See SwiftUI.View/buttonStyle(_:) for more details on this ViewModifier.
Example:
confirmationDialog
confirmationDialog(_:isPresented:titleVisibility:actions:)
titleKey:SwiftUI/LocalizedStringKey(required)isPresented:attr("...")for aBool(required, change tracked)titleVisibility:attr("...")orSwiftUI/Visibilityactions:ViewReference
See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:) for more details on this ViewModifier.
Example:
<Element style='confirmationDialog(_LocalizedStringKey_, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
<Child template="actions" />
</Element>def handle_event("isPresented-changed", params, socket)confirmationDialog(_:isPresented:titleVisibility:actions:)
title:attr("...")orString(required)isPresented:attr("...")for aBool(required, change tracked)titleVisibility:attr("...")orSwiftUI/Visibilityactions:ViewReference
See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:) for more details on this ViewModifier.
Example:
<Element style='confirmationDialog(attr("title"), isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions)' title={@title} isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
<Child template="actions" />
</Element>def handle_event("isPresented-changed", params, socket)confirmationDialog(_:isPresented:titleVisibility:actions:)
title:TextReference(required)isPresented:attr("...")for aBool(required, change tracked)titleVisibility:attr("...")orSwiftUI/Visibilityactions:ViewReference
See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:) for more details on this ViewModifier.
Example:
<Element style='confirmationDialog(:title, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
<Text template="title">...</Text>
<Child template="actions" />
</Element>def handle_event("isPresented-changed", params, socket)confirmationDialog(_:isPresented:titleVisibility:actions:message:)
titleKey:SwiftUI/LocalizedStringKey(required)isPresented:attr("...")for aBool(required, change tracked)titleVisibility:attr("...")orSwiftUI/Visibilityactions:ViewReferencemessage:ViewReference
See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:message:) for more details on this ViewModifier.
Example:
<Element style='confirmationDialog(_LocalizedStringKey_, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions, message: :message)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
<Child template="actions" />
<Child template="message" />
</Element>def handle_event("isPresented-changed", params, socket)confirmationDialog(_:isPresented:titleVisibility:actions:message:)
title:attr("...")orString(required)isPresented:attr("...")for aBool(required, change tracked)titleVisibility:attr("...")orSwiftUI/Visibilityactions:ViewReferencemessage:ViewReference
See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:message:) for more details on this ViewModifier.
Example:
<Element style='confirmationDialog(attr("title"), isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions, message: :message)' title={@title} isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
<Child template="actions" />
<Child template="message" />
</Element>def handle_event("isPresented-changed", params, socket)confirmationDialog(_:isPresented:titleVisibility:actions:message:)
title:TextReference(required)isPresented:attr("...")for aBool(required, change tracked)titleVisibility:attr("...")orSwiftUI/Visibilityactions:ViewReferencemessage:ViewReference
See SwiftUI.View/confirmationDialog(_:isPresented:titleVisibility:actions:message:) for more details on this ViewModifier.
Example:
<Element style='confirmationDialog(:title, isPresented: attr("isPresented"), titleVisibility: attr("titleVisibility"), actions: :actions, message: :message)' isPresented={@isPresented} titleVisibility={@titleVisibility} phx-change="isPresented-changed">
<Text template="title">...</Text>
<Child template="actions" />
<Child template="message" />
</Element>def handle_event("isPresented-changed", params, socket)containerRelativeFrame
containerRelativeFrame(_:alignment:)
axes:SwiftUI/Axis/Set(required)alignment:attr("...")orSwiftUI/Alignment
See SwiftUI.View/containerRelativeFrame(_:alignment:) for more details on this ViewModifier.
Example:
<Element style='containerRelativeFrame(_Set_, alignment: attr("alignment"))' alignment={@alignment} />containerRelativeFrame(_:count:span:spacing:alignment:)
axes:SwiftUI/Axis/Set(required)count:attr("...")orInt(required)span:attr("...")orIntspacing:attr("...")orCGFloat(required)alignment:attr("...")orSwiftUI/Alignment
See SwiftUI.View/containerRelativeFrame(_:count:span:spacing:alignment:) for more details on this ViewModifier.
Example:
<Element style='containerRelativeFrame(_Set_, count: attr("count"), span: attr("span"), spacing: attr("spacing"), alignment: attr("alignment"))' count={@count} span={@span} spacing={@spacing} alignment={@alignment} />contentMargins
contentMargins(::for:)
edges:SwiftUI/Edge/Setinsets:SwiftUI/EdgeInsets(required)for:ContentMarginPlacement
See SwiftUI.View/contentMargins(_:_:for:) for more details on this ViewModifier.
Example:
contentMargins(::for:)
edges:SwiftUI/Edge/Setlength:attr("...")orCGFloatornil(required)for:ContentMarginPlacement
See SwiftUI.View/contentMargins(_:_:for:) for more details on this ViewModifier.
Example:
<Element style='contentMargins(_Set_, attr("length"), for: .automatic)' length={@length} />contentMargins(_:for:)
length:attr("...")orCGFloat(required)for:ContentMarginPlacement
See SwiftUI.View/contentMargins(_:for:) for more details on this ViewModifier.
Example:
<Element style='contentMargins(attr("length"), for: .automatic)' length={@length} />contentShape
contentShape(_:eoFill:)
shape:AnyShape(required)eoFill:attr("...")orBool
See SwiftUI.View/contentShape(_:eoFill:) for more details on this ViewModifier.
Example:
<Element style='contentShape(_AnyShape_, eoFill: attr("eoFill"))' eoFill={@eoFill} />contentShape(::eoFill:)
kind:SwiftUI/ContentShapeKinds(required)shape:AnyShape(required)eoFill:attr("...")orBool
See SwiftUI.View/contentShape(_:_:eoFill:) for more details on this ViewModifier.
Example:
<Element style='contentShape(.interaction, _AnyShape_, eoFill: attr("eoFill"))' eoFill={@eoFill} />contextMenu
contextMenu(menuItems:)
menuItems:ViewReference
See SwiftUI.View/contextMenu(menuItems:) for more details on this ViewModifier.
Example:
<Element style="contextMenu(menuItems: :menuItems)">
<Child template="menuItems" />
</Element>contextMenu(menuItems:preview:)
menuItems:ViewReferencepreview:ViewReference
See SwiftUI.View/contextMenu(menuItems:preview:) for more details on this ViewModifier.
Example:
<Element style="contextMenu(menuItems: :menuItems, preview: :preview)">
<Child template="menuItems" />
<Child template="preview" />
</Element>controlGroupStyle
controlGroupStyle(_:)
style:AnyControlGroupStyle(required)
See SwiftUI.View/controlGroupStyle(_:) for more details on this ViewModifier.
Example:
coordinateSpace
coordinateSpace(_:)
name:SwiftUI/NamedCoordinateSpace(required)
See SwiftUI.View/coordinateSpace(_:) for more details on this ViewModifier.
Example:
datePickerStyle
datePickerStyle(_:)
style:AnyDatePickerStyle(required)
See SwiftUI.View/datePickerStyle(_:) for more details on this ViewModifier.
Example:
defaultAdaptableTabBarPlacement
defaultHoverEffect
defaultHoverEffect(_:)
effect:HoverEffectornil(required)
See SwiftUI.View/defaultHoverEffect(_:) for more details on this ViewModifier.
Example:
defaultScrollAnchor
defaultScrollAnchor(_:)
anchor:attr("...")orSwiftUI/UnitPointornil(required)
See SwiftUI.View/defaultScrollAnchor(_:) for more details on this ViewModifier.
Example:
<Element style='defaultScrollAnchor(attr("anchor"))' anchor={@anchor} />defaultWheelPickerItemHeight
defaultWheelPickerItemHeight(_:)
height:attr("...")orCGFloat(required)
See SwiftUI.View/defaultWheelPickerItemHeight(_:) for more details on this ViewModifier.
Example:
<Element style='defaultWheelPickerItemHeight(attr("height"))' height={@height} />defersSystemGestures
defersSystemGestures(on:)
on:SwiftUI/Edge/Set(required)
See SwiftUI.View/defersSystemGestures(on:) for more details on this ViewModifier.
Example:
deleteDisabled
deleteDisabled(_:)
isDisabled:attr("...")orBool(required)
See SwiftUI.View/deleteDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='deleteDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />dialogSuppressionToggle
dialogSuppressionToggle(_:isSuppressed:)
titleKey:SwiftUI/LocalizedStringKey(required)isSuppressed:attr("...")for aBool(required, change tracked)
See SwiftUI.View/dialogSuppressionToggle(_:isSuppressed:) for more details on this ViewModifier.
Example:
<Element style='dialogSuppressionToggle(_LocalizedStringKey_, isSuppressed: attr("isSuppressed"))' isSuppressed={@isSuppressed} phx-change="isSuppressed-changed" />def handle_event("isSuppressed-changed", params, socket)dialogSuppressionToggle(_:isSuppressed:)
title:attr("...")orString(required)isSuppressed:attr("...")for aBool(required, change tracked)
See SwiftUI.View/dialogSuppressionToggle(_:isSuppressed:) for more details on this ViewModifier.
Example:
<Element style='dialogSuppressionToggle(attr("title"), isSuppressed: attr("isSuppressed"))' title={@title} isSuppressed={@isSuppressed} phx-change="isSuppressed-changed" />def handle_event("isSuppressed-changed", params, socket)dialogSuppressionToggle(_:isSuppressed:)
label:TextReference(required)isSuppressed:attr("...")for aBool(required, change tracked)
See SwiftUI.View/dialogSuppressionToggle(_:isSuppressed:) for more details on this ViewModifier.
Example:
<Element style='dialogSuppressionToggle(:label, isSuppressed: attr("isSuppressed"))' isSuppressed={@isSuppressed} phx-change="isSuppressed-changed">
<Text template="label">...</Text>
</Element>def handle_event("isSuppressed-changed", params, socket)dialogSuppressionToggle(isSuppressed:)
isSuppressed:attr("...")for aBool(required, change tracked)
See SwiftUI.View/dialogSuppressionToggle(isSuppressed:) for more details on this ViewModifier.
Example:
<Element style='dialogSuppressionToggle(isSuppressed: attr("isSuppressed"))' isSuppressed={@isSuppressed} phx-change="isSuppressed-changed" />def handle_event("isSuppressed-changed", params, socket)digitalCrownAccessory
digitalCrownAccessory(content:)
content:ViewReference
See SwiftUI.View/digitalCrownAccessory(content:) for more details on this ViewModifier.
Example:
<Element style="digitalCrownAccessory(content: :content)">
<Child template="content" />
</Element>digitalCrownAccessory(_:)
visibility:attr("...")orSwiftUI/Visibility(required)
See SwiftUI.View/digitalCrownAccessory(_:) for more details on this ViewModifier.
Example:
<Element style='digitalCrownAccessory(attr("visibility"))' visibility={@visibility} />disableAutocorrection
dismissalConfirmationDialog
fileDialogCustomizationID
fileDialogCustomizationID(_:)
id:attr("...")orString(required)
See SwiftUI.View/fileDialogCustomizationID(_:) for more details on this ViewModifier.
Example:
<Element style='fileDialogCustomizationID(attr("id"))' id={@id} />fileDialogImportsUnresolvedAliases
fileDialogImportsUnresolvedAliases(_:)
imports:attr("...")orBool(required)
See SwiftUI.View/fileDialogImportsUnresolvedAliases(_:) for more details on this ViewModifier.
Example:
<Element style='fileDialogImportsUnresolvedAliases(attr("imports"))' imports={@imports} />fileImporter
fileImporter(isPresented:allowedContentTypes:allowsMultipleSelection:onCompletion:)
isPresented:attr("...")(required)allowedContentTypes:attr("...")or list ofUTType(required)allowsMultipleSelection:attr("...")orBool(required)
See SwiftUI.View/fileImporter(isPresented:allowedContentTypes:allowsMultipleSelection:onCompletion:) for more details on this ViewModifier.
Example:
<.live_file_input upload={@uploads.avatar} />fill
Fill(_:Style:)
content:SwiftUI/AnyShapeStylestyle:SwiftUI/FillStyle
See SwiftUI.Shape/fill(_:style:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fill(AnyShapeStyle, style: FillStyle)
endfindDisabled
findDisabled(_:)
isDisabled:attr("...")orBool
See SwiftUI.View/findDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='findDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />findNavigator
findNavigator(isPresented:)
isPresented:attr("...")for aBool(required, change tracked)
See SwiftUI.View/findNavigator(isPresented:) for more details on this ViewModifier.
Example:
<Element style='findNavigator(isPresented: attr("isPresented"))' isPresented={@isPresented} phx-change="isPresented-changed" />def handle_event("isPresented-changed", params, socket)flipsForRightToLeftLayoutDirection
flipsForRightToLeftLayoutDirection(_:)
enabled:attr("...")orBool(required)
See SwiftUI.View/flipsForRightToLeftLayoutDirection(_:) for more details on this ViewModifier.
Example:
<Element style='flipsForRightToLeftLayoutDirection(attr("enabled"))' enabled={@enabled} />focusEffectDisabled
focusEffectDisabled(_:)
disabled:attr("...")orBool
See SwiftUI.View/focusEffectDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='focusEffectDisabled(attr("disabled"))' disabled={@disabled} />focusScope
focusScope(_:)
namespace:attr("...")orString(required)
See SwiftUI.View/focusScope(_:) for more details on this ViewModifier.
Example:
<Element style='focusScope(attr("namespace"))' namespace={@namespace} />focusSection
focusSection()
See SwiftUI.View/focusSection() for more details on this ViewModifier.
Example:
focusable
Focusable(_:)
isFocusable:attr("...")orBool
See SwiftUI.View/focusable(_:) for more details on this ViewModifier.
Example:
<Element style='focusable(attr("isFocusable"))' isFocusable={@isFocusable} />focusable(_:interactions:)
isFocusable:attr("...")orBoolinteractions:FocusInteractions(required)
See SwiftUI.View/focusable(_:interactions:) for more details on this ViewModifier.
Example:
<Element style='focusable(attr("isFocusable"), interactions: .activate)' isFocusable={@isFocusable} />font
Font(_:)
font:SwiftUI/Fontornil
See SwiftUI.View/font(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
font(.body)
endfontDesign
fontDesign(_:)
design:SwiftUI/Font/Designornil
See SwiftUI.View/fontDesign(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontDesign(.default)
endfontWeight
fontWeight(_:)
weight:SwiftUI/Font/Weightornil
See SwiftUI.View/fontWeight(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontWeight(.ultraLight)
endfontWidth
fontWidth(_:)
width:SwiftUI/Font/Widthornil
See SwiftUI.View/fontWidth(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontWidth(.compressed)
endforegroundStyle
foregroundStyle(_:)
style:SwiftUI/AnyShapeStyle(required)
See SwiftUI.View/foregroundStyle(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
foregroundStyle(AnyShapeStyle)
endforegroundStyle(::)
primary:SwiftUI/AnyShapeStyle(required)secondary:SwiftUI/AnyShapeStyle(required)
See SwiftUI.View/foregroundStyle(_:_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
foregroundStyle(AnyShapeStyle, AnyShapeStyle)
endforegroundStyle(::_:)
primary:SwiftUI/AnyShapeStyle(required)secondary:SwiftUI/AnyShapeStyle(required)tertiary:SwiftUI/AnyShapeStyle(required)
See SwiftUI.View/foregroundStyle(_:_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
foregroundStyle(AnyShapeStyle, AnyShapeStyle, AnyShapeStyle)
endformStyle
formStyle(_:)
style:AnyFormStyle(required)
See SwiftUI.View/formStyle(_:) for more details on this ViewModifier.
Example:
frame
Frame(Depth:Alignment:)
depth:attr("...")orCGFloatornil(required)alignment:SwiftUI/DepthAlignment
See SwiftUI.View/frame(depth:alignment:) for more details on this ViewModifier.
Example:
<Element style='frame(depth: attr("depth"), alignment: _DepthAlignment_)' depth={@depth} />frame(minDepth:idealDepth:maxDepth:alignment:)
minDepth:attr("...")orCGFloatornilidealDepth:attr("...")orCGFloatornilmaxDepth:attr("...")orCGFloatornilalignment:SwiftUI/DepthAlignment
See SwiftUI.View/frame(minDepth:idealDepth:maxDepth:alignment:) for more details on this ViewModifier.
Example:
<Element style='frame(minDepth: attr("minDepth"), idealDepth: attr("idealDepth"), maxDepth: attr("maxDepth"), alignment: _DepthAlignment_)' minDepth={@minDepth} idealDepth={@idealDepth} maxDepth={@maxDepth} />frame(width:height:alignment:)
width:attr("...")orCGFloatornilheight:attr("...")orCGFloatornilalignment:attr("...")orSwiftUI/Alignment
See SwiftUI.View/frame(width:height:alignment:) for more details on this ViewModifier.
Example:
<Element style='frame(width: attr("width"), height: attr("height"), alignment: attr("alignment"))' width={@width} height={@height} alignment={@alignment} />frame()
See SwiftUI.View/frame() for more details on this ViewModifier.
Example:
frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)
minWidth:attr("...")orCGFloatornilidealWidth:attr("...")orCGFloatornilmaxWidth:attr("...")orCGFloatornilminHeight:attr("...")orCGFloatornilidealHeight:attr("...")orCGFloatornilmaxHeight:attr("...")orCGFloatornilalignment:attr("...")orSwiftUI/Alignment
See SwiftUI.View/frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:) for more details on this ViewModifier.
Example:
<Element style='frame(minWidth: attr("minWidth"), idealWidth: attr("idealWidth"), maxWidth: attr("maxWidth"), minHeight: attr("minHeight"), idealHeight: attr("idealHeight"), maxHeight: attr("maxHeight"), alignment: attr("alignment"))' minWidth={@minWidth} idealWidth={@idealWidth} maxWidth={@maxWidth} minHeight={@minHeight} idealHeight={@idealHeight} maxHeight={@maxHeight} alignment={@alignment} />fullScreenCover
fullScreenCover(isPresented:onDismiss:content:)
isPresented:attr("...")for aBool(required, change tracked)onDismiss:event("...")content:ViewReference
See SwiftUI.View/fullScreenCover(isPresented:onDismiss:content:) for more details on this ViewModifier.
Example:
<Element style='fullScreenCover(isPresented: attr("isPresented"), onDismiss: event("onDismiss"), content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="content" />
</Element>def handle_event("onDismiss", params, socket)
def handle_event("isPresented-changed", params, socket)gaugeStyle
gaugeStyle(_:)
style:AnyGaugeStyle(required)
See SwiftUI.View/gaugeStyle(_:) for more details on this ViewModifier.
Example:
glassBackgroundEffect
glassBackgroundEffect(displayMode:)
displayMode:SwiftUI/GlassBackgroundDisplayMode
See SwiftUI.View/glassBackgroundEffect(displayMode:) for more details on this ViewModifier.
Example:
glassBackgroundEffect(in:displayMode:)
in:AnyInsettableShape(required)displayMode:SwiftUI/GlassBackgroundDisplayMode
See SwiftUI.View/glassBackgroundEffect(in:displayMode:) for more details on this ViewModifier.
Example:
gridCellAnchor
gridCellAnchor(_:)
anchor:attr("...")orSwiftUI/UnitPoint(required)
See SwiftUI.View/gridCellAnchor(_:) for more details on this ViewModifier.
Example:
<Element style='gridCellAnchor(attr("anchor"))' anchor={@anchor} />gridCellColumns
gridCellColumns(_:)
count:attr("...")orInt(required)
See SwiftUI.View/gridCellColumns(_:) for more details on this ViewModifier.
Example:
<Element style='gridCellColumns(attr("count"))' count={@count} />gridCellUnsizedAxes
gridCellUnsizedAxes(_:)
axes:SwiftUI/Axis/Set(required)
See SwiftUI.View/gridCellUnsizedAxes(_:) for more details on this ViewModifier.
Example:
gridColumnAlignment
gridColumnAlignment(_:)
guide:attr("...")orSwiftUI/HorizontalAlignment(required)
See SwiftUI.View/gridColumnAlignment(_:) for more details on this ViewModifier.
Example:
<Element style='gridColumnAlignment(attr("guide"))' guide={@guide} />groupBoxStyle
groupBoxStyle(_:)
style:AnyGroupBoxStyle(required)
See SwiftUI.View/groupBoxStyle(_:) for more details on this ViewModifier.
Example:
handGestureShortcut
handPointerBehavior
help
Help(_:)
textKey:SwiftUI/LocalizedStringKey(required)
See SwiftUI.View/help(_:) for more details on this ViewModifier.
Example:
help(_:)
text:TextReference(required)
See SwiftUI.View/help(_:) for more details on this ViewModifier.
Example:
<Element style="help(:text)">
<Text template="text">...</Text>
</Element>help(_:)
text:attr("...")orString(required)
See SwiftUI.View/help(_:) for more details on this ViewModifier.
Example:
<Element style='help(attr("text"))' text={@text} />hidden
Hidden()
See SwiftUI.View/hidden() for more details on this ViewModifier.
Example:
horizontalRadioGroupLayout
horizontalRadioGroupLayout()
See SwiftUI.View/horizontalRadioGroupLayout() for more details on this ViewModifier.
Example:
hoverEffect
hoverEffect(_:)
effect:HoverEffect
See SwiftUI.View/hoverEffect(_:) for more details on this ViewModifier.
Example:
hoverEffect(_:isEnabled:)
effect:HoverEffectisEnabled:attr("...")orBool
See SwiftUI.View/hoverEffect(_:isEnabled:) for more details on this ViewModifier.
Example:
<Element style='hoverEffect(.automatic, isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />hoverEffectDisabled
hoverEffectDisabled(_:)
disabled:attr("...")orBool
See SwiftUI.View/hoverEffectDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='hoverEffectDisabled(attr("disabled"))' disabled={@disabled} />hoverEffectGroup
immersiveEnvironmentPicker
indexViewStyle
indexViewStyle(_:)
style:AnyIndexViewStyle(required)
See SwiftUI.View/indexViewStyle(_:) for more details on this ViewModifier.
Example:
inspector
inspector(isPresented:content:)
isPresented:attr("...")for aBool(required, change tracked)content:ViewReference
See SwiftUI.View/inspector(isPresented:content:) for more details on this ViewModifier.
Example:
<Element style='inspector(isPresented: attr("isPresented"), content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="content" />
</Element>def handle_event("isPresented-changed", params, socket)inspectorColumnWidth
inspectorColumnWidth(min:ideal:max:)
min:attr("...")orCGFloatornilideal:attr("...")orCGFloat(required)max:attr("...")orCGFloatornil
See SwiftUI.View/inspectorColumnWidth(min:ideal:max:) for more details on this ViewModifier.
Example:
<Element style='inspectorColumnWidth(min: attr("min"), ideal: attr("ideal"), max: attr("max"))' min={@min} ideal={@ideal} max={@max} />inspectorColumnWidth(_:)
width:attr("...")orCGFloat(required)
See SwiftUI.View/inspectorColumnWidth(_:) for more details on this ViewModifier.
Example:
<Element style='inspectorColumnWidth(attr("width"))' width={@width} />interactionActivityTrackingTag
interactionActivityTrackingTag(_:)
tag:attr("...")orString(required)
See SwiftUI.View/interactionActivityTrackingTag(_:) for more details on this ViewModifier.
Example:
<Element style='interactionActivityTrackingTag(attr("tag"))' tag={@tag} />interactiveDismissDisabled
interactiveDismissDisabled(_:)
isDisabled:attr("...")orBool
See SwiftUI.View/interactiveDismissDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='interactiveDismissDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />intersection
intersection(_:eoFill:)
other:SwiftUI/AnyShape(required)eoFill:Bool
See SwiftUI.Shape/intersection(_:eoFill:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
intersection(.rect, eoFill: false)
endinvalidatableContent
invalidatableContent(_:)
invalidatable:attr("...")orBool
See SwiftUI.View/invalidatableContent(_:) for more details on this ViewModifier.
Example:
<Element style='invalidatableContent(attr("invalidatable"))' invalidatable={@invalidatable} />italic
Italic(_:)
isActive:attr("...")orBool
See SwiftUI.View/italic(_:) for more details on this ViewModifier.
Example:
<Element style='italic(attr("isActive"))' isActive={@isActive} />kerning
Kerning(_:)
kerning:attr("...")orCGFloat(required)
See SwiftUI.View/kerning(_:) for more details on this ViewModifier.
Example:
<Element style='kerning(attr("kerning"))' kerning={@kerning} />keyboardShortcut
keyboardShortcut(_:modifiers:)
key:KeyEquivalent(required)modifiers:SwiftUI/EventModifiers
See SwiftUI.View/keyboardShortcut(_:modifiers:) for more details on this ViewModifier.
Example:
keyboardShortcut(_:)
shortcut:KeyboardShortcut(required)
See SwiftUI.View/keyboardShortcut(_:) for more details on this ViewModifier.
Example:
keyboardShortcut(_:)
shortcut:KeyboardShortcutornil(required)
See SwiftUI.View/keyboardShortcut(_:) for more details on this ViewModifier.
Example:
keyboardShortcut(_:modifiers:localization:)
key:KeyEquivalent(required)modifiers:SwiftUI/EventModifierslocalization:KeyboardShortcut.Localization(required)
See SwiftUI.View/keyboardShortcut(_:modifiers:localization:) for more details on this ViewModifier.
Example:
keyboardType
keyboardType(_:)
type:UIKeyboardType(required)
See SwiftUI.View/keyboardType(_:) for more details on this ViewModifier.
Example:
labelStyle
labelStyle(_:)
style:AnyLabelStyle(required)
See SwiftUI.View/labelStyle(_:) for more details on this ViewModifier.
Example:
labeledContentStyle
labeledContentStyle(_:)
style:AnyLabeledContentStyle(required)
See SwiftUI.View/labeledContentStyle(_:) for more details on this ViewModifier.
Example:
labelsHidden
labelsHidden()
See SwiftUI.View/labelsHidden() for more details on this ViewModifier.
Example:
labelsVisibility
lineIntersection
lineIntersection(_:eoFill:)
other:SwiftUI/AnyShape(required)eoFill:Bool
See SwiftUI.Shape/lineIntersection(_:eoFill:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
lineIntersection(.rect, eoFill: false)
endlineSubtraction
lineSubtraction(_:eoFill:)
other:SwiftUI/AnyShape(required)eoFill:Bool
See SwiftUI.Shape/lineSubtraction(_:eoFill:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
lineSubtraction(.rect, eoFill: false)
endlistItemTint
listItemTint(_:)
tint:ListItemTint/Resolvableornil(required)
See SwiftUI.View/listItemTint(_:) for more details on this ViewModifier.
Example:
listItemTint(_:)
tint:Color/Resolvableornil(required)
See SwiftUI.View/listItemTint(_:) for more details on this ViewModifier.
Example:
listRowBackground
listRowBackground(_:)
view:InlineViewReference(required)
See SwiftUI.View/listRowBackground(_:) for more details on this ViewModifier.
Example:
listRowHoverEffect
listRowHoverEffect(_:)
effect:HoverEffectornil(required)
See SwiftUI.View/listRowHoverEffect(_:) for more details on this ViewModifier.
Example:
listRowHoverEffectDisabled
listRowHoverEffectDisabled(_:)
disabled:attr("...")orBool
See SwiftUI.View/listRowHoverEffectDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='listRowHoverEffectDisabled(attr("disabled"))' disabled={@disabled} />listRowInsets
listRowInsets(_:)
insets:SwiftUI/EdgeInsetsornil(required)
See SwiftUI.View/listRowInsets(_:) for more details on this ViewModifier.
Example:
listRowPlatterColor
listRowSeparator
listRowSeparator(_:edges:)
visibility:attr("...")orSwiftUI/Visibility(required)edges:SwiftUI/VerticalEdge/Set
See SwiftUI.View/listRowSeparator(_:edges:) for more details on this ViewModifier.
Example:
<Element style='listRowSeparator(attr("visibility"), edges: _Set_)' visibility={@visibility} />listRowSeparatorTint
listRowSeparatorTint(_:edges:)
color:Color/Resolvableornil(required)edges:SwiftUI/VerticalEdge/Set
See SwiftUI.View/listRowSeparatorTint(_:edges:) for more details on this ViewModifier.
Example:
listRowSpacing
listRowSpacing(_:)
spacing:attr("...")orCGFloatornil(required)
See SwiftUI.View/listRowSpacing(_:) for more details on this ViewModifier.
Example:
<Element style='listRowSpacing(attr("spacing"))' spacing={@spacing} />listSectionSeparator
listSectionSeparator(_:edges:)
visibility:attr("...")orSwiftUI/Visibility(required)edges:SwiftUI/VerticalEdge/Set
See SwiftUI.View/listSectionSeparator(_:edges:) for more details on this ViewModifier.
Example:
<Element style='listSectionSeparator(attr("visibility"), edges: _Set_)' visibility={@visibility} />listSectionSeparatorTint
listSectionSeparatorTint(_:edges:)
color:Color/Resolvableornil(required)edges:SwiftUI/VerticalEdge/Set
See SwiftUI.View/listSectionSeparatorTint(_:edges:) for more details on this ViewModifier.
Example:
listSectionSpacing
listSectionSpacing(_:)
spacing:ListSectionSpacing(required)
See SwiftUI.View/listSectionSpacing(_:) for more details on this ViewModifier.
Example:
listSectionSpacing(_:)
spacing:attr("...")orCGFloat(required)
See SwiftUI.View/listSectionSpacing(_:) for more details on this ViewModifier.
Example:
<Element style='listSectionSpacing(attr("spacing"))' spacing={@spacing} />listStyle
listStyle(_:)
style:AnyListStyle(required)
See SwiftUI.View/listStyle(_:) for more details on this ViewModifier.
Example:
mask
Mask(Alignment:Mask:)
alignment:SwiftUI/Alignmentmask:ViewReference(required)
See SwiftUI.View/mask(alignment:mask:) for more details on this ViewModifier.
Example:
<Element style='mask(alignment: .center, mask: :mask)'>
<Child template="mask" />
</Element>matchedGeometryEffect
matchedGeometryEffect(id:in:properties:anchor:isSource:)
id:attr("...")orString(required)in:attr("...")orString(required)properties:SwiftUI/MatchedGeometryPropertiesanchor:SwiftUI/UnitPointisSource:attr("...")orBool
See SwiftUI.View/matchedGeometryEffect(id:in:properties:anchor:isSource:) for more details on this ViewModifier.
Example:
<Element style='matchedGeometryEffect(id: attr("id"), in: attr("namespace"), properties: .frame, anchor: .center, isSource: attr("isSource"))' id={@id} namespace={@namespace} isSource={@isSource} />matchedTransitionSource
menuIndicator
menuIndicator(_:)
visibility:attr("...")orSwiftUI/Visibility(required)
See SwiftUI.View/menuIndicator(_:) for more details on this ViewModifier.
Example:
<Element style='menuIndicator(attr("visibility"))' visibility={@visibility} />menuOrder
menuOrder(_:)
order:MenuOrder(required)
See SwiftUI.View/menuOrder(_:) for more details on this ViewModifier.
Example:
menuStyle
menuStyle(_:)
style:AnyMenuStyle(required)
See SwiftUI.View/menuStyle(_:) for more details on this ViewModifier.
Example:
modifierKeyAlternate
monospaced
Monospaced(_:)
isActive:attr("...")orBool
See SwiftUI.View/monospaced(_:) for more details on this ViewModifier.
Example:
<Element style='monospaced(attr("isActive"))' isActive={@isActive} />monospacedDigit
monospacedDigit()
See SwiftUI.View/monospacedDigit() for more details on this ViewModifier.
Example:
# stylesheet
"example" do
monospacedDigit()
endmoveDisabled
moveDisabled(_:)
isDisabled:attr("...")orBool(required)
See SwiftUI.View/moveDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='moveDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />navigationBarBackButtonHidden
navigationBarBackButtonHidden(_:)
hidesBackButton:attr("...")orBool
See SwiftUI.View/navigationBarBackButtonHidden(_:) for more details on this ViewModifier.
Example:
<Element style='navigationBarBackButtonHidden(attr("hidesBackButton"))' hidesBackButton={@hidesBackButton} />navigationBarHidden
navigationBarItems
navigationBarTitle
navigationBarTitleDisplayMode
navigationBarTitleDisplayMode(_:)
displayMode:NavigationBarItem.TitleDisplayMode(required)
See SwiftUI.View/navigationBarTitleDisplayMode(_:) for more details on this ViewModifier.
Example:
navigationDestination
navigationDestination(isPresented:destination:)
isPresented:attr("...")for aBool(required, change tracked)destination:ViewReference
See SwiftUI.View/navigationDestination(isPresented:destination:) for more details on this ViewModifier.
Example:
<Element style='navigationDestination(isPresented: attr("isPresented"), destination: :destination)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="destination" />
</Element>def handle_event("isPresented-changed", params, socket)navigationSplitViewColumnWidth
navigationSplitViewColumnWidth(_:)
width:attr("...")orCGFloat(required)
See SwiftUI.View/navigationSplitViewColumnWidth(_:) for more details on this ViewModifier.
Example:
<Element style='navigationSplitViewColumnWidth(attr("width"))' width={@width} />navigationSplitViewColumnWidth(min:ideal:max:)
min:attr("...")orCGFloatornilideal:attr("...")orCGFloat(required)max:attr("...")orCGFloatornil
See SwiftUI.View/navigationSplitViewColumnWidth(min:ideal:max:) for more details on this ViewModifier.
Example:
<Element style='navigationSplitViewColumnWidth(min: attr("min"), ideal: attr("ideal"), max: attr("max"))' min={@min} ideal={@ideal} max={@max} />navigationSplitViewStyle
navigationSplitViewStyle(_:)
style:AnyNavigationSplitViewStyle(required)
See SwiftUI.View/navigationSplitViewStyle(_:) for more details on this ViewModifier.
Example:
navigationSubtitle
navigationSubtitle(_:)
subtitle:TextReference(required)
See SwiftUI.View/navigationSubtitle(_:) for more details on this ViewModifier.
Example:
<Element style="navigationSubtitle(:subtitle)">
<Text template="subtitle">...</Text>
</Element>navigationSubtitle(_:)
subtitleKey:SwiftUI/LocalizedStringKey(required)
See SwiftUI.View/navigationSubtitle(_:) for more details on this ViewModifier.
Example:
navigationSubtitle(_:)
subtitle:attr("...")orString(required)
See SwiftUI.View/navigationSubtitle(_:) for more details on this ViewModifier.
Example:
<Element style='navigationSubtitle(attr("subtitle"))' subtitle={@subtitle} />navigationTitle
navigationTitle(_:)
title:TextReference(required)
See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier.
Example:
<Element style="navigationTitle(:title)">
<Text template="title">...</Text>
</Element>navigationTitle(_:)
titleKey:SwiftUI/LocalizedStringKey(required)
See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier.
Example:
navigationTitle(_:)
title:attr("...")orString(required)
See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier.
Example:
<Element style='navigationTitle(attr("title"))' title={@title} />navigationTitle(_:)
title:ViewReference
See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier.
Example:
<Element style="navigationTitle(:title)">
<Child template="title" />
</Element>navigationTitle(_:)
title:attr("...")for aString(required, change tracked)
See SwiftUI.View/navigationTitle(_:) for more details on this ViewModifier.
Example:
<Element style='navigationTitle(attr("title"))' title={@title} phx-change="title-changed" />def handle_event("title-changed", params, socket)navigationTransition
Overview
navigationTransition(_:)
style:AnyNavigationTransition(required)
Create a namespace with the <NamespaceContext> element.
See SwiftUI.View/navigationTransition(_:) for more details on this ViewModifier.
Example:
<NavigationLink
destination="..."
style='navigationTransition(.zoom(sourceID: attr("sourceID"), in: :namespace))'
sourceID="target"
>
<Rectangle
id="target"
style='matchedTransitionSource(id: attr("id"), in: :namespace)'
/>
</NavigationLink>offset
Offset(_:)
offset:CoreFoundation/CGSize(required)
See SwiftUI.View/offset(_:) for more details on this ViewModifier.
Example:
offset(x:y:)
See SwiftUI.View/offset(x:y:) for more details on this ViewModifier.
Example:
<Element style='offset(x: attr("x"), y: attr("y"))' x={@x} y={@y} />offset(z:)
z:attr("...")orCGFloat(required)
See SwiftUI.View/offset(z:) for more details on this ViewModifier.
Example:
<Element style='offset(z: attr("z"))' z={@z} />onDeleteCommand
onDeleteCommand(perform:)
perform:event("...")
See SwiftUI.View/onDeleteCommand(perform:) for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)onExitCommand
onExitCommand(perform:)
perform:event("...")
See SwiftUI.View/onExitCommand(perform:) for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)onHover
onHover(perform:)
perform:event("...")(required)
See SwiftUI.View/onHover(perform:) for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)onImmersionChange
onLongPressGesture
onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)
minimumDuration:attr("...")orDoublemaximumDistance:attr("...")orCGFloatperform:event("...")(required)onPressingChanged:event("...")
See SwiftUI.View/onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:) for more details on this ViewModifier.
Example:
<Element style='onLongPressGesture(minimumDuration: attr("minimumDuration"), maximumDistance: attr("maximumDistance"), perform: event("perform"), onPressingChanged: event("onPressingChanged"))' minimumDuration={@minimumDuration} maximumDistance={@maximumDistance} />def handle_event("perform", params, socket)
def handle_event("onPressingChanged", params, socket)onLongPressGesture(minimumDuration:perform:onPressingChanged:)
minimumDuration:attr("...")orDoubleperform:event("...")(required)onPressingChanged:event("...")
See SwiftUI.View/onLongPressGesture(minimumDuration:perform:onPressingChanged:) for more details on this ViewModifier.
Example:
<Element style='onLongPressGesture(minimumDuration: attr("minimumDuration"), perform: event("perform"), onPressingChanged: event("onPressingChanged"))' minimumDuration={@minimumDuration} />def handle_event("perform", params, socket)
def handle_event("onPressingChanged", params, socket)onLongTouchGesture
onLongTouchGesture(minimumDuration:perform:onTouchingChanged:)
minimumDuration:attr("...")orDoubleperform:event("...")(required)onTouchingChanged:event("...")
See SwiftUI.View/onLongTouchGesture(minimumDuration:perform:onTouchingChanged:) for more details on this ViewModifier.
Example:
<Element style='onLongTouchGesture(minimumDuration: attr("minimumDuration"), perform: event("perform"), onTouchingChanged: event("onTouchingChanged"))' minimumDuration={@minimumDuration} />def handle_event("perform", params, socket)
def handle_event("onTouchingChanged", params, socket)onModifierKeysChanged
onMoveCommand
onMoveCommand(perform:)
perform:event("...")
See SwiftUI.View/onMoveCommand(perform:) for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)onPencilDoubleTap
onPencilDoubleTap(perform:)
perform:event("...")(required)
See SwiftUI.View/onPencilDoubleTap(perform:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
onPencilDoubleTap(perform: event("perform"))
end# LiveView
def handle_event("perform", params, socket)onPencilSqueeze
onPencilSqueeze(perform:)
perform:event("...")(required)
See SwiftUI.View/onPencilSqueeze(perform:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
onPencilSqueeze(perform: event("perform"))
end# LiveView
def handle_event("perform", params, socket)onPlayPauseCommand
onPlayPauseCommand(perform:)
perform:event("...")
See SwiftUI.View/onPlayPauseCommand(perform:) for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)onScrollPhaseChange
onScrollVisibilityChange
onSubmit
onSubmit(of:action:)
of:SubmitTriggersaction:event("...")(required)
See SwiftUI.View/onSubmit(of:action:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
onSubmit(of: .text, action: event("action"))
end# LiveView
def handle_event("action", params, socket)onTapGesture
onTapGesture(count:perform:)
count:attr("...")orIntperform:event("...")(required)
See SwiftUI.View/onTapGesture(count:perform:) for more details on this ViewModifier.
Example:
<Element style='onTapGesture(count: attr("count"), perform: event("perform"))' count={@count} />def handle_event("perform", params, socket)onTapGesture(count:coordinateSpace:perform:)
count:attr("...")orIntcoordinateSpace:AnyCoordinateSpaceProtocolperform:event("...")(required)
See SwiftUI.View/onTapGesture(count:coordinateSpace:perform:) for more details on this ViewModifier.
Example:
<Element style='onTapGesture(count: attr("count"), coordinateSpace: _AnyCoordinateSpaceProtocol_, perform: event("perform"))' count={@count} />def handle_event("perform", params, socket)onVolumeViewpointChange
ornament
ornament(visibility:attachmentAnchor:contentAlignment:ornament:)
visibility:attr("...")orSwiftUI/VisibilityattachmentAnchor:SwiftUI/OrnamentAttachmentAnchor(required)contentAlignment:attr("...")orSwiftUI/Alignmentornament:ViewReference
See SwiftUI.View/ornament(visibility:attachmentAnchor:contentAlignment:ornament:) for more details on this ViewModifier.
Example:
<Element style='ornament(visibility: attr("visibility"), attachmentAnchor: _OrnamentAttachmentAnchor_, contentAlignment: attr("contentAlignment"), ornament: :ornament)' visibility={@visibility} contentAlignment={@contentAlignment}>
<Child template="ornament" />
</Element>padding3D
padding3D(_:)
insets:SwiftUI/EdgeInsets3D(required)
See SwiftUI.View/padding3D(_:) for more details on this ViewModifier.
Example:
padding3D(::)
edges:SwiftUI/Edge3D/Setlength:attr("...")orCGFloatornil
See SwiftUI.View/padding3D(_:_:) for more details on this ViewModifier.
Example:
<Element style='padding3D(_Set_, attr("length"))' length={@length} />padding3D(_:)
length:attr("...")orCGFloat(required)
See SwiftUI.View/padding3D(_:) for more details on this ViewModifier.
Example:
<Element style='padding3D(attr("length"))' length={@length} />persistentSystemOverlays
persistentSystemOverlays(_:)
visibility:attr("...")orSwiftUI/Visibility(required)
See SwiftUI.View/persistentSystemOverlays(_:) for more details on this ViewModifier.
Example:
<Element style='persistentSystemOverlays(attr("visibility"))' visibility={@visibility} />pickerStyle
pickerStyle(_:)
style:AnyPickerStyle(required)
See SwiftUI.View/pickerStyle(_:) for more details on this ViewModifier.
Example:
pointerStyle
pointerVisibility
popover
popover(isPresented:attachmentAnchor:arrowEdge:content:)
isPresented:attr("...")for aBool(required, change tracked)attachmentAnchor:PopoverAttachmentAnchorarrowEdge:SwiftUI/Edgecontent:ViewReference
See SwiftUI.View/popover(isPresented:attachmentAnchor:arrowEdge:content:) for more details on this ViewModifier.
Example:
<Element style='popover(isPresented: attr("isPresented"), attachmentAnchor: _PopoverAttachmentAnchor_, arrowEdge: _Edge_, content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="content" />
</Element>def handle_event("isPresented-changed", params, socket)position
Position(_:)
position:CoreFoundation/CGPoint(required)
See SwiftUI.View/position(_:) for more details on this ViewModifier.
Example:
position(x:y:)
See SwiftUI.View/position(x:y:) for more details on this ViewModifier.
Example:
<Element style='position(x: attr("x"), y: attr("y"))' x={@x} y={@y} />preferredSurroundingsEffect
preferredSurroundingsEffect(_:)
effect:SwiftUI/SurroundingsEffectornil(required)
See SwiftUI.View/preferredSurroundingsEffect(_:) for more details on this ViewModifier.
Example:
prefersDefaultFocus
prefersDefaultFocus(_:in:)
See SwiftUI.View/prefersDefaultFocus(_:in:) for more details on this ViewModifier.
Example:
<Element style='prefersDefaultFocus(attr("prefersDefaultFocus"), in: attr("namespace"))' prefersDefaultFocus={@prefersDefaultFocus} namespace={@namespace} />presentationBackground
presentationBackground(_:)
style:SwiftUI/AnyShapeStyle/Resolvable(required)
See SwiftUI.View/presentationBackground(_:) for more details on this ViewModifier.
Example:
presentationBackground(alignment:content:)
alignment:attr("...")orSwiftUI/Alignmentcontent:ViewReference
See SwiftUI.View/presentationBackground(alignment:content:) for more details on this ViewModifier.
Example:
<Element style='presentationBackground(alignment: attr("alignment"), content: :content)' alignment={@alignment}>
<Child template="content" />
</Element>presentationBackgroundInteraction
presentationBackgroundInteraction(_:)
interaction:PresentationBackgroundInteraction(required)
See SwiftUI.View/presentationBackgroundInteraction(_:) for more details on this ViewModifier.
Example:
presentationCompactAdaptation
presentationCompactAdaptation(_:)
adaptation:PresentationAdaptation(required)
See SwiftUI.View/presentationCompactAdaptation(_:) for more details on this ViewModifier.
Example:
presentationCompactAdaptation(horizontal:vertical:)
horizontal:PresentationAdaptation(required)vertical:PresentationAdaptation(required)
See SwiftUI.View/presentationCompactAdaptation(horizontal:vertical:) for more details on this ViewModifier.
Example:
presentationContentInteraction
presentationContentInteraction(_:)
behavior:PresentationContentInteraction(required)
See SwiftUI.View/presentationContentInteraction(_:) for more details on this ViewModifier.
Example:
presentationCornerRadius
presentationCornerRadius(_:)
cornerRadius:attr("...")orCGFloatornil(required)
See SwiftUI.View/presentationCornerRadius(_:) for more details on this ViewModifier.
Example:
<Element style='presentationCornerRadius(attr("cornerRadius"))' cornerRadius={@cornerRadius} />presentationDetents
presentationDetents(_:)
detents: Array ofPresentationDetent(required)
See SwiftUI.View/presentationDetents(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
presentationDetents([.medium, .large])
endpresentationDragIndicator
presentationDragIndicator(_:)
visibility:attr("...")orSwiftUI/Visibility(required)
See SwiftUI.View/presentationDragIndicator(_:) for more details on this ViewModifier.
Example:
<Element style='presentationDragIndicator(attr("visibility"))' visibility={@visibility} />presentationSizing
previewDisplayName
previewDisplayName(_:)
value:attr("...")orStringornil(required)
See SwiftUI.View/previewDisplayName(_:) for more details on this ViewModifier.
Example:
<Element style='previewDisplayName(attr("value"))' value={@value} />progressViewStyle
progressViewStyle(_:)
style:AnyProgressViewStyle(required)
See SwiftUI.View/progressViewStyle(_:) for more details on this ViewModifier.
Example:
projectionEffect
projectionEffect(_:)
transform:SwiftUI/ProjectionTransform(required)
See SwiftUI.View/projectionEffect(_:) for more details on this ViewModifier.
Example:
refreshable
Refreshable(Action:)
action:event("...")(required)
See SwiftUI.View/refreshable(action:) for more details on this ViewModifier.
Example:
def handle_event("action", params, socket)renameAction
renameAction(_:)
action__0:event("...")(required)
See SwiftUI.View/renameAction(_:) for more details on this ViewModifier.
Example:
def handle_event("action__0", params, socket)renderingMode
renderingMode(_:)
renderingMode:SwiftUI/Image/TemplateRenderingModeornil(required)
See SwiftUI.Image/renderingMode(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
renderingMode(.template)
endreplaceDisabled
replaceDisabled(_:)
isDisabled:attr("...")orBool
See SwiftUI.View/replaceDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='replaceDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />resizable
resizable(capInsets:resizingMode:)
capInsets:SwiftUI/EdgeInsetsresizingMode:SwiftUI/Image/ResizingMode
See SwiftUI.Image/resizable(capInsets:resizingMode:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
resizable(capInsets: EdgeInsets, resizingMode: .tile)
endrotation
Rotation(_:Anchor:)
angle:SwiftUI/Angle(required)anchor:SwiftUI/UnitPoint
See SwiftUI.Shape/rotation(_:anchor:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
rotation(.zero, style: .center)
endrotation3DEffect
rotation3DEffect(_:axis:anchor:anchorZ:perspective:)
angle:SwiftUI/Angle(required)axis: Tuple with structure(x: CGFloat, y: CGFloat, z: CGFloat)(required)anchor:SwiftUI/UnitPointanchorZ:attr("...")orCGFloatperspective:attr("...")orCGFloat
See SwiftUI.View/rotation3DEffect(_:axis:anchor:anchorZ:perspective:) for more details on this ViewModifier.
Example:
<Element style='rotation3DEffect(.zero, axis: (x: 1, y: 0, z: 0), anchor: .center, anchorZ: attr("anchorZ"), perspective: attr("perspective"))' anchorZ={@anchorZ} perspective={@perspective} />scale
Scale(X:Y:Anchor:)
See SwiftUI.Shape/scale(x:y:anchor:) for more details on this ViewModifier.
Example:
<Element class='scale(x: attr("x"), y: attr("y"), anchor: .center)' x={@x} y={@y} />scenePadding
scenePadding(_:)
edges:SwiftUI/Edge/Set
See SwiftUI.View/scenePadding(_:) for more details on this ViewModifier.
Example:
scenePadding(_:edges:)
padding:ScenePadding(required)edges:SwiftUI/Edge/Set
See SwiftUI.View/scenePadding(_:edges:) for more details on this ViewModifier.
Example:
scrollBounceBehavior
scrollBounceBehavior(_:axes:)
behavior:ScrollBounceBehavior(required)axes:SwiftUI/Axis/Set
See SwiftUI.View/scrollBounceBehavior(_:axes:) for more details on this ViewModifier.
Example:
scrollClipDisabled
scrollClipDisabled(_:)
disabled:attr("...")orBool
See SwiftUI.View/scrollClipDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='scrollClipDisabled(attr("disabled"))' disabled={@disabled} />scrollContentBackground
scrollContentBackground(_:)
visibility:attr("...")orSwiftUI/Visibility(required)
See SwiftUI.View/scrollContentBackground(_:) for more details on this ViewModifier.
Example:
<Element style='scrollContentBackground(attr("visibility"))' visibility={@visibility} />scrollDisabled
scrollDisabled(_:)
disabled:attr("...")orBool(required)
See SwiftUI.View/scrollDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='scrollDisabled(attr("disabled"))' disabled={@disabled} />scrollDismissesKeyboard
scrollDismissesKeyboard(_:)
mode:ScrollDismissesKeyboardMode(required)
See SwiftUI.View/scrollDismissesKeyboard(_:) for more details on this ViewModifier.
Example:
scrollIndicators
scrollIndicators(_:axes:)
visibility:ScrollIndicatorVisibility(required)axes:SwiftUI/Axis/Set
See SwiftUI.View/scrollIndicators(_:axes:) for more details on this ViewModifier.
Example:
scrollIndicatorsFlash
scrollIndicatorsFlash(trigger:)
trigger:attr("...")orString(required)
See SwiftUI.View/scrollIndicatorsFlash(trigger:) for more details on this ViewModifier.
Example:
<Element style='scrollIndicatorsFlash(trigger: attr("trigger"))' trigger={@trigger} />scrollIndicatorsFlash(onAppear:)
onAppear:attr("...")orBool(required)
See SwiftUI.View/scrollIndicatorsFlash(onAppear:) for more details on this ViewModifier.
Example:
<Element style='scrollIndicatorsFlash(onAppear: attr("onAppear"))' onAppear={@onAppear} />scrollPosition
scrollPosition(id:anchor:)
id:attr("...")for aStringornil(required, change tracked)anchor:attr("...")orSwiftUI/UnitPointornil
See SwiftUI.View/scrollPosition(id:anchor:) for more details on this ViewModifier.
Example:
<Element style='scrollPosition(id: attr("id"), anchor: attr("anchor"))' id={@id} anchor={@anchor} phx-change="id-changed" />def handle_event("id-changed", params, socket)scrollTargetBehavior
scrollTargetBehavior(_:)
behavior:AnyScrollTargetBehavior(required)
See SwiftUI.View/scrollTargetBehavior(_:) for more details on this ViewModifier.
Example:
scrollTargetLayout
scrollTargetLayout(isEnabled:)
isEnabled:attr("...")orBool
See SwiftUI.View/scrollTargetLayout(isEnabled:) for more details on this ViewModifier.
Example:
<Element style='scrollTargetLayout(isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />searchCompletion
searchCompletion(_:)
token: atom (required)
See SwiftUI.View/searchCompletion(_:) for more details on this ViewModifier.
Example:
<Element style="searchCompletion(:token)" />searchCompletion(_:)
completion:attr("...")orString(required)
See SwiftUI.View/searchCompletion(_:) for more details on this ViewModifier.
Example:
<Element style='searchCompletion(attr("completion"))' completion={@completion} />searchDictationBehavior
searchDictationBehavior(_:)
dictationBehavior:TextInputDictationBehavior(required)
See SwiftUI.View/searchDictationBehavior(_:) for more details on this ViewModifier.
Example:
searchPresentationToolbarBehavior
searchPresentationToolbarBehavior(_:)
behavior:SearchPresentationToolbarBehavior(required)
See SwiftUI.View/searchPresentationToolbarBehavior(_:) for more details on this ViewModifier.
Example:
searchScopes
searchScopes(_:activation:scopes:)
scope:attr("...")for aString(required, change tracked)activation:SearchScopeActivation(required)scopes:ViewReference(required)
See SwiftUI.View/searchScopes(_:activation:scopes:) for more details on this ViewModifier.
Example:
<Element style='searchScopes(attr("scope"), activation: .automatic, scopes: :scopes)' scope={@scope} phx-change="scope">
<Child template="scopes" />
</Element>def handle_event("scope", params, socket)searchScopes(_:scopes:)
scope:attr("...")for aString(required, change tracked)scopes:ViewReference(required)
See SwiftUI.View/searchScopes(_:scopes:) for more details on this ViewModifier.
Example:
<Element style='searchScopes(attr("scope"), scopes: :scopes)' scope={@scope} phx-change="scope">
<Child template="scopes" />
</Element>def handle_event("scope", params, socket)searchSuggestions
searchSuggestions(_:)
suggestions:ViewReference
See SwiftUI.View/searchSuggestions(_:) for more details on this ViewModifier.
Example:
<Element style="searchSuggestions(:suggestions)">
<Child template="suggestions" />
</Element>searchSuggestions(_:for:)
visibility:attr("...")orSwiftUI/Visibility(required)for:SearchSuggestionsPlacement.Set(required)
See SwiftUI.View/searchSuggestions(_:for:) for more details on this ViewModifier.
Example:
<Element style='searchSuggestions(attr("visibility"), for: _Set_)' visibility={@visibility} />searchable
Searchable(Text:Placement:Prompt:)
text:attr("...")for aString(required, change tracked)placement:SearchFieldPlacementprompt:TextReferenceornil
See SwiftUI.View/searchable(text:placement:prompt:) for more details on this ViewModifier.
Example:
<Element style='searchable(text: attr("text"), placement: _SearchFieldPlacement_, prompt: :prompt)' text={@text} phx-change="text-changed">
<Text template="prompt">...</Text>
</Element>def handle_event("text-changed", params, socket)searchable(text:placement:prompt:)
text:attr("...")for aString(required, change tracked)placement:SearchFieldPlacementprompt:SwiftUI/LocalizedStringKey(required)
See SwiftUI.View/searchable(text:placement:prompt:) for more details on this ViewModifier.
Example:
<Element style='searchable(text: attr("text"), placement: _SearchFieldPlacement_, prompt: _LocalizedStringKey_)' text={@text} phx-change="text-changed" />def handle_event("text-changed", params, socket)searchable(text:placement:prompt:)
text:attr("...")for aString(required, change tracked)placement:SearchFieldPlacementprompt:attr("...")orString(required)
See SwiftUI.View/searchable(text:placement:prompt:) for more details on this ViewModifier.
Example:
<Element style='searchable(text: attr("text"), placement: _SearchFieldPlacement_, prompt: attr("prompt"))' text={@text} prompt={@prompt} phx-change="text-changed" />def handle_event("text-changed", params, socket)searchable(text:isPresented:placement:prompt:)
text:attr("...")for aString(required, change tracked)isPresented:attr("...")for aBool(required, change tracked)placement:SearchFieldPlacementprompt:TextReferenceornil
See SwiftUI.View/searchable(text:isPresented:placement:prompt:) for more details on this ViewModifier.
Example:
<Element style='searchable(text: attr("text"), isPresented: attr("isPresented"), placement: _SearchFieldPlacement_, prompt: :prompt)' text={@text} isPresented={@isPresented} phx-change="searchable-changed">
<Text template="prompt">...</Text>
</Element>def handle_event("searchable-changed", params, socket)searchable(text:isPresented:placement:prompt:)
text:attr("...")for aString(required, change tracked)isPresented:attr("...")for aBool(required, change tracked)placement:SearchFieldPlacementprompt:SwiftUI/LocalizedStringKey(required)
See SwiftUI.View/searchable(text:isPresented:placement:prompt:) for more details on this ViewModifier.
Example:
<Element style='searchable(text: attr("text"), isPresented: attr("isPresented"), placement: _SearchFieldPlacement_, prompt: _LocalizedStringKey_)' text={@text} isPresented={@isPresented} phx-change="searchable-changed" />def handle_event("searchable-changed", params, socket)searchable(text:isPresented:placement:prompt:)
text:attr("...")for aString(required, change tracked)isPresented:attr("...")for aBool(required, change tracked)placement:SearchFieldPlacementprompt:attr("...")orString(required)
See SwiftUI.View/searchable(text:isPresented:placement:prompt:) for more details on this ViewModifier.
Example:
<Element style='searchable(text: attr("text"), isPresented: attr("isPresented"), placement: _SearchFieldPlacement_, prompt: attr("prompt"))' text={@text} isPresented={@isPresented} prompt={@prompt} phx-change="searchable-changed" />def handle_event("searchable-changed", params, socket)sectionActions
selectionDisabled
selectionDisabled(_:)
isDisabled:attr("...")orBool
See SwiftUI.View/selectionDisabled(_:) for more details on this ViewModifier.
Example:
<Element style='selectionDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />sheet
sheet(isPresented:onDismiss:content:)
isPresented:attr("...")for aBool(required, change tracked)onDismiss:event("...")content:ViewReference
See SwiftUI.View/sheet(isPresented:onDismiss:content:) for more details on this ViewModifier.
Example:
<Element style='sheet(isPresented: attr("isPresented"), onDismiss: event("onDismiss"), content: :content)' isPresented={@isPresented} phx-change="isPresented-changed">
<Child template="content" />
</Element>def handle_event("onDismiss", params, socket)
def handle_event("isPresented-changed", params, socket)speechAdjustedPitch
speechAdjustedPitch(_:)
value:attr("...")orDouble(required)
See SwiftUI.View/speechAdjustedPitch(_:) for more details on this ViewModifier.
Example:
<Element style='speechAdjustedPitch(attr("value"))' value={@value} />speechAlwaysIncludesPunctuation
speechAlwaysIncludesPunctuation(_:)
value:attr("...")orBool
See SwiftUI.View/speechAlwaysIncludesPunctuation(_:) for more details on this ViewModifier.
Example:
<Element style='speechAlwaysIncludesPunctuation(attr("value"))' value={@value} />speechAnnouncementsQueued
speechAnnouncementsQueued(_:)
value:attr("...")orBool
See SwiftUI.View/speechAnnouncementsQueued(_:) for more details on this ViewModifier.
Example:
<Element style='speechAnnouncementsQueued(attr("value"))' value={@value} />speechSpellsOutCharacters
speechSpellsOutCharacters(_:)
value:attr("...")orBool
See SwiftUI.View/speechSpellsOutCharacters(_:) for more details on this ViewModifier.
Example:
<Element style='speechSpellsOutCharacters(attr("value"))' value={@value} />statusBar
statusBarHidden
statusBarHidden(_:)
hidden:attr("...")orBool
See SwiftUI.View/statusBarHidden(_:) for more details on this ViewModifier.
Example:
<Element style='statusBarHidden(attr("hidden"))' hidden={@hidden} />strikethrough
Strikethrough(_:Pattern:Color:)
isActive:attr("...")orBoolpattern:SwiftUI/Text/LineStyle/Patterncolor:attr("...")orSwiftUI/Colorornil
See SwiftUI.View/strikethrough(_:pattern:color:) for more details on this ViewModifier.
Example:
<Element style='strikethrough(attr("isActive"), pattern: .solid, color: attr("color"))' isActive={@isActive} color={@color} />stroke
Stroke(_:Style:Antialiased:)
content:SwiftUI/AnyShapeStyle(required)style:SwiftUI/StrokeStyle(required)antialiased:attr("...")orBool
See SwiftUI.Shape/stroke(_:style:antialiased:) for more details on this ViewModifier.
Example:
<Element style='stroke(AnyShapeStyle, style: StrokeStyle, antialiased: attr("antialiased"))' antialiased={@antialiased} />stroke(_:lineWidth:antialiased:)
content:SwiftUI/AnyShapeStyle(required)lineWidth:attr("...")orCGFloatantialiased:attr("...")orBool
See SwiftUI.Shape/stroke(_:lineWidth:antialiased:) for more details on this ViewModifier.
Example:
<Element style='stroke(AnyShapeStyle, lineWidth: attr("lineWidth"), antialiased: attr("antialiased"))' lineWidth={@lineWidth} antialiased={@antialiased} />submitLabel
submitLabel(_:)
submitLabel:SubmitLabel(required)
See SwiftUI.View/submitLabel(_:) for more details on this ViewModifier.
Example:
submitScope
submitScope(_:)
isBlocking:attr("...")orBool
See SwiftUI.View/submitScope(_:) for more details on this ViewModifier.
Example:
<Element style='submitScope(attr("isBlocking"))' isBlocking={@isBlocking} />subtracting
subtracting(_:eoFill:)
other:SwiftUI/AnyShape(required)eoFill:Bool
See SwiftUI.Shape/subtracting(_:eoFill:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
subtracting(.rect, eoFill: false)
endsupportedVolumeViewpoints
swipeActions
swipeActions(edge:allowsFullSwipe:content:)
edge:SwiftUI/HorizontalEdgeallowsFullSwipe:attr("...")orBoolcontent:ViewReference
See SwiftUI.View/swipeActions(edge:allowsFullSwipe:content:) for more details on this ViewModifier.
Example:
<Element style='swipeActions(edge: .leading, allowsFullSwipe: attr("allowsFullSwipe"), content: :content)' allowsFullSwipe={@allowsFullSwipe}>
<Child template="content" />
</Element>symbolEffect
symbolEffect(_:options:isActive:)
effect:AnyIndefiniteSymbolEffect(required)options:SymbolEffectOptionsisActive:attr("...")orBool
See SwiftUI.View/symbolEffect(_:options:isActive:) for more details on this ViewModifier.
Example:
<Element style='symbolEffect(_AnyIndefiniteSymbolEffect_, options: _SymbolEffectOptions_, isActive: attr("isActive"))' isActive={@isActive} />symbolEffect(_:options:value:)
effect:AnyDiscreteSymbolEffect(required)options:SymbolEffectOptionsvalue:attr("...")orString(required)
See SwiftUI.View/symbolEffect(_:options:value:) for more details on this ViewModifier.
Example:
<Element style='symbolEffect(_AnyDiscreteSymbolEffect_, options: _SymbolEffectOptions_, value: attr("value"))' value={@value} />symbolEffectsRemoved
symbolEffectsRemoved(_:)
isEnabled:attr("...")orBool
See SwiftUI.View/symbolEffectsRemoved(_:) for more details on this ViewModifier.
Example:
<Element style='symbolEffectsRemoved(attr("isEnabled"))' isEnabled={@isEnabled} />symmetricDifference
symmetricDifference(_:eoFill:)
other:SwiftUI/AnyShape(required)eoFill:Bool
See SwiftUI.Shape/symmetricDifference(_:eoFill:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
symmetricDifference(.rect, eoFill: false)
endtabItem
tabItem(_:)
label:ViewReference
See SwiftUI.View/tabItem(_:) for more details on this ViewModifier.
Example:
<Element style="tabItem(:label)">
<Child template="label" />
</Element>tabViewSidebarBottomBar
tabViewSidebarFooter
tabViewSidebarHeader
tabViewStyle
tabViewStyle(_:)
style:AnyTabViewStyle(required)
See SwiftUI.View/tabViewStyle(_:) for more details on this ViewModifier.
Example:
tableStyle
tableStyle(_:)
style:AnyTableStyle(required)
See SwiftUI.View/tableStyle(_:) for more details on this ViewModifier.
Example:
textContentType
textContentType(_:)
textContentType:UITextContentTypeornil(required)
See SwiftUI.View/textContentType(_:) for more details on this ViewModifier.
Example:
textEditorStyle
textEditorStyle(_:)
style:AnyTextEditorStyle(required)
See SwiftUI.View/textEditorStyle(_:) for more details on this ViewModifier.
Example:
textFieldStyle
textFieldStyle(_:)
style:AnyTextFieldStyle(required)
See SwiftUI.View/textFieldStyle(_:) for more details on this ViewModifier.
Example:
textInputAutocapitalization
textInputAutocapitalization(_:)
autocapitalization:TextInputAutocapitalizationornil(required)
See SwiftUI.View/textInputAutocapitalization(_:) for more details on this ViewModifier.
Example:
textInputCompletion
textInputSuggestions
textScale
textScale(_:isEnabled:)
scale:SwiftUI/Text/ScaleisEnabled:attr("...")orBool
See SwiftUI.View/textScale(_:isEnabled:) for more details on this ViewModifier.
Example:
<Element style='textScale(.default, isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />textSelection
textSelection(_:)
selectability:AnyTextSelectability(required)
See SwiftUI.View/textSelection(_:) for more details on this ViewModifier.
Example:
textSelectionAffinity
toggleStyle
toggleStyle(_:)
style:AnyToggleStyle(required)
See SwiftUI.View/toggleStyle(_:) for more details on this ViewModifier.
Example:
toolbar
Toolbar(_:For:)
visibility:attr("...")orSwiftUI/Visibility(required)for:ToolbarPlacement(required)
See SwiftUI.View/toolbar(_:for:) for more details on this ViewModifier.
Example:
<Element style='toolbar(attr("visibility"), for: _ToolbarPlacement_)' visibility={@visibility} />toolbar(removing:)
removing:ToolbarDefaultItemKindornil(required)
See SwiftUI.View/toolbar(removing:) for more details on this ViewModifier.
Example:
toolbar(content:)
content:ToolbarContentReference
See SwiftUI.View/toolbar(content:) for more details on this ViewModifier.
Example:
toolbar(id:content:)
id:attr("...")orString(required)content:CustomizableToolbarContentReference
See SwiftUI.View/toolbar(id:content:) for more details on this ViewModifier.
Example:
<Element style='toolbar(id: attr("id"), content: _CustomizableToolbarContentReference_)' id={@id} />toolbarBackground
toolbarBackground(_:for:)
style:SwiftUI/AnyShapeStyle/Resolvable(required)for:ToolbarPlacement(required)
See SwiftUI.View/toolbarBackground(_:for:) for more details on this ViewModifier.
Example:
toolbarBackground(_:for:)
visibility:attr("...")orSwiftUI/Visibility(required)for:ToolbarPlacement(required)
See SwiftUI.View/toolbarBackground(_:for:) for more details on this ViewModifier.
Example:
<Element style='toolbarBackground(attr("visibility"), for: _ToolbarPlacement_)' visibility={@visibility} />toolbarBackgroundVisibility
toolbarColorScheme
toolbarColorScheme(_:for:)
colorScheme:attr("...")orSwiftUI/ColorSchemeornil(required)for:ToolbarPlacement(required)
See SwiftUI.View/toolbarColorScheme(_:for:) for more details on this ViewModifier.
Example:
<Element style='toolbarColorScheme(attr("colorScheme"), for: _ToolbarPlacement_)' colorScheme={@colorScheme} />toolbarForegroundStyle
toolbarItemHidden
toolbarRole
toolbarRole(_:)
role:ToolbarRole(required)
See SwiftUI.View/toolbarRole(_:) for more details on this ViewModifier.
Example:
toolbarTitleDisplayMode
toolbarTitleDisplayMode(_:)
mode:ToolbarTitleDisplayMode(required)
See SwiftUI.View/toolbarTitleDisplayMode(_:) for more details on this ViewModifier.
Example:
toolbarTitleMenu
toolbarVisibility
touchBarCustomizationLabel
touchBarCustomizationLabel(_:)
label:TextReference(required)
See SwiftUI.View/touchBarCustomizationLabel(_:) for more details on this ViewModifier.
Example:
<Element style="touchBarCustomizationLabel(:label)">
<Text template="label">...</Text>
</Element>touchBarItemPrincipal
touchBarItemPrincipal(_:)
principal:attr("...")orBool
See SwiftUI.View/touchBarItemPrincipal(_:) for more details on this ViewModifier.
Example:
<Element style='touchBarItemPrincipal(attr("principal"))' principal={@principal} />tracking
Tracking(_:)
tracking:attr("...")orCGFloat(required)
See SwiftUI.View/tracking(_:) for more details on this ViewModifier.
Example:
<Element style='tracking(attr("tracking"))' tracking={@tracking} />transform
Transform(_:)
transform:CoreGraphics/CGAffineTransform(required)
See SwiftUI.Shape/transform(_:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
transform(.identity)
endtransform3DEffect
transform3DEffect(_:)
transform:Spatial/AffineTransform3D(required)
See SwiftUI.View/transform3DEffect(_:) for more details on this ViewModifier.
Example:
transformEffect
transformEffect(_:)
transform:CGAffineTransform(required)
See SwiftUI.View/transformEffect(_:) for more details on this ViewModifier.
Example:
underline
Underline(_:Pattern:Color:)
isActive:attr("...")orBoolpattern:SwiftUI/Text/LineStyle/Patterncolor:attr("...")orSwiftUI/Colorornil
See SwiftUI.View/underline(_:pattern:color:) for more details on this ViewModifier.
Example:
<Element style='underline(attr("isActive"), pattern: .solid, color: attr("color"))' isActive={@isActive} color={@color} />union
union(_:eoFill:)
other:SwiftUI/AnyShape(required)eoFill:Bool
See SwiftUI.Shape/union(_:eoFill:) for more details on this ViewModifier.
Example:
# stylesheet
"example" do
union(.rect, eoFill: false)
endupperLimbVisibility
upperLimbVisibility(_:)
preferredVisibility:attr("...")orSwiftUI/Visibility(required)
See SwiftUI.View/upperLimbVisibility(_:) for more details on this ViewModifier.
Example:
<Element style='upperLimbVisibility(attr("preferredVisibility"))' preferredVisibility={@preferredVisibility} />