Update documentation
This commit is contained in:
parent
93546224f2
commit
bf3452dd72
@ -15,6 +15,7 @@ public protocol Widget: AnyView {
|
||||
/// - Parameters:
|
||||
/// - modifiers: Modify views before being updated.
|
||||
/// - type: The type of the app storage.
|
||||
/// - Returns: The view storage.
|
||||
func container<Data>(
|
||||
modifiers: [(AnyView) -> AnyView],
|
||||
type: Data.Type
|
||||
|
||||
@ -17,6 +17,7 @@ struct AppearObserver: ConvenienceWidget {
|
||||
/// - Parameters:
|
||||
/// - modifiers: Modify views before being updated.
|
||||
/// - type: The type of the app storage.
|
||||
/// - Returns: The view storage.
|
||||
func container<Data>(
|
||||
modifiers: [(any AnyView) -> any AnyView],
|
||||
type: Data.Type
|
||||
|
||||
@ -17,6 +17,7 @@ struct ContentModifier<Content>: ConvenienceWidget where Content: AnyView {
|
||||
/// - Parameters:
|
||||
/// - modifiers: Modify views before being updated.
|
||||
/// - type: The type of the app storage.
|
||||
/// - Returns: The view storage.
|
||||
func container<Data>(
|
||||
modifiers: [(any AnyView) -> any AnyView],
|
||||
type: Data.Type
|
||||
|
||||
@ -17,6 +17,7 @@ struct Freeze: ConvenienceWidget {
|
||||
/// - Parameters:
|
||||
/// - modifiers: Modify views before being updated.
|
||||
/// - type: The type of the app storage.
|
||||
/// - Returns: The view storage.
|
||||
func container<Data>(
|
||||
modifiers: [(any AnyView) -> any AnyView],
|
||||
type: Data.Type
|
||||
|
||||
@ -17,6 +17,7 @@ struct InspectorWrapper: ConvenienceWidget {
|
||||
/// - Parameters:
|
||||
/// - modifiers: Modify views before being updated.
|
||||
/// - type: The type of the app storage.
|
||||
/// - Returns: The view storage.
|
||||
func container<Data>(
|
||||
modifiers: [(any AnyView) -> any AnyView],
|
||||
type: Data.Type
|
||||
|
||||
@ -15,6 +15,7 @@ struct ModifierStopper: ConvenienceWidget {
|
||||
/// - Parameters:
|
||||
/// - modifiers: Modify views before being updated.
|
||||
/// - type: The type of the app storage.
|
||||
/// - Returns: The view storage.
|
||||
func container<Data>(
|
||||
modifiers: [(any AnyView) -> any AnyView],
|
||||
type: Data.Type
|
||||
|
||||
@ -36,6 +36,7 @@ struct StateWrapper: ConvenienceWidget {
|
||||
/// - modifiers: Modify views before being updated.
|
||||
/// - updateProperties: Whether to update properties.
|
||||
/// - type: The type of the app storage.
|
||||
/// - Returns: The view storage.
|
||||
func update<Data>(
|
||||
_ storage: ViewStorage,
|
||||
modifiers: [(AnyView) -> AnyView],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user