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
: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)
alert(_:isPresented:actions:message:)
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)
alert(_:isPresented:actions:message:)
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)
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} />
allowsTightening
allowsTightening(_:)
flag
:attr("...")
orBool
(required)
See SwiftUI.View/allowsTightening(_:)
for more details on this ViewModifier.
Example:
<Element style='allowsTightening(attr("flag"))' flag={@flag} />
animation
animation(_:value:)
See SwiftUI.View/animation(_:value:)
for more details on this ViewModifier.
Example:
<Element style='animation(nil, value: attr("value"))' value={@value} />
aspectRatio
aspectRatio(_:contentMode:)
aspectRatio
:attr("...")
orCGFloat
ornil
contentMode
:ContentMode
(required)
See SwiftUI.View/aspectRatio(_:contentMode:)
for more details on this ViewModifier.
Example:
<Element style='aspectRatio(attr("aspectRatio"), contentMode: _ContentMode_)' aspectRatio={@aspectRatio} />
aspectRatio(_:contentMode:)
aspectRatio
:CoreFoundation/CGSize
(required)contentMode
:ContentMode
(required)
See SwiftUI.View/aspectRatio(_:contentMode:)
for more details on this ViewModifier.
Example:
autocorrectionDisabled
autocorrectionDisabled(_:)
disable
:attr("...")
orBool
See SwiftUI.View/autocorrectionDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='autocorrectionDisabled(attr("disable"))' disable={@disable} />
background
background(alignment:content:)
alignment
:attr("...")
orAlignment
content
:ViewReference
See SwiftUI.View/background(alignment:content:)
for more details on this ViewModifier.
Example:
<Element style='background(alignment: attr("alignment"), content: :content)' alignment={@alignment}>
<Child template="content" />
</Element>
background(ignoresSafeAreaEdges:)
ignoresSafeAreaEdges
:Edge.Set
See SwiftUI.View/background(ignoresSafeAreaEdges:)
for more details on this ViewModifier.
Example:
background(_:ignoresSafeAreaEdges:)
style
:AnyShapeStyle.Resolvable
(required)ignoresSafeAreaEdges
:Edge.Set
See SwiftUI.View/background(_:ignoresSafeAreaEdges:)
for more details on this ViewModifier.
Example:
background(in:fillStyle:)
in
:AnyShape
(required)fillStyle
:FillStyle
See SwiftUI.View/background(in:fillStyle:)
for more details on this ViewModifier.
Example:
background(_:in:fillStyle:)
style
:AnyShapeStyle.Resolvable
(required)in
:AnyShape
(required)fillStyle
:FillStyle
See SwiftUI.View/background(_:in:fillStyle:)
for more details on this ViewModifier.
Example:
background(in:fillStyle:)
in
:AnyInsettableShape
(required)fillStyle
:FillStyle
See SwiftUI.View/background(in:fillStyle:)
for more details on this ViewModifier.
Example:
background(_:in:fillStyle:)
style
:AnyShapeStyle.Resolvable
(required)in
:AnyInsettableShape
(required)fillStyle
:FillStyle
See SwiftUI.View/background(_:in:fillStyle:)
for more details on this ViewModifier.
Example:
backgroundStyle
backgroundStyle(_:)
style
:AnyShapeStyle.Resolvable
(required)
See SwiftUI.View/backgroundStyle(_:)
for more details on this ViewModifier.
Example:
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
:TextReference
ornil
(required)
See SwiftUI.View/badge(_:)
for more details on this ViewModifier.
Example:
<Element style="badge(:label)">
<Text template="label">...</Text>
</Element>
badge(_:)
key
:SwiftUI/LocalizedStringKey
ornil
(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} />
blendMode
blendMode(_:)
blendMode
:BlendMode
(required)
See SwiftUI.View/blendMode(_:)
for more details on this ViewModifier.
Example:
blur
blur(radius:opaque:)
See SwiftUI.View/blur(radius:opaque:)
for more details on this ViewModifier.
Example:
<Element style='blur(radius: attr("radius"), opaque: attr("opaque"))' radius={@radius} opaque={@opaque} />
bold
bold(_:)
isActive
:attr("...")
orBool
See SwiftUI.View/bold(_:)
for more details on this ViewModifier.
Example:
<Element style='bold(attr("isActive"))' isActive={@isActive} />
border
border(_:width:)
content
:AnyShapeStyle.Resolvable
(required)width
:attr("...")
orCGFloat
See SwiftUI.View/border(_:width:)
for more details on this ViewModifier.
Example:
<Element style='border(_Resolvable_, width: attr("width"))' width={@width} />
brightness
brightness(_:)
amount
:attr("...")
orDouble
(required)
See SwiftUI.View/brightness(_:)
for more details on this ViewModifier.
Example:
<Element style='brightness(attr("amount"))' amount={@amount} />
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:
clipShape
clipShape(_:style:)
shape
:AnyShape
(required)style
:FillStyle
See SwiftUI.View/clipShape(_:style:)
for more details on this ViewModifier.
Example:
clipped
clipped(antialiased:)
antialiased
:attr("...")
orBool
See SwiftUI.View/clipped(antialiased:)
for more details on this ViewModifier.
Example:
<Element style='clipped(antialiased: attr("antialiased"))' antialiased={@antialiased} />
colorInvert
colorInvert()
See SwiftUI.View/colorInvert()
for more details on this ViewModifier.
Example:
colorMultiply
colorMultiply(_:)
color
:Color/Resolvable
(required)
See SwiftUI.View/colorMultiply(_:)
for more details on this ViewModifier.
Example:
compositingGroup
compositingGroup()
See SwiftUI.View/compositingGroup()
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("...")
orVisibility
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)
confirmationDialog(_:isPresented:titleVisibility:actions:)
title
:attr("...")
orString
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orVisibility
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)
confirmationDialog(_:isPresented:titleVisibility:actions:)
title
:TextReference
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orVisibility
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)
confirmationDialog(_:isPresented:titleVisibility:actions:message:)
titleKey
:SwiftUI/LocalizedStringKey
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orVisibility
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)
confirmationDialog(_:isPresented:titleVisibility:actions:message:)
title
:attr("...")
orString
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orVisibility
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)
confirmationDialog(_:isPresented:titleVisibility:actions:message:)
title
:TextReference
(required)isPresented
:attr("...")
for aBool
(required, change tracked)titleVisibility
:attr("...")
orVisibility
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
containerRelativeFrame(_: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
:Axis.Set
(required)count
:attr("...")
orInt
(required)span
:attr("...")
orInt
spacing
:attr("...")
orCGFloat
(required)alignment
:attr("...")
orAlignment
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} />
containerShape
containerShape(_:)
shape
:AnyInsettableShape
(required)
See SwiftUI.View/containerShape(_:)
for more details on this ViewModifier.
Example:
contentMargins
contentMargins(::for:)
edges
:Edge.Set
insets
:EdgeInsets
(required)for
:ContentMarginPlacement
See SwiftUI.View/contentMargins(_:_:for:)
for more details on this ViewModifier.
Example:
contentMargins(::for:)
edges
: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} />
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
: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} />
contentTransition
contentTransition(_:)
transition
:ContentTransition
(required)
See SwiftUI.View/contentTransition(_:)
for more details on this ViewModifier.
Example:
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
: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>
contrast
contrast(_:)
amount
:attr("...")
orDouble
(required)
See SwiftUI.View/contrast(_:)
for more details on this ViewModifier.
Example:
<Element style='contrast(attr("amount"))' amount={@amount} />
controlGroupStyle
controlGroupStyle(_:)
style
:AnyControlGroupStyle
(required)
See SwiftUI.View/controlGroupStyle(_:)
for more details on this ViewModifier.
Example:
controlSize
controlSize(_:)
controlSize
:ControlSize
(required)
See SwiftUI.View/controlSize(_:)
for more details on this ViewModifier.
Example:
coordinateSpace
coordinateSpace(_:)
name
: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:
defaultHoverEffect
defaultHoverEffect(_:)
effect
:HoverEffect
ornil
(required)
See SwiftUI.View/defaultHoverEffect(_:)
for more details on this ViewModifier.
Example:
defaultScrollAnchor
defaultScrollAnchor(_:)
anchor
:attr("...")
orUnitPoint
ornil
(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
: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("...")
orVisibility
(required)
See SwiftUI.View/digitalCrownAccessory(_:)
for more details on this ViewModifier.
Example:
<Element style='digitalCrownAccessory(attr("visibility"))' visibility={@visibility} />
disabled
disabled(_:)
disabled
:attr("...")
orBool
(required)
See SwiftUI.View/disabled(_:)
for more details on this ViewModifier.
Example:
<Element style='disabled(attr("disabled"))' disabled={@disabled} />
drawingGroup
drawingGroup(opaque:colorMode:)
opaque
:attr("...")
orBool
colorMode
:ColorRenderingMode
See SwiftUI.View/drawingGroup(opaque:colorMode:)
for more details on this ViewModifier.
Example:
<Element style='drawingGroup(opaque: attr("opaque"), colorMode: .nonLinear)' opaque={@opaque} />
dynamicTypeSize
dynamicTypeSize(_:)
size
:DynamicTypeSize
(required)
See SwiftUI.View/dynamicTypeSize(_:)
for more details on this ViewModifier.
Example:
dynamicTypeSize(_:)
range
:ParseableRangeExpression
<DynamicTypeSize
> (required)
See SwiftUI.View/dynamicTypeSize(_:)
for more details on this ViewModifier.
Example:
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} />
fill
fill(_:style:)
content
:AnyShapeStyle
style
:FillStyle
See SwiftUI.Shape/fill(_:style:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fill(AnyShapeStyle, style: FillStyle)
end
findDisabled
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)
fixedSize
fixedSize(horizontal:vertical:)
See SwiftUI.View/fixedSize(horizontal:vertical:)
for more details on this ViewModifier.
Example:
<Element style='fixedSize(horizontal: attr("horizontal"), vertical: attr("vertical"))' horizontal={@horizontal} vertical={@vertical} />
fixedSize()
See SwiftUI.View/fixedSize()
for more details on this ViewModifier.
Example:
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("...")
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(_:)
font
:Font
ornil
See SwiftUI.View/font(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
font(.body)
end
fontDesign
fontDesign(_:)
design
:Font.Design
ornil
See SwiftUI.View/fontDesign(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontDesign(.default)
end
fontWeight
fontWeight(_:)
weight
:Font.Weight
ornil
See SwiftUI.View/fontWeight(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontWeight(.ultraLight)
end
fontWidth
fontWidth(_:)
width
:Font.Width
ornil
See SwiftUI.View/fontWidth(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
fontWidth(.compressed)
end
foregroundStyle
foregroundStyle(_:)
style
:AnyShapeStyle
(required)
See SwiftUI.View/foregroundStyle(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
foregroundStyle(AnyShapeStyle)
end
foregroundStyle(::)
primary
:AnyShapeStyle
(required)secondary
:AnyShapeStyle
(required)
See SwiftUI.View/foregroundStyle(_:_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
foregroundStyle(AnyShapeStyle, AnyShapeStyle)
end
foregroundStyle(::_:)
primary
:AnyShapeStyle
(required)secondary
:AnyShapeStyle
(required)tertiary
:AnyShapeStyle
(required)
See SwiftUI.View/foregroundStyle(_:_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
foregroundStyle(AnyShapeStyle, AnyShapeStyle, AnyShapeStyle)
end
formStyle
formStyle(_:)
style
:AnyFormStyle
(required)
See SwiftUI.View/formStyle(_:)
for more details on this ViewModifier.
Example:
frame
frame(depth:alignment:)
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} />
frame(minDepth:idealDepth:maxDepth:alignment:)
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} />
frame(width:height:alignment:)
width
:attr("...")
orCGFloat
ornil
height
:attr("...")
orCGFloat
ornil
alignment
:attr("...")
orAlignment
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("...")
orCGFloat
ornil
idealWidth
:attr("...")
orCGFloat
ornil
maxWidth
:attr("...")
orCGFloat
ornil
minHeight
:attr("...")
orCGFloat
ornil
idealHeight
:attr("...")
orCGFloat
ornil
maxHeight
:attr("...")
orCGFloat
ornil
alignment
:attr("...")
orAlignment
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:
geometryGroup
geometryGroup()
See SwiftUI.View/geometryGroup()
for more details on this ViewModifier.
Example:
gesture
gesture(_:including:)
gesture
:_AnyGesture
(required)including
:GestureMask
See SwiftUI.View/gesture(_:including:)
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:
grayscale
grayscale(_:)
amount
:attr("...")
orDouble
(required)
See SwiftUI.View/grayscale(_:)
for more details on this ViewModifier.
Example:
<Element style='grayscale(attr("amount"))' amount={@amount} />
gridCellAnchor
gridCellAnchor(_:)
anchor
:attr("...")
orUnitPoint
(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
:Axis.Set
(required)
See SwiftUI.View/gridCellUnsizedAxes(_:)
for more details on this ViewModifier.
Example:
gridColumnAlignment
gridColumnAlignment(_:)
guide
:attr("...")
orHorizontalAlignment
(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:
headerProminence
headerProminence(_:)
prominence
:Prominence
(required)
See SwiftUI.View/headerProminence(_:)
for more details on this ViewModifier.
Example:
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:
highPriorityGesture
highPriorityGesture(_:including:)
gesture
:_AnyGesture
(required)including
:GestureMask
See SwiftUI.View/highPriorityGesture(_:including:)
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
: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
hoverEffectDisabled(_:)
disabled
:attr("...")
orBool
See SwiftUI.View/hoverEffectDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='hoverEffectDisabled(attr("disabled"))' disabled={@disabled} />
hueRotation
hueRotation(_:)
angle
:attr("...")
orAngle
(required)
See SwiftUI.View/hueRotation(_:)
for more details on this ViewModifier.
Example:
<Element style='hueRotation(attr("angle"))' angle={@angle} />
ignoresSafeArea
ignoresSafeArea(_:edges:)
regions
:SafeAreaRegions
edges
:Edge.Set
See SwiftUI.View/ignoresSafeArea(_:edges:)
for more details on this ViewModifier.
Example:
imageScale
imageScale(_:)
scale
:Image.Scale
(required)
See SwiftUI.View/imageScale(_:)
for more details on this ViewModifier.
Example:
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("...")
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} />
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:)
See SwiftUI.Shape/intersection(_:eoFill:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
intersection(.rect, eoFill: false)
end
invalidatableContent
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
: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
:KeyboardShortcut
ornil
(required)
See SwiftUI.View/keyboardShortcut(_:)
for more details on this ViewModifier.
Example:
keyboardShortcut(_:modifiers:localization:)
key
:KeyEquivalent
(required)modifiers
:EventModifiers
localization
: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:
layoutPriority
layoutPriority(_:)
value
:attr("...")
orDouble
(required)
See SwiftUI.View/layoutPriority(_:)
for more details on this ViewModifier.
Example:
<Element style='layoutPriority(attr("value"))' value={@value} />
lineIntersection
lineIntersection(_:eoFill:)
See SwiftUI.Shape/lineIntersection(_:eoFill:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
lineIntersection(.rect, eoFill: false)
end
lineLimit
lineLimit(_:)
number
:attr("...")
orInt
ornil
(required)
See SwiftUI.View/lineLimit(_:)
for more details on this ViewModifier.
Example:
<Element style='lineLimit(attr("number"))' number={@number} />
lineLimit(_:)
limit
:PartialRangeFrom
(required)
See SwiftUI.View/lineLimit(_:)
for more details on this ViewModifier.
Example:
lineLimit(_:)
limit
:PartialRangeThrough
(required)
See SwiftUI.View/lineLimit(_:)
for more details on this ViewModifier.
Example:
lineLimit(_:)
limit
:ClosedRange
(required)
See SwiftUI.View/lineLimit(_:)
for more details on this ViewModifier.
Example:
lineLimit(_:reservesSpace:)
See SwiftUI.View/lineLimit(_:reservesSpace:)
for more details on this ViewModifier.
Example:
<Element style='lineLimit(attr("limit"), reservesSpace: attr("reservesSpace"))' limit={@limit} reservesSpace={@reservesSpace} />
lineSpacing
lineSpacing(_:)
lineSpacing
:attr("...")
orCGFloat
(required)
See SwiftUI.View/lineSpacing(_:)
for more details on this ViewModifier.
Example:
<Element style='lineSpacing(attr("lineSpacing"))' lineSpacing={@lineSpacing} />
lineSubtraction
lineSubtraction(_:eoFill:)
See SwiftUI.Shape/lineSubtraction(_:eoFill:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
lineSubtraction(.rect, eoFill: false)
end
listItemTint
listItemTint(_:)
tint
:ListItemTint/Resolvable
ornil
(required)
See SwiftUI.View/listItemTint(_:)
for more details on this ViewModifier.
Example:
listItemTint(_:)
tint
:Color/Resolvable
ornil
(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
:HoverEffect
ornil
(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
:EdgeInsets
ornil
(required)
See SwiftUI.View/listRowInsets(_:)
for more details on this ViewModifier.
Example:
listRowSeparator
listRowSeparator(_:edges:)
visibility
:attr("...")
orVisibility
(required)edges
: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/Resolvable
ornil
(required)edges
:VerticalEdge.Set
See SwiftUI.View/listRowSeparatorTint(_:edges:)
for more details on this ViewModifier.
Example:
listRowSpacing
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
listSectionSeparator(_:edges:)
visibility
:attr("...")
orVisibility
(required)edges
: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/Resolvable
ornil
(required)edges
: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:
luminanceToAlpha
luminanceToAlpha()
See SwiftUI.View/luminanceToAlpha()
for more details on this ViewModifier.
Example:
mask
mask(alignment:mask:)
alignment
: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
matchedGeometryEffect(id:in:properties:anchor:isSource:)
id
:attr("...")
orString
(required)in
:attr("...")
orString
(required)properties
:MatchedGeometryProperties
anchor
: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} />
menuIndicator
menuIndicator(_:)
visibility
:attr("...")
orVisibility
(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:
minimumScaleFactor
minimumScaleFactor(_:)
factor
:attr("...")
orCGFloat
(required)
See SwiftUI.View/minimumScaleFactor(_:)
for more details on this ViewModifier.
Example:
<Element style='minimumScaleFactor(attr("factor"))' factor={@factor} />
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()
end
moveDisabled
moveDisabled(_:)
isDisabled
:attr("...")
orBool
(required)
See SwiftUI.View/moveDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='moveDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
multilineTextAlignment
multilineTextAlignment(_:)
alignment
:TextAlignment
(required)
See SwiftUI.View/multilineTextAlignment(_:)
for more details on this ViewModifier.
Example:
navigationBarBackButtonHidden
navigationBarBackButtonHidden(_:)
hidesBackButton
:attr("...")
orBool
See SwiftUI.View/navigationBarBackButtonHidden(_:)
for more details on this ViewModifier.
Example:
<Element style='navigationBarBackButtonHidden(attr("hidesBackButton"))' hidesBackButton={@hidesBackButton} />
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("...")
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
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)
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} />
onAppear
onAppear(perform:)
perform
:event("...")
See SwiftUI.View/onAppear(perform:)
for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)
onDeleteCommand
onDeleteCommand(perform:)
perform
:event("...")
See SwiftUI.View/onDeleteCommand(perform:)
for more details on this ViewModifier.
Example:
def handle_event("perform", params, socket)
onDisappear
onDisappear(perform:)
perform
:event("...")
See SwiftUI.View/onDisappear(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)
onLongPressGesture
onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)
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)
onLongPressGesture(minimumDuration:perform:onPressingChanged:)
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
onLongTouchGesture(minimumDuration:perform:onTouchingChanged:)
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)
onMoveCommand
onMoveCommand(perform:)
perform
:event("...")
See SwiftUI.View/onMoveCommand(perform:)
for more details on this ViewModifier.
Example:
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)
onSubmit
onSubmit(of:action:)
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
onTapGesture(count:perform:)
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)
onTapGesture(count:coordinateSpace:perform:)
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)
opacity
opacity(_:)
opacity
:attr("...")
orDouble
(required)
See SwiftUI.View/opacity(_:)
for more details on this ViewModifier.
Example:
<Element style='opacity(attr("opacity"))' opacity={@opacity} />
ornament
ornament(visibility:attachmentAnchor:contentAlignment:ornament:)
visibility
:attr("...")
orVisibility
attachmentAnchor
:SwiftUI/OrnamentAttachmentAnchor
(required)contentAlignment
:attr("...")
orAlignment
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>
overlay
overlay(alignment:content:)
alignment
:attr("...")
orAlignment
content
:ViewReference
See SwiftUI.View/overlay(alignment:content:)
for more details on this ViewModifier.
Example:
<Element style='overlay(alignment: attr("alignment"), content: :content)' alignment={@alignment}>
<Child template="content" />
</Element>
overlay(_:ignoresSafeAreaEdges:)
style
:AnyShapeStyle.Resolvable
(required)ignoresSafeAreaEdges
:Edge.Set
See SwiftUI.View/overlay(_:ignoresSafeAreaEdges:)
for more details on this ViewModifier.
Example:
overlay(_:in:fillStyle:)
style
:AnyShapeStyle.Resolvable
(required)in
:AnyShape
(required)fillStyle
:FillStyle
See SwiftUI.View/overlay(_:in:fillStyle:)
for more details on this ViewModifier.
Example:
padding
padding(_:)
insets
:EdgeInsets
(required)
See SwiftUI.View/padding(_:)
for more details on this ViewModifier.
Example:
padding(::)
See SwiftUI.View/padding(_:_:)
for more details on this ViewModifier.
Example:
<Element style='padding(_Set_, attr("length"))' length={@length} />
padding(_:)
length
:attr("...")
orCGFloat
(required)
See SwiftUI.View/padding(_:)
for more details on this ViewModifier.
Example:
<Element style='padding(attr("length"))' length={@length} />
padding3D
padding3D(_:)
insets
:SwiftUI/EdgeInsets3D
(required)
See SwiftUI.View/padding3D(_:)
for more details on this ViewModifier.
Example:
padding3D(::)
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} />
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("...")
orVisibility
(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:
popover
popover(isPresented:attachmentAnchor:arrowEdge:content:)
isPresented
:attr("...")
for aBool
(required, change tracked)attachmentAnchor
:PopoverAttachmentAnchor
arrowEdge
: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(_:)
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} />
preferredColorScheme
preferredColorScheme(_:)
colorScheme
:attr("...")
orColorScheme
ornil
(required)
See SwiftUI.View/preferredColorScheme(_:)
for more details on this ViewModifier.
Example:
<Element style='preferredColorScheme(attr("colorScheme"))' colorScheme={@colorScheme} />
preferredSurroundingsEffect
preferredSurroundingsEffect(_:)
effect
:SwiftUI/SurroundingsEffect
ornil
(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
:AnyShapeStyle.Resolvable
(required)
See SwiftUI.View/presentationBackground(_:)
for more details on this ViewModifier.
Example:
presentationBackground(alignment:content:)
alignment
:attr("...")
orAlignment
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
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("...")
orCGFloat
ornil
(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])
end
presentationDragIndicator
presentationDragIndicator(_:)
visibility
:attr("...")
orVisibility
(required)
See SwiftUI.View/presentationDragIndicator(_:)
for more details on this ViewModifier.
Example:
<Element style='presentationDragIndicator(attr("visibility"))' visibility={@visibility} />
previewDisplayName
previewDisplayName(_:)
value
:attr("...")
orString
ornil
(required)
See SwiftUI.View/previewDisplayName(_:)
for more details on this ViewModifier.
Example:
<Element style='previewDisplayName(attr("value"))' value={@value} />
privacySensitive
privacySensitive(_:)
sensitive
:attr("...")
orBool
See SwiftUI.View/privacySensitive(_:)
for more details on this ViewModifier.
Example:
<Element style='privacySensitive(attr("sensitive"))' sensitive={@sensitive} />
progressViewStyle
progressViewStyle(_:)
style
:AnyProgressViewStyle
(required)
See SwiftUI.View/progressViewStyle(_:)
for more details on this ViewModifier.
Example:
projectionEffect
projectionEffect(_:)
transform
:ProjectionTransform
(required)
See SwiftUI.View/projectionEffect(_:)
for more details on this ViewModifier.
Example:
redacted
redacted(reason:)
reason
:RedactionReasons
(required)
See SwiftUI.View/redacted(reason:)
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
:Image.TemplateRenderingMode
ornil
(required)
See SwiftUI.Image/renderingMode(_:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
renderingMode(.template)
end
replaceDisabled
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
:EdgeInsets
resizingMode
: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
rotation(_:anchor:)
See SwiftUI.Shape/rotation(_:anchor:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
rotation(.zero, style: .center)
end
rotation3DEffect
rotation3DEffect(_:axis:anchor:anchorZ:perspective:)
angle
:Angle
(required)axis
: Tuple with structure(x: CGFloat, y: CGFloat, z: CGFloat)
(required)anchor
: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} />
rotationEffect
rotationEffect(_:anchor:)
See SwiftUI.View/rotationEffect(_:anchor:)
for more details on this ViewModifier.
Example:
<Element style='rotationEffect(attr("angle"), anchor: attr("anchor"))' angle={@angle} anchor={@anchor} />
safeAreaInset
safeAreaInset(edge:alignment:spacing:content:)
edge
:VerticalEdge
(required)alignment
:attr("...")
orHorizontalAlignment
spacing
:attr("...")
orCGFloat
ornil
content
:ViewReference
See SwiftUI.View/safeAreaInset(edge:alignment:spacing:content:)
for more details on this ViewModifier.
Example:
<Element style='safeAreaInset(edge: .top, alignment: attr("alignment"), spacing: attr("spacing"), content: :content)' alignment={@alignment} spacing={@spacing}>
<Child template="content" />
</Element>
safeAreaInset(edge:alignment:spacing:content:)
edge
:HorizontalEdge
(required)alignment
:attr("...")
orVerticalAlignment
spacing
:attr("...")
orCGFloat
ornil
content
:ViewReference
See SwiftUI.View/safeAreaInset(edge:alignment:spacing:content:)
for more details on this ViewModifier.
Example:
<Element style='safeAreaInset(edge: .leading, alignment: attr("alignment"), spacing: attr("spacing"), content: :content)' alignment={@alignment} spacing={@spacing}>
<Child template="content" />
</Element>
safeAreaPadding
safeAreaPadding(_:)
insets
:EdgeInsets
(required)
See SwiftUI.View/safeAreaPadding(_:)
for more details on this ViewModifier.
Example:
safeAreaPadding(::)
See SwiftUI.View/safeAreaPadding(_:_:)
for more details on this ViewModifier.
Example:
<Element style='safeAreaPadding(_Set_, attr("length"))' length={@length} />
safeAreaPadding(_:)
length
:attr("...")
orCGFloat
(required)
See SwiftUI.View/safeAreaPadding(_:)
for more details on this ViewModifier.
Example:
<Element style='safeAreaPadding(attr("length"))' length={@length} />
saturation
saturation(_:)
amount
:attr("...")
orDouble
(required)
See SwiftUI.View/saturation(_:)
for more details on this ViewModifier.
Example:
<Element style='saturation(attr("amount"))' amount={@amount} />
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} />
scaleEffect
scaleEffect(_:anchor:)
scale
:CoreFoundation/CGSize
(required)anchor
:attr("...")
orUnitPoint
See SwiftUI.View/scaleEffect(_:anchor:)
for more details on this ViewModifier.
Example:
<Element style='scaleEffect(_CGSize_, anchor: attr("anchor"))' anchor={@anchor} />
scaleEffect(_:anchor:)
See SwiftUI.View/scaleEffect(_:anchor:)
for more details on this ViewModifier.
Example:
<Element style='scaleEffect(attr("s"), anchor: attr("anchor"))' s={@s} anchor={@anchor} />
scaleEffect(x:y:anchor:)
See SwiftUI.View/scaleEffect(x:y:anchor:)
for more details on this ViewModifier.
Example:
<Element style='scaleEffect(x: attr("x"), y: attr("y"), anchor: attr("anchor"))' x={@x} y={@y} anchor={@anchor} />
scaleEffect(_:anchor:)
scale
:Spatial/Size3D
(required)anchor
:SwiftUI/UnitPoint3D
See SwiftUI.View/scaleEffect(_:anchor:)
for more details on this ViewModifier.
Example:
scaleEffect(_:anchor:)
s
:attr("...")
orCGFloat
(required)anchor
:SwiftUI/UnitPoint3D
See SwiftUI.View/scaleEffect(_:anchor:)
for more details on this ViewModifier.
Example:
<Element style='scaleEffect(attr("s"), anchor: _UnitPoint3D_)' s={@s} />
scaleEffect(x:y:z:anchor:)
x
:attr("...")
orCGFloat
y
:attr("...")
orCGFloat
z
:attr("...")
orCGFloat
anchor
:SwiftUI/UnitPoint3D
See SwiftUI.View/scaleEffect(x:y:z:anchor:)
for more details on this ViewModifier.
Example:
<Element style='scaleEffect(x: attr("x"), y: attr("y"), z: attr("z"), anchor: _UnitPoint3D_)' x={@x} y={@y} z={@z} />
scaledToFill
scaledToFill()
See SwiftUI.View/scaledToFill()
for more details on this ViewModifier.
Example:
scaledToFit
scaledToFit()
See SwiftUI.View/scaledToFit()
for more details on this ViewModifier.
Example:
scenePadding
scenePadding(_:)
edges
:Edge.Set
See SwiftUI.View/scenePadding(_:)
for more details on this ViewModifier.
Example:
scenePadding(_:edges:)
padding
:ScenePadding
(required)edges
:Edge.Set
See SwiftUI.View/scenePadding(_:edges:)
for more details on this ViewModifier.
Example:
scrollBounceBehavior
scrollBounceBehavior(_:axes:)
behavior
:ScrollBounceBehavior
(required)axes
: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("...")
orVisibility
(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
: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 aString
ornil
(required, change tracked)anchor
:attr("...")
orUnitPoint
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
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("...")
orVisibility
(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
: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)
searchable(text:placement:prompt:)
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)
searchable(text:placement:prompt:)
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)
searchable(text:isPresented:placement:prompt:)
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)
searchable(text:isPresented:placement:prompt:)
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)
searchable(text:isPresented:placement:prompt:)
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)
selectionDisabled
selectionDisabled(_:)
isDisabled
:attr("...")
orBool
See SwiftUI.View/selectionDisabled(_:)
for more details on this ViewModifier.
Example:
<Element style='selectionDisabled(attr("isDisabled"))' isDisabled={@isDisabled} />
shadow
shadow(color:radius:x:y:)
color
:Color/Resolvable
radius
:attr("...")
orCGFloat
(required)x
:attr("...")
orCGFloat
y
:attr("...")
orCGFloat
See SwiftUI.View/shadow(color:radius:x:y:)
for more details on this ViewModifier.
Example:
<Element style='shadow(color: _Resolvable_, radius: attr("radius"), x: attr("x"), y: attr("y"))' radius={@radius} x={@x} y={@y} />
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)
simultaneousGesture
simultaneousGesture(_:including:)
gesture
:_AnyGesture
(required)including
:GestureMask
See SwiftUI.View/simultaneousGesture(_:including:)
for more details on this ViewModifier.
Example:
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} />
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("...")
orBool
pattern
:Text.LineStyle.Pattern
color
:attr("...")
orColor
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
stroke(_:style:antialiased:)
content
:AnyShapeStyle
(required)style
: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
: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
: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:)
See SwiftUI.Shape/subtracting(_:eoFill:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
subtracting(.rect, eoFill: false)
end
swipeActions
swipeActions(edge:allowsFullSwipe:content:)
edge
: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
symbolEffect(_:options:isActive:)
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} />
symbolEffect(_:options:value:)
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
symbolEffectsRemoved(_:)
isEnabled
:attr("...")
orBool
See SwiftUI.View/symbolEffectsRemoved(_:)
for more details on this ViewModifier.
Example:
<Element style='symbolEffectsRemoved(attr("isEnabled"))' isEnabled={@isEnabled} />
symbolRenderingMode
symbolRenderingMode(_:)
mode
:SymbolRenderingMode
ornil
(required)
See SwiftUI.View/symbolRenderingMode(_:)
for more details on this ViewModifier.
Example:
symbolVariant
symbolVariant(_:)
variant
:SymbolVariants
(required)
See SwiftUI.View/symbolVariant(_:)
for more details on this ViewModifier.
Example:
symmetricDifference
symmetricDifference(_:eoFill:)
See SwiftUI.Shape/symmetricDifference(_:eoFill:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
symmetricDifference(.rect, eoFill: false)
end
tabItem
tabItem(_:)
label
:ViewReference
See SwiftUI.View/tabItem(_:)
for more details on this ViewModifier.
Example:
<Element style="tabItem(:label)">
<Child template="label" />
</Element>
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:
textCase
textCase(_:)
textCase
:Text.Case
ornil
(required)
See SwiftUI.View/textCase(_:)
for more details on this ViewModifier.
Example:
textContentType
textContentType(_:)
textContentType
:UITextContentType
ornil
(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
:TextInputAutocapitalization
ornil
(required)
See SwiftUI.View/textInputAutocapitalization(_:)
for more details on this ViewModifier.
Example:
textScale
textScale(_:isEnabled:)
scale
: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
textSelection(_:)
selectability
:AnyTextSelectability
(required)
See SwiftUI.View/textSelection(_:)
for more details on this ViewModifier.
Example:
tint
tint(_:)
tint
:AnyShapeStyle.Resolvable
(required)
See SwiftUI.View/tint(_:)
for more details on this ViewModifier.
Example:
tint(_:)
tint
:Color/Resolvable
ornil
(required)
See SwiftUI.View/tint(_:)
for more details on this ViewModifier.
Example:
toggleStyle
toggleStyle(_:)
style
:AnyToggleStyle
(required)
See SwiftUI.View/toggleStyle(_:)
for more details on this ViewModifier.
Example:
toolbar
toolbar(_:for:)
visibility
:attr("...")
orVisibility
(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
:ToolbarDefaultItemKind
ornil
(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
:AnyShapeStyle.Resolvable
(required)for
:ToolbarPlacement
(required)
See SwiftUI.View/toolbarBackground(_:for:)
for more details on this ViewModifier.
Example:
toolbarBackground(_:for:)
visibility
:attr("...")
orVisibility
(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} />
toolbarColorScheme
toolbarColorScheme(_:for:)
colorScheme
:attr("...")
orColorScheme
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} />
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
toolbarTitleMenu(content:)
content
:ViewReference
See SwiftUI.View/toolbarTitleMenu(content:)
for more details on this ViewModifier.
Example:
<Element style="toolbarTitleMenu(content: :content)">
<Child template="content" />
</Element>
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)
end
transform3DEffect
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:
transition
transition(_:)
t
:AnyTransition
(required)
See SwiftUI.View/transition(_:)
for more details on this ViewModifier.
Example:
truncationMode
truncationMode(_:)
mode
:Text.TruncationMode
(required)
See SwiftUI.View/truncationMode(_:)
for more details on this ViewModifier.
Example:
underline
underline(_:pattern:color:)
isActive
:attr("...")
orBool
pattern
:Text.LineStyle.Pattern
color
:attr("...")
orColor
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
union(_:eoFill:)
See SwiftUI.Shape/union(_:eoFill:)
for more details on this ViewModifier.
Example:
# stylesheet
"example" do
union(.rect, eoFill: false)
end
unredacted
unredacted()
See SwiftUI.View/unredacted()
for more details on this ViewModifier.
Example:
upperLimbVisibility
upperLimbVisibility(_:)
preferredVisibility
:attr("...")
orVisibility
(required)
See SwiftUI.View/upperLimbVisibility(_:)
for more details on this ViewModifier.
Example:
<Element style='upperLimbVisibility(attr("preferredVisibility"))' preferredVisibility={@preferredVisibility} />
zIndex
zIndex(_:)
value
:attr("...")
orDouble
(required)
See SwiftUI.View/zIndex(_:)
for more details on this ViewModifier.
Example:
<Element style='zIndex(attr("value"))' value={@value} />
Types
AnyButtonStyle
Use AnyPrimitiveButtonStyle
instead.
AnyControlGroupStyle
See SwiftUI.ControlGroupStyle
for more details.
Overview
Possible values:
.automatic
.compactMenu
.navigation
.palette
.menu
AnyCoordinateSpaceProtocol
See SwiftUI.CoordinateSpaceProtocol
for more details.
Overview
Possible values:
.global
.local
.named(_:)
.scrollView
.scrollView(axis:)
Use a String
to reference a named coordinate space.
.named("my-coordinate-space")
Use a Axis
to reference the coordinate space for the innermost <ScrollView>
on the given axis.
.scrollView(axis: .horizontal)
AnyDatePickerStyle
See SwiftUI.DatePickerStyle
for more details.
Overview
Possible values:
.automatic
.compact
.graphical
.field
.stepperField
.wheel
AnyFormStyle
See SwiftUI.FormStyle
for more details.
Overview
Possible values:
.automatic
.columns
.grouped
AnyGaugeStyle
See SwiftUI.GaugeStyle
for more details.
Overview
Possible values:
.automatic
.accessoryCircular
.accessoryCircularCapacity
.linearCapacity
.accessoryLinear
.accessoryLinearCapacity
.circular
.linear
AnyGroupBoxStyle
See SwiftUI.GroupBoxStyle
for more details.
Overview
Possible values:
.automatic
AnyIndexViewStyle
See SwiftUI.IndexViewStyle
for more details.
Overview
Possible values:
.page
Pass a PageIndexViewStyle.BackgroundDisplayMode
to customize this style.
.page(backgroundDisplayMode: .always)
.page(backgroundDisplayMode: .interactive)
AnyInsettableShape
See SwiftUI.InsettableShape
for more details.
Overview
Possible values:
.rectangle
.circle
.capsule
AnyLabelStyle
See SwiftUI.LabelStyle
for more details.
Overview
Possible values:
.automatic
.iconOnly
.titleAndIcon
.titleOnly
AnyLabeledContentStyle
See SwiftUI.LabeledContentStyle
for more details.
Overview
Possible values:
.automatic
AnyListStyle
See SwiftUI.ListStyle
for more details.
Overview
Possible values:
.automatic
.plain
.carousel
.elliptical
.bordered
.grouped
.insetGrouped
.inset
.sidebar
AnyLocalizedError
A string that represents an error message.
AnyMenuStyle
See SwiftUI.MenuStyle
for more details.
Overview
Possible values:
.automatic
.button