DirectiveSheet
struct DirectiveSheet : View
SwiftUI View
to define a directive
-
The directive settings
Declaration
Swift
@Binding var settings: DirectiveSettings { get nonmutating set }
-
The scene state
Declaration
Swift
@Environment var sceneState: SceneState { get }
-
The label for the action button
Declaration
Swift
var actionLabel: String
-
The value for a slider
Declaration
Swift
@State private var sliderValue: Double { get nonmutating set }
-
Init the
View
Declaration
Swift
init(settings: Binding<DirectiveSettings>)
-
Chord Display Options
Declaration
Swift
@Environment private var chordDisplayOptions: ChordDisplayOptions { get }
-
The dismiss environment
Declaration
Swift
@Environment var dismiss: DismissAction { get }
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
The cancel button
Declaration
Swift
var cancelButton: some View { get }
-
View
of the directive sheet titleDeclaration
Swift
@ViewBuilder var directiveTitleView: some View { get }
-
The default
View
when there is no specificView
for theDirective
Declaration
Swift
@ViewBuilder var defaultView: some View { get }
-
View
to define a chordDeclaration
Swift
@ViewBuilder var defineView: some View { get }
-
View
to define the ‘slider’ for a number directiveDeclaration
Swift
@ViewBuilder func sliderView(start: Double, end: Double) -> some View
-
View
to define the ‘key’ of the songDeclaration
Swift
@ViewBuilder var keyView: some View { get }