Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamghill committed Jul 26, 2024
1 parent f0dd6f3 commit 5105d12
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 0.61.0

- Add [`template_html`](views.md#template_html) to specify inline template HTML on the component.
- Add [`resolved`](views.md#resolved) method which only fires once even when there are multiple actions, e.g. during a debounce.

## 0.60.0

Expand Down
24 changes: 16 additions & 8 deletions docs/source/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,21 +305,29 @@ class HelloWorldView(UnicornView):
self.name = "hydrated"
```

### updating(name, value)
### updating(property_name, property_value)

Gets called before each property that will get set.
Gets called before each property that will get set. This can be called multiple times in certain instances, e.g. during a debounce.

### updated(name, value)
### updated(property_name, property_value)

Gets called after each property gets set.
Gets called after each property gets set. This can be called multiple times in certain instances, e.g. during a debounce.

### updating\_{property_name}(value)
### resolved(property_name, property_value)

Gets called before the specified property gets set.
Gets called after the specified property gets set. This will only get called once.

### updated\_{property_name}(value)
### updating\_{property_name}(property_value)

Gets called after the specified property gets set.
Gets called before the specified property gets set. This can be called multiple times in certain instances, e.g. during a debounce.

### updated\_{property_name}(property_value)

Gets called after the specified property gets set. This can be called multiple times in certain instances, e.g. during a debounce.

### resolved\_{property_name}(property_value)

Gets called after the specified property gets set. This will only get called once.

### calling(name, args)

Expand Down

0 comments on commit 5105d12

Please sign in to comment.