@alpinejs/docs 3.13.7-revision.1 → 3.13.8-revision.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -379,7 +379,7 @@ By default, if an input has a value attribute, it is ignored by Alpine and inste
|
|
|
379
379
|
But if a bound property is empty, then you can use an input's value attribute to populate the property by adding the `.fill` modifier.
|
|
380
380
|
|
|
381
381
|
<div x-data="{ message: null }">
|
|
382
|
-
<input x-model.fill="message" value="This is the default message.">
|
|
382
|
+
<input type="text" x-model.fill="message" value="This is the default message.">
|
|
383
383
|
</div>
|
|
384
384
|
|
|
385
385
|
<a name="programmatic access"></a>
|
|
@@ -33,7 +33,7 @@ This is by far the simplest way to get started with Alpine. Include the followin
|
|
|
33
33
|
Notice the `@3.x.x` in the provided CDN link. This will pull the latest version of Alpine version 3. For stability in production, it's recommended that you hardcode the latest version in the CDN link.
|
|
34
34
|
|
|
35
35
|
```alpine
|
|
36
|
-
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.13.
|
|
36
|
+
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.13.8/dist/cdn.min.js"></script>
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
That's it! Alpine is now available for use inside your page.
|