-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #715
- Loading branch information
Showing
13 changed files
with
126 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework. | ||
|
||
Getting started is as easy as adding a single 14.3 KiB script tag to your HTML. | ||
Getting started is as easy as adding a single 14.4 KiB script tag to your HTML. | ||
|
||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected]/bundles/datastar.js"></script> | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework. | ||
|
||
Getting started is as easy as adding a single 14.3 KiB script tag to your HTML. | ||
Getting started is as easy as adding a single 14.4 KiB script tag to your HTML. | ||
|
||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected]/bundles/datastar.js"></script> | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,15 @@ | ||
# Strings Input Array | ||
|
||
Tests that a text input's value is added to a bound signal array when changed. | ||
|
||
<div data-signals-result="['foo']"> | ||
<input class="input input-bordered" type="text" data-bind-result /> foo | ||
<br> | ||
<input class="input input-bordered" type="text" data-bind-result id="clickable" /> bar | ||
<pre data-text="JSON.stringify($result)"></pre> | ||
<hr /> | ||
Result: | ||
<code id="result" data-text="$result.includes('foo') && $result.includes('bar') ? 1 : 0"></code> | ||
<hr /> | ||
Expected result after typing 'bar' in second input: <code>1</code> | ||
</div> |