Skip to content

Commit

Permalink
Add web components
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Dec 7, 2024
1 parent 7c0c37f commit cbdae3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/static/md/guide/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Datastar uses signals to manage state. You can think of signals as reactive vari

### `data-bind`

Datastar provides us with a way to set up two-way data binding on an element using the [`data-bind`](/reference/plugins_dom#bind) attribute, which can be placed on any HTML element that users can directly input data or choices from (`input`, `textarea`, `select`, `checkbox` and `radio` elements).
Datastar provides us with a way to set up two-way data binding on an element using the [`data-bind`](/reference/plugins_dom#bind) attribute, which can be placed on any HTML element on which data be be input or choices selected from (`input`, `textarea`, `select`, `checkbox` and `radio` elements, as well as web components).

```html
<input data-bind-input />
Expand Down

0 comments on commit cbdae3d

Please sign in to comment.