Add documentation

This commit is contained in:
david-swift 2024-07-12 21:56:21 +02:00
parent f4c7ea40e7
commit 1b4621c03a
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ public struct MenuBar: TermKitSceneElement {
/// Update the stored content. /// Update the stored content.
/// - Parameters: /// - Parameters:
/// - storage: The storage to update. /// - storage: The storage to update.
/// - app: The app storage.
/// - updateProperties: Whether to update the view's properties. /// - updateProperties: Whether to update the view's properties.
public func update<Storage>( public func update<Storage>(
_ storage: SceneStorage, _ storage: SceneStorage,

View File

@ -52,6 +52,7 @@ public struct Window: TermKitSceneElement {
/// Update the stored content. /// Update the stored content.
/// - Parameters: /// - Parameters:
/// - storage: The storage to update. /// - storage: The storage to update.
/// - app: The app storage.
/// - updateProperties: Whether to update the view's properties. /// - updateProperties: Whether to update the view's properties.
public func update<Storage>( public func update<Storage>(
_ storage: SceneStorage, _ storage: SceneStorage,