30 lines
572 B
Markdown
30 lines
572 B
Markdown
**STRUCT**
|
|
|
|
# `AppearObserver`
|
|
|
|
A widget which executes a custom code when being rendered for the first time.
|
|
|
|
## Properties
|
|
### `onAppear`
|
|
|
|
The function.
|
|
|
|
### `content`
|
|
|
|
The content.
|
|
|
|
## Methods
|
|
### `container(modifiers:)`
|
|
|
|
Get the content's container.
|
|
- Parameter modifiers: Modify views before being updated.
|
|
- Returns: The content's container.
|
|
|
|
### `update(_:modifiers:updateProperties:)`
|
|
|
|
Update the content.
|
|
- Parameters:
|
|
- storage: The content's storage.
|
|
- modifiers: Modify views before being updated.
|
|
- updateProperties: Whether to update properties.
|