View Source Modifier Index
accessibilityAction
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
content
:ViewReference
See SwiftUI.View/accessibilityActions(_:)
for more details on this ViewModifier.
Example:
<Element style="accessibilityActions(:content)">
<Child template="content" />
</Element>
accessibilityChildren
children
:ViewReference
See SwiftUI.View/accessibilityChildren(children:)
for more details on this ViewModifier.
Example:
<Element style="accessibilityChildren(children: :children)">
<Child template="children" />
</Element>
accessibilityIgnoresInvertColors
active
:attr("...")
orBool
See SwiftUI.View/accessibilityIgnoresInvertColors(_:)
for more details on this ViewModifier.
Example:
<Element style='accessibilityIgnoresInvertColors(attr("active"))' active={@active} />
accessibilityRepresentation
representation
:ViewReference
See SwiftUI.View/accessibilityRepresentation(representation:)
for more details on this ViewModifier.
Example:
<Element style="accessibilityRepresentation(representation: :representation)">
<Child template="representation" />
</Element>
accessibilityShowsLargeContentViewer
largeContentView
:ViewReference
See SwiftUI.View/accessibilityShowsLargeContentViewer(_:)
for more details on this ViewModifier.
Example:
<Element style="accessibilityShowsLargeContentViewer(:largeContentView)">
<Child template="largeContentView" />
</Element>
See SwiftUI.View/accessibilityShowsLargeContentViewer()
for more details on this ViewModifier.
Example:
alert
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)
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)
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)
titleKey
:SwiftUI/LocalizedStringKey
(required)isPresented
:attr("...")
for aBool
(required, change tracked)actions
:ViewReference
message
: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)
title
:attr("...")
orString
(required)isPresented
:attr("...")
for aBool
(required, change tracked)actions
:ViewReference
message
: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)
title
:TextReference
(required)isPresented
:attr("...")
for aBool
(required, change tracked)actions
:ViewReference
message
: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)
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
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
disable
:attr("...")
orBool
See SwiftUI.View/autocorrectionDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='autocorrectionDisabled(attr("disable"))' disable={@disable} />
badge
count
:attr("...")
orInt
(required)
See SwiftUI.View/badge(_:)
for more details on this ViewModifier.
Example:
<Element style='badge(attr("count"))' count={@count} />
label
:TextReference
ornil
(required)
See SwiftUI.View/badge(_:)
for more details on this ViewModifier.
Example:
<Element style="badge(:label)">
<Text template="label">...</Text>
</Element>
key
:SwiftUI/LocalizedStringKey
ornil
(required)
See SwiftUI.View/badge(_:)
for more details on this ViewModifier.
Example:
label
:attr("...")
orString
(required)
See SwiftUI.View/badge(_:)
for more details on this ViewModifier.
Example:
<Element style='badge(attr("label"))' label={@label} />
badgeProminence
prominence
:BadgeProminence
(required)
See SwiftUI.View/badgeProminence(_:)
for more details on this ViewModifier.
Example:
baselineOffset
baselineOffset
:attr("...")
orCGFloat
(required)
See SwiftUI.View/baselineOffset(_:)
for more details on this ViewModifier.
Example:
<Element style='baselineOffset(attr("baselineOffset"))' baselineOffset={@baselineOffset} />
bold
isActive
:attr("...")
orBool
See SwiftUI.View/bold(_:)
for more details on this ViewModifier.
Example:
<Element style='bold(attr("isActive"))' isActive={@isActive} />
buttonBorderShape
shape
:ButtonBorderShape
(required)
See SwiftUI.View/buttonBorderShape(_:)
for more details on this ViewModifier.
Example:
buttonStyle
style
:AnyPrimitiveButtonStyle
(required)
See SwiftUI.View/buttonStyle(_:)
for more details on this ViewModifier.
Example:
style
:AnyButtonStyle
(required)
See SwiftUI.View/buttonStyle(_:)
for more details on this ViewModifier.
Example:
confirmationDialog
titleKey
:SwiftUI/LocalizedStringKey
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orSwiftUI/Visibility
actions
: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)
title
:attr("...")
orString
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orSwiftUI/Visibility
actions
: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)
title
:TextReference
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orSwiftUI/Visibility
actions
: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)
titleKey
:SwiftUI/LocalizedStringKey
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orSwiftUI/Visibility
actions
:ViewReference
message
: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)
title
:attr("...")
orString
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orSwiftUI/Visibility
actions
:ViewReference
message
: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)
title
:TextReference
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orSwiftUI/Visibility
actions
:ViewReference
message
: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
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} />
axes
:SwiftUI/Axis/Set
(required)count
:attr("...")
orInt
(required)span
:attr("...")
orInt
spacing
: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
edges
:SwiftUI/Edge/Set
insets
:SwiftUI/EdgeInsets
(required)for
:ContentMarginPlacement
See SwiftUI.View/contentMargins(_:_:for:)
for more details on this ViewModifier.
Example:
edges
:SwiftUI/Edge/Set
length
:attr("...")
orCGFloat
ornil
(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} />
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
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} />
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
menuItems
:ViewReference
See SwiftUI.View/contextMenu(menuItems:)
for more details on this ViewModifier.
Example:
<Element style="contextMenu(menuItems: :menuItems)">
<Child template="menuItems" />
</Element>
menuItems
:ViewReference
preview
: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
style
:AnyControlGroupStyle
(required)
See SwiftUI.View/controlGroupStyle(_:)
for more details on this ViewModifier.
Example:
coordinateSpace
name
:SwiftUI/NamedCoordinateSpace
(required)
See SwiftUI.View/coordinateSpace(_:)
for more details on this ViewModifier.
Example:
datePickerStyle
style
:AnyDatePickerStyle
(required)
See SwiftUI.View/datePickerStyle(_:)
for more details on this ViewModifier.
Example:
defaultAdaptableTabBarPlacement
defaultHoverEffect
effect
:HoverEffect
ornil
(required)
See SwiftUI.View/defaultHoverEffect(_:)
for more details on this ViewModifier.
Example:
defaultScrollAnchor
anchor
:attr("...")
orSwiftUI/UnitPoint
ornil
(required)
See SwiftUI.View/defaultScrollAnchor(_:)
for more details on this ViewModifier.
Example:
<Element style='defaultScrollAnchor(attr("anchor"))' anchor={@anchor} />
defaultWheelPickerItemHeight
height
:attr("...")
orCGFloat
(required)
See SwiftUI.View/defaultWheelPickerItemHeight(_:)
for more details on this ViewModifier.
Example:
<Element style='defaultWheelPickerItemHeight(attr("height"))' height={@height} />
defersSystemGestures
on
:SwiftUI/Edge/Set
(required)
See SwiftUI.View/defersSystemGestures(on:)
for more details on this ViewModifier.
Example:
deleteDisabled
isDisabled
:attr("...")
orBool
(required)
See SwiftUI.View/deleteDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='deleteDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
dialogSuppressionToggle
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)
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)
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)
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
content
:ViewReference
See SwiftUI.View/digitalCrownAccessory(content:)
for more details on this ViewModifier.
Example:
<Element style="digitalCrownAccessory(content: :content)">
<Child template="content" />
</Element>
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
id
:attr("...")
orString
(required)
See SwiftUI.View/fileDialogCustomizationID(_:)
for more details on this ViewModifier.
Example:
<Element style='fileDialogCustomizationID(attr("id"))' id={@id} />
fileDialogImportsUnresolvedAliases
imports
:attr("...")
orBool
(required)
See SwiftUI.View/fileDialogImportsUnresolvedAliases(_:)
for more details on this ViewModifier.
Example:
<Element style='fileDialogImportsUnresolvedAliases(attr("imports"))' imports={@imports} />
fileImporter
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
content
:SwiftUI/AnyShapeStyle
style
:SwiftUI/FillStyle
See SwiftUI.Shape/fill(_:style:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fill(AnyShapeStyle, style: FillStyle)
end
findDisabled
isDisabled
:attr("...")
orBool
See SwiftUI.View/findDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='findDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
findNavigator
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
enabled
:attr("...")
orBool
(required)
See SwiftUI.View/flipsForRightToLeftLayoutDirection(_:)
for more details on this ViewModifier.
Example:
<Element style='flipsForRightToLeftLayoutDirection(attr("enabled"))' enabled={@enabled} />
focusEffectDisabled
disabled
:attr("...")
orBool
See SwiftUI.View/focusEffectDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='focusEffectDisabled(attr("disabled"))' disabled={@disabled} />
focusScope
namespace
:attr("...")
orString
(required)
See SwiftUI.View/focusScope(_:)
for more details on this ViewModifier.
Example:
<Element style='focusScope(attr("namespace"))' namespace={@namespace} />
focusSection
See SwiftUI.View/focusSection()
for more details on this ViewModifier.
Example:
focusable
isFocusable
:attr("...")
orBool
See SwiftUI.View/focusable(_:)
for more details on this ViewModifier.
Example:
<Element style='focusable(attr("isFocusable"))' isFocusable={@isFocusable} />
isFocusable
:attr("...")
orBool
interactions
: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
:SwiftUI/Font
ornil
See SwiftUI.View/font(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
font(.body)
end
fontDesign
design
:SwiftUI/Font/Design
ornil
See SwiftUI.View/fontDesign(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontDesign(.default)
end
fontWeight
weight
:SwiftUI/Font/Weight
ornil
See SwiftUI.View/fontWeight(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontWeight(.ultraLight)
end
fontWidth
width
:SwiftUI/Font/Width
ornil
See SwiftUI.View/fontWidth(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontWidth(.compressed)
end
foregroundStyle
style
:SwiftUI/AnyShapeStyle
(required)
See SwiftUI.View/foregroundStyle(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
foregroundStyle(AnyShapeStyle)
end
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)
end
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)
end
formStyle
style
:AnyFormStyle
(required)
See SwiftUI.View/formStyle(_:)
for more details on this ViewModifier.
Example:
frame
depth
:attr("...")
orCGFloat
ornil
(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} />
minDepth
:attr("...")
orCGFloat
ornil
idealDepth
:attr("...")
orCGFloat
ornil
maxDepth
:attr("...")
orCGFloat
ornil
alignment
: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} />
width
:attr("...")
orCGFloat
ornil
height
:attr("...")
orCGFloat
ornil
alignment
: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} />
See SwiftUI.View/frame()
for more details on this ViewModifier.
Example:
minWidth
:attr("...")
orCGFloat
ornil
idealWidth
:attr("...")
orCGFloat
ornil
maxWidth
:attr("...")
orCGFloat
ornil
minHeight
:attr("...")
orCGFloat
ornil
idealHeight
:attr("...")
orCGFloat
ornil
maxHeight
:attr("...")
orCGFloat
ornil
alignment
: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
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
style
:AnyGaugeStyle
(required)
See SwiftUI.View/gaugeStyle(_:)
for more details on this ViewModifier.
Example:
glassBackgroundEffect
displayMode
:SwiftUI/GlassBackgroundDisplayMode
See SwiftUI.View/glassBackgroundEffect(displayMode:)
for more details on this ViewModifier.
Example:
in
:AnyInsettableShape
(required)displayMode
:SwiftUI/GlassBackgroundDisplayMode
See SwiftUI.View/glassBackgroundEffect(in:displayMode:)
for more details on this ViewModifier.
Example:
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
count
:attr("...")
orInt
(required)
See SwiftUI.View/gridCellColumns(_:)
for more details on this ViewModifier.
Example:
<Element style='gridCellColumns(attr("count"))' count={@count} />
gridCellUnsizedAxes
axes
:SwiftUI/Axis/Set
(required)
See SwiftUI.View/gridCellUnsizedAxes(_:)
for more details on this ViewModifier.
Example:
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
style
:AnyGroupBoxStyle
(required)
See SwiftUI.View/groupBoxStyle(_:)
for more details on this ViewModifier.
Example:
handGestureShortcut
handPointerBehavior
help
textKey
:SwiftUI/LocalizedStringKey
(required)
See SwiftUI.View/help(_:)
for more details on this ViewModifier.
Example:
text
:TextReference
(required)
See SwiftUI.View/help(_:)
for more details on this ViewModifier.
Example:
<Element style="help(:text)">
<Text template="text">...</Text>
</Element>
text
:attr("...")
orString
(required)
See SwiftUI.View/help(_:)
for more details on this ViewModifier.
Example:
<Element style='help(attr("text"))' text={@text} />
hidden
See SwiftUI.View/hidden()
for more details on this ViewModifier.
Example:
horizontalRadioGroupLayout
See SwiftUI.View/horizontalRadioGroupLayout()
for more details on this ViewModifier.
Example:
hoverEffect
effect
:HoverEffect
See SwiftUI.View/hoverEffect(_:)
for more details on this ViewModifier.
Example:
effect
:HoverEffect
isEnabled
:attr("...")
orBool
See SwiftUI.View/hoverEffect(_:isEnabled:)
for more details on this ViewModifier.
Example:
<Element style='hoverEffect(.automatic, isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />
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
style
:AnyIndexViewStyle
(required)
See SwiftUI.View/indexViewStyle(_:)
for more details on this ViewModifier.
Example:
inspector
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
min
:attr("...")
orCGFloat
ornil
ideal
:attr("...")
orCGFloat
(required)max
:attr("...")
orCGFloat
ornil
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} />
width
:attr("...")
orCGFloat
(required)
See SwiftUI.View/inspectorColumnWidth(_:)
for more details on this ViewModifier.
Example:
<Element style='inspectorColumnWidth(attr("width"))' width={@width} />
interactionActivityTrackingTag
tag
:attr("...")
orString
(required)
See SwiftUI.View/interactionActivityTrackingTag(_:)
for more details on this ViewModifier.
Example:
<Element style='interactionActivityTrackingTag(attr("tag"))' tag={@tag} />
interactiveDismissDisabled
isDisabled
:attr("...")
orBool
See SwiftUI.View/interactiveDismissDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='interactiveDismissDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
intersection
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)
end
invalidatableContent
invalidatable
:attr("...")
orBool
See SwiftUI.View/invalidatableContent(_:)
for more details on this ViewModifier.
Example:
<Element style='invalidatableContent(attr("invalidatable"))' invalidatable={@invalidatable} />
italic
isActive
:attr("...")
orBool
See SwiftUI.View/italic(_:)
for more details on this ViewModifier.
Example:
<Element style='italic(attr("isActive"))' isActive={@isActive} />
kerning
kerning
:attr("...")
orCGFloat
(required)
See SwiftUI.View/kerning(_:)
for more details on this ViewModifier.
Example:
<Element style='kerning(attr("kerning"))' kerning={@kerning} />
keyboardShortcut
key
:KeyEquivalent
(required)modifiers
:SwiftUI/EventModifiers
See SwiftUI.View/keyboardShortcut(_:modifiers:)
for more details on this ViewModifier.
Example:
shortcut
:KeyboardShortcut
(required)
See SwiftUI.View/keyboardShortcut(_:)
for more details on this ViewModifier.
Example:
shortcut
:KeyboardShortcut
ornil
(required)
See SwiftUI.View/keyboardShortcut(_:)
for more details on this ViewModifier.
Example:
key
:KeyEquivalent
(required)modifiers
:SwiftUI/EventModifiers
localization
:KeyboardShortcut.Localization
(required)
See SwiftUI.View/keyboardShortcut(_:modifiers:localization:)
for more details on this ViewModifier.
Example:
keyboardType
type
:UIKeyboardType
(required)
See SwiftUI.View/keyboardType(_:)
for more details on this ViewModifier.
Example:
labelStyle
style
:AnyLabelStyle
(required)
See SwiftUI.View/labelStyle(_:)
for more details on this ViewModifier.
Example:
labeledContentStyle
style
:AnyLabeledContentStyle
(required)
See SwiftUI.View/labeledContentStyle(_:)
for more details on this ViewModifier.
Example:
labelsHidden
See SwiftUI.View/labelsHidden()
for more details on this ViewModifier.
Example:
labelsVisibility
lineIntersection
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)
end
lineSubtraction
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)
end
listItemTint
tint
:ListItemTint/Resolvable
ornil
(required)
See SwiftUI.View/listItemTint(_:)
for more details on this ViewModifier.
Example:
tint
:Color/Resolvable
ornil
(required)
See SwiftUI.View/listItemTint(_:)
for more details on this ViewModifier.
Example:
listRowBackground
view
:InlineViewReference
(required)
See SwiftUI.View/listRowBackground(_:)
for more details on this ViewModifier.
Example:
listRowHoverEffect
effect
:HoverEffect
ornil
(required)
See SwiftUI.View/listRowHoverEffect(_:)
for more details on this ViewModifier.
Example:
listRowHoverEffectDisabled
disabled
:attr("...")
orBool
See SwiftUI.View/listRowHoverEffectDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='listRowHoverEffectDisabled(attr("disabled"))' disabled={@disabled} />
listRowInsets
insets
:SwiftUI/EdgeInsets
ornil
(required)
See SwiftUI.View/listRowInsets(_:)
for more details on this ViewModifier.
Example:
listRowPlatterColor
listRowSeparator
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
color
:Color/Resolvable
ornil
(required)edges
:SwiftUI/VerticalEdge/Set
See SwiftUI.View/listRowSeparatorTint(_:edges:)
for more details on this ViewModifier.
Example:
listRowSpacing
spacing
:attr("...")
orCGFloat
ornil
(required)
See SwiftUI.View/listRowSpacing(_:)
for more details on this ViewModifier.
Example:
<Element style='listRowSpacing(attr("spacing"))' spacing={@spacing} />
listSectionSeparator
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
color
:Color/Resolvable
ornil
(required)edges
:SwiftUI/VerticalEdge/Set
See SwiftUI.View/listSectionSeparatorTint(_:edges:)
for more details on this ViewModifier.
Example:
listSectionSpacing
spacing
:ListSectionSpacing
(required)
See SwiftUI.View/listSectionSpacing(_:)
for more details on this ViewModifier.
Example:
spacing
:attr("...")
orCGFloat
(required)
See SwiftUI.View/listSectionSpacing(_:)
for more details on this ViewModifier.
Example:
<Element style='listSectionSpacing(attr("spacing"))' spacing={@spacing} />
listStyle
style
:AnyListStyle
(required)
See SwiftUI.View/listStyle(_:)
for more details on this ViewModifier.
Example:
mask
alignment
:SwiftUI/Alignment
mask
: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
id
:attr("...")
orString
(required)in
:attr("...")
orString
(required)properties
:SwiftUI/MatchedGeometryProperties
anchor
:SwiftUI/UnitPoint
isSource
: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
visibility
:attr("...")
orSwiftUI/Visibility
(required)
See SwiftUI.View/menuIndicator(_:)
for more details on this ViewModifier.
Example:
<Element style='menuIndicator(attr("visibility"))' visibility={@visibility} />
menuOrder
order
:MenuOrder
(required)
See SwiftUI.View/menuOrder(_:)
for more details on this ViewModifier.
Example:
menuStyle
style
:AnyMenuStyle
(required)
See SwiftUI.View/menuStyle(_:)
for more details on this ViewModifier.
Example:
modifierKeyAlternate
monospaced
isActive
:attr("...")
orBool
See SwiftUI.View/monospaced(_:)
for more details on this ViewModifier.
Example:
<Element style='monospaced(attr("isActive"))' isActive={@isActive} />
monospacedDigit
See SwiftUI.View/monospacedDigit()
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
monospacedDigit()
end
moveDisabled
isDisabled
:attr("...")
orBool
(required)
See SwiftUI.View/moveDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='moveDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
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
displayMode
:NavigationBarItem.TitleDisplayMode
(required)
See SwiftUI.View/navigationBarTitleDisplayMode(_:)
for more details on this ViewModifier.
Example:
navigationDestination
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
width
:attr("...")
orCGFloat
(required)
See SwiftUI.View/navigationSplitViewColumnWidth(_:)
for more details on this ViewModifier.
Example:
<Element style='navigationSplitViewColumnWidth(attr("width"))' width={@width} />
min
:attr("...")
orCGFloat
ornil
ideal
:attr("...")
orCGFloat
(required)max
:attr("...")
orCGFloat
ornil
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
style
:AnyNavigationSplitViewStyle
(required)
See SwiftUI.View/navigationSplitViewStyle(_:)
for more details on this ViewModifier.
Example:
navigationSubtitle
subtitle
:TextReference
(required)
See SwiftUI.View/navigationSubtitle(_:)
for more details on this ViewModifier.
Example:
<Element style="navigationSubtitle(:subtitle)">
<Text template="subtitle">...</Text>
</Element>
subtitleKey
:SwiftUI/LocalizedStringKey
(required)
See SwiftUI.View/navigationSubtitle(_:)
for more details on this ViewModifier.
Example:
subtitle
:attr("...")
orString
(required)
See SwiftUI.View/navigationSubtitle(_:)
for more details on this ViewModifier.
Example:
<Element style='navigationSubtitle(attr("subtitle"))' subtitle={@subtitle} />
navigationTitle
title
:TextReference
(required)
See SwiftUI.View/navigationTitle(_:)
for more details on this ViewModifier.
Example:
<Element style="navigationTitle(:title)">
<Text template="title">...</Text>
</Element>
titleKey
:SwiftUI/LocalizedStringKey
(required)
See SwiftUI.View/navigationTitle(_:)
for more details on this ViewModifier.
Example:
title
:attr("...")
orString
(required)
See SwiftUI.View/navigationTitle(_:)
for more details on this ViewModifier.
Example:
<Element style='navigationTitle(attr("title"))' title={@title} />
title
:ViewReference
See SwiftUI.View/navigationTitle(_:)
for more details on this ViewModifier.
Example:
<Element style="navigationTitle(:title)">
<Child template="title" />
</Element>
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
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
:CoreFoundation/CGSize
(required)
See SwiftUI.View/offset(_:)
for more details on this ViewModifier.
Example:
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} />
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
perform
:event("...")
See SwiftUI.View/onDeleteCommand(perform:)
for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)
onExitCommand
perform
:event("...")
See SwiftUI.View/onExitCommand(perform:)
for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)
onHover
perform
:event("...")
(required)
See SwiftUI.View/onHover(perform:)
for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)
onImmersionChange
onLongPressGesture
minimumDuration
:attr("...")
orDouble
maximumDistance
:attr("...")
orCGFloat
perform
: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)
minimumDuration
:attr("...")
orDouble
perform
: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
minimumDuration
:attr("...")
orDouble
perform
: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
perform
:event("...")
See SwiftUI.View/onMoveCommand(perform:)
for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)
onPencilDoubleTap
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
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
perform
:event("...")
See SwiftUI.View/onPlayPauseCommand(perform:)
for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)
onScrollPhaseChange
onScrollVisibilityChange
onSubmit
of
:SubmitTriggers
action
: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
count
:attr("...")
orInt
perform
: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)
count
:attr("...")
orInt
coordinateSpace
:AnyCoordinateSpaceProtocol
perform
: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
visibility
:attr("...")
orSwiftUI/Visibility
attachmentAnchor
:SwiftUI/OrnamentAttachmentAnchor
(required)contentAlignment
:attr("...")
orSwiftUI/Alignment
ornament
: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
insets
:SwiftUI/EdgeInsets3D
(required)
See SwiftUI.View/padding3D(_:)
for more details on this ViewModifier.
Example:
edges
:SwiftUI/Edge3D/Set
length
:attr("...")
orCGFloat
ornil
See SwiftUI.View/padding3D(_:_:)
for more details on this ViewModifier.
Example:
<Element style='padding3D(_Set_, attr("length"))' length={@length} />
length
:attr("...")
orCGFloat
(required)
See SwiftUI.View/padding3D(_:)
for more details on this ViewModifier.
Example:
<Element style='padding3D(attr("length"))' length={@length} />
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
style
:AnyPickerStyle
(required)
See SwiftUI.View/pickerStyle(_:)
for more details on this ViewModifier.
Example:
pointerStyle
pointerVisibility
popover
isPresented
:attr("...")
for aBool
(required, change tracked)attachmentAnchor
:PopoverAttachmentAnchor
arrowEdge
:SwiftUI/Edge
content
: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
:CoreFoundation/CGPoint
(required)
See SwiftUI.View/position(_:)
for more details on this ViewModifier.
Example:
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
effect
:SwiftUI/SurroundingsEffect
ornil
(required)
See SwiftUI.View/preferredSurroundingsEffect(_:)
for more details on this ViewModifier.
Example:
prefersDefaultFocus
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
style
:SwiftUI/AnyShapeStyle/Resolvable
(required)
See SwiftUI.View/presentationBackground(_:)
for more details on this ViewModifier.
Example:
alignment
:attr("...")
orSwiftUI/Alignment
content
: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
interaction
:PresentationBackgroundInteraction
(required)
See SwiftUI.View/presentationBackgroundInteraction(_:)
for more details on this ViewModifier.
Example:
presentationCompactAdaptation
adaptation
:PresentationAdaptation
(required)
See SwiftUI.View/presentationCompactAdaptation(_:)
for more details on this ViewModifier.
Example:
horizontal
:PresentationAdaptation
(required)vertical
:PresentationAdaptation
(required)
See SwiftUI.View/presentationCompactAdaptation(horizontal:vertical:)
for more details on this ViewModifier.
Example:
presentationContentInteraction
behavior
:PresentationContentInteraction
(required)
See SwiftUI.View/presentationContentInteraction(_:)
for more details on this ViewModifier.
Example:
presentationCornerRadius
cornerRadius
:attr("...")
orCGFloat
ornil
(required)
See SwiftUI.View/presentationCornerRadius(_:)
for more details on this ViewModifier.
Example:
<Element style='presentationCornerRadius(attr("cornerRadius"))' cornerRadius={@cornerRadius} />
presentationDetents
detents
: Array ofPresentationDetent
(required)
See SwiftUI.View/presentationDetents(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
presentationDetents([.medium, .large])
end
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
value
:attr("...")
orString
ornil
(required)
See SwiftUI.View/previewDisplayName(_:)
for more details on this ViewModifier.
Example:
<Element style='previewDisplayName(attr("value"))' value={@value} />
progressViewStyle
style
:AnyProgressViewStyle
(required)
See SwiftUI.View/progressViewStyle(_:)
for more details on this ViewModifier.
Example:
projectionEffect
transform
:SwiftUI/ProjectionTransform
(required)
See SwiftUI.View/projectionEffect(_:)
for more details on this ViewModifier.
Example:
refreshable
action
:event("...")
(required)
See SwiftUI.View/refreshable(action:)
for more details on this ViewModifier.
Example:
def handle_event("action", params, socket)
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
:SwiftUI/Image/TemplateRenderingMode
ornil
(required)
See SwiftUI.Image/renderingMode(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
renderingMode(.template)
end
replaceDisabled
isDisabled
:attr("...")
orBool
See SwiftUI.View/replaceDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='replaceDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
resizable
capInsets
:SwiftUI/EdgeInsets
resizingMode
:SwiftUI/Image/ResizingMode
See SwiftUI.Image/resizable(capInsets:resizingMode:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
resizable(capInsets: EdgeInsets, resizingMode: .tile)
end
rotation
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)
end
rotation3DEffect
angle
:SwiftUI/Angle
(required)axis
: Tuple with structure(x: CGFloat, y: CGFloat, z: CGFloat)
(required)anchor
:SwiftUI/UnitPoint
anchorZ
:attr("...")
orCGFloat
perspective
: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
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
edges
:SwiftUI/Edge/Set
See SwiftUI.View/scenePadding(_:)
for more details on this ViewModifier.
Example:
padding
:ScenePadding
(required)edges
:SwiftUI/Edge/Set
See SwiftUI.View/scenePadding(_:edges:)
for more details on this ViewModifier.
Example:
scrollBounceBehavior
behavior
:ScrollBounceBehavior
(required)axes
:SwiftUI/Axis/Set
See SwiftUI.View/scrollBounceBehavior(_:axes:)
for more details on this ViewModifier.
Example:
scrollClipDisabled
disabled
:attr("...")
orBool
See SwiftUI.View/scrollClipDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='scrollClipDisabled(attr("disabled"))' disabled={@disabled} />
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
disabled
:attr("...")
orBool
(required)
See SwiftUI.View/scrollDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='scrollDisabled(attr("disabled"))' disabled={@disabled} />
scrollDismissesKeyboard
mode
:ScrollDismissesKeyboardMode
(required)
See SwiftUI.View/scrollDismissesKeyboard(_:)
for more details on this ViewModifier.
Example:
scrollIndicators
visibility
:ScrollIndicatorVisibility
(required)axes
:SwiftUI/Axis/Set
See SwiftUI.View/scrollIndicators(_:axes:)
for more details on this ViewModifier.
Example:
scrollIndicatorsFlash
trigger
:attr("...")
orString
(required)
See SwiftUI.View/scrollIndicatorsFlash(trigger:)
for more details on this ViewModifier.
Example:
<Element style='scrollIndicatorsFlash(trigger: attr("trigger"))' trigger={@trigger} />
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
id
:attr("...")
for aString
ornil
(required, change tracked)anchor
:attr("...")
orSwiftUI/UnitPoint
ornil
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
behavior
:AnyScrollTargetBehavior
(required)
See SwiftUI.View/scrollTargetBehavior(_:)
for more details on this ViewModifier.
Example:
scrollTargetLayout
isEnabled
:attr("...")
orBool
See SwiftUI.View/scrollTargetLayout(isEnabled:)
for more details on this ViewModifier.
Example:
<Element style='scrollTargetLayout(isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />
searchCompletion
token
: atom (required)
See SwiftUI.View/searchCompletion(_:)
for more details on this ViewModifier.
Example:
<Element style="searchCompletion(:token)" />
completion
:attr("...")
orString
(required)
See SwiftUI.View/searchCompletion(_:)
for more details on this ViewModifier.
Example:
<Element style='searchCompletion(attr("completion"))' completion={@completion} />
searchDictationBehavior
dictationBehavior
:TextInputDictationBehavior
(required)
See SwiftUI.View/searchDictationBehavior(_:)
for more details on this ViewModifier.
Example:
searchPresentationToolbarBehavior
behavior
:SearchPresentationToolbarBehavior
(required)
See SwiftUI.View/searchPresentationToolbarBehavior(_:)
for more details on this ViewModifier.
Example:
searchScopes
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)
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
suggestions
:ViewReference
See SwiftUI.View/searchSuggestions(_:)
for more details on this ViewModifier.
Example:
<Element style="searchSuggestions(:suggestions)">
<Child template="suggestions" />
</Element>
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
text
:attr("...")
for aString
(required, change tracked)placement
:SearchFieldPlacement
prompt
:TextReference
ornil
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)
text
:attr("...")
for aString
(required, change tracked)placement
:SearchFieldPlacement
prompt
: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)
text
:attr("...")
for aString
(required, change tracked)placement
:SearchFieldPlacement
prompt
: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)
text
:attr("...")
for aString
(required, change tracked)isPresented
:attr("...")
for aBool
(required, change tracked)placement
:SearchFieldPlacement
prompt
:TextReference
ornil
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)
text
:attr("...")
for aString
(required, change tracked)isPresented
:attr("...")
for aBool
(required, change tracked)placement
:SearchFieldPlacement
prompt
: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)
text
:attr("...")
for aString
(required, change tracked)isPresented
:attr("...")
for aBool
(required, change tracked)placement
:SearchFieldPlacement
prompt
: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
isDisabled
:attr("...")
orBool
See SwiftUI.View/selectionDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='selectionDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
sheet
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
value
:attr("...")
orDouble
(required)
See SwiftUI.View/speechAdjustedPitch(_:)
for more details on this ViewModifier.
Example:
<Element style='speechAdjustedPitch(attr("value"))' value={@value} />
speechAlwaysIncludesPunctuation
value
:attr("...")
orBool
See SwiftUI.View/speechAlwaysIncludesPunctuation(_:)
for more details on this ViewModifier.
Example:
<Element style='speechAlwaysIncludesPunctuation(attr("value"))' value={@value} />
speechAnnouncementsQueued
value
:attr("...")
orBool
See SwiftUI.View/speechAnnouncementsQueued(_:)
for more details on this ViewModifier.
Example:
<Element style='speechAnnouncementsQueued(attr("value"))' value={@value} />
speechSpellsOutCharacters
value
:attr("...")
orBool
See SwiftUI.View/speechSpellsOutCharacters(_:)
for more details on this ViewModifier.
Example:
<Element style='speechSpellsOutCharacters(attr("value"))' value={@value} />
statusBar
statusBarHidden
hidden
:attr("...")
orBool
See SwiftUI.View/statusBarHidden(_:)
for more details on this ViewModifier.
Example:
<Element style='statusBarHidden(attr("hidden"))' hidden={@hidden} />
strikethrough
isActive
:attr("...")
orBool
pattern
:SwiftUI/Text/LineStyle/Pattern
color
:attr("...")
orSwiftUI/Color
ornil
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
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} />
content
:SwiftUI/AnyShapeStyle
(required)lineWidth
:attr("...")
orCGFloat
antialiased
: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
(required)
See SwiftUI.View/submitLabel(_:)
for more details on this ViewModifier.
Example:
submitScope
isBlocking
:attr("...")
orBool
See SwiftUI.View/submitScope(_:)
for more details on this ViewModifier.
Example:
<Element style='submitScope(attr("isBlocking"))' isBlocking={@isBlocking} />
subtracting
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)
end
supportedVolumeViewpoints
swipeActions
edge
:SwiftUI/HorizontalEdge
allowsFullSwipe
:attr("...")
orBool
content
: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
effect
:AnyIndefiniteSymbolEffect
(required)options
:SymbolEffectOptions
isActive
: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} />
effect
:AnyDiscreteSymbolEffect
(required)options
:SymbolEffectOptions
value
: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
isEnabled
:attr("...")
orBool
See SwiftUI.View/symbolEffectsRemoved(_:)
for more details on this ViewModifier.
Example:
<Element style='symbolEffectsRemoved(attr("isEnabled"))' isEnabled={@isEnabled} />
symmetricDifference
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)
end
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
style
:AnyTabViewStyle
(required)
See SwiftUI.View/tabViewStyle(_:)
for more details on this ViewModifier.
Example:
tableStyle
style
:AnyTableStyle
(required)
See SwiftUI.View/tableStyle(_:)
for more details on this ViewModifier.
Example:
textContentType
textContentType
:UITextContentType
ornil
(required)
See SwiftUI.View/textContentType(_:)
for more details on this ViewModifier.
Example:
textEditorStyle
style
:AnyTextEditorStyle
(required)
See SwiftUI.View/textEditorStyle(_:)
for more details on this ViewModifier.
Example:
textFieldStyle
style
:AnyTextFieldStyle
(required)
See SwiftUI.View/textFieldStyle(_:)
for more details on this ViewModifier.
Example:
textInputAutocapitalization
autocapitalization
:TextInputAutocapitalization
ornil
(required)
See SwiftUI.View/textInputAutocapitalization(_:)
for more details on this ViewModifier.
Example:
textInputCompletion
textInputSuggestions
textScale
scale
:SwiftUI/Text/Scale
isEnabled
:attr("...")
orBool
See SwiftUI.View/textScale(_:isEnabled:)
for more details on this ViewModifier.
Example:
<Element style='textScale(.default, isEnabled: attr("isEnabled"))' isEnabled={@isEnabled} />
textSelection
selectability
:AnyTextSelectability
(required)
See SwiftUI.View/textSelection(_:)
for more details on this ViewModifier.
Example:
textSelectionAffinity
toggleStyle
style
:AnyToggleStyle
(required)
See SwiftUI.View/toggleStyle(_:)
for more details on this ViewModifier.
Example:
toolbar
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} />
removing
:ToolbarDefaultItemKind
ornil
(required)
See SwiftUI.View/toolbar(removing:)
for more details on this ViewModifier.
Example:
content
:ToolbarContentReference
See SwiftUI.View/toolbar(content:)
for more details on this ViewModifier.
Example:
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
style
:SwiftUI/AnyShapeStyle/Resolvable
(required)for
:ToolbarPlacement
(required)
See SwiftUI.View/toolbarBackground(_:for:)
for more details on this ViewModifier.
Example:
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
colorScheme
:attr("...")
orSwiftUI/ColorScheme
ornil
(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
role
:ToolbarRole
(required)
See SwiftUI.View/toolbarRole(_:)
for more details on this ViewModifier.
Example:
toolbarTitleDisplayMode
mode
:ToolbarTitleDisplayMode
(required)
See SwiftUI.View/toolbarTitleDisplayMode(_:)
for more details on this ViewModifier.
Example:
toolbarTitleMenu
toolbarVisibility
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
principal
:attr("...")
orBool
See SwiftUI.View/touchBarItemPrincipal(_:)
for more details on this ViewModifier.
Example:
<Element style='touchBarItemPrincipal(attr("principal"))' principal={@principal} />
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
:CoreGraphics/CGAffineTransform
(required)
See SwiftUI.Shape/transform(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
transform(.identity)
end
transform3DEffect
transform
:Spatial/AffineTransform3D
(required)
See SwiftUI.View/transform3DEffect(_:)
for more details on this ViewModifier.
Example:
transformEffect
transform
:CGAffineTransform
(required)
See SwiftUI.View/transformEffect(_:)
for more details on this ViewModifier.
Example:
underline
isActive
:attr("...")
orBool
pattern
:SwiftUI/Text/LineStyle/Pattern
color
:attr("...")
orSwiftUI/Color
ornil
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
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)
end
upperLimbVisibility
preferredVisibility
:attr("...")
orSwiftUI/Visibility
(required)
See SwiftUI.View/upperLimbVisibility(_:)
for more details on this ViewModifier.
Example:
<Element style='upperLimbVisibility(attr("preferredVisibility"))' preferredVisibility={@preferredVisibility} />