-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an opt-in property for delayed value binding (#68)
Add an override to `bind` named `bfDelayValue` that is schedulable and schedules to the key `value`. Also, rewrite the documentation to rename "default scheduled" to "delayed scheduled" while still emphasizing its default nature. This should clear up some confusion as well as provide a better name long-term. Resolves #38
- Loading branch information
Showing
23 changed files
with
194 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[butterfloat](../README.md) / [Exports](../modules.md) / DelayBind | ||
|
||
# Interface: DelayBind | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [bfDelayValue](DelayBind.md#bfdelayvalue) | ||
|
||
## Properties | ||
|
||
### bfDelayValue | ||
|
||
• `Optional` **bfDelayValue**: `Observable`\<`unknown`\> | ||
|
||
Delay scheduled binding for the "value" property. | ||
|
||
Value is bound immediately by default to avoid user interaction | ||
problems. This provides an opt-in for tested interaction patterns | ||
and rare elements that use "value" for things aren't user | ||
interaction such as <progress />. | ||
|
||
#### Defined in | ||
|
||
[component.ts:67](https://github.com/WorldMaker/butterfloat/blob/75c28b8/component.ts#L67) |
Oops, something went wrong.