We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
data.init
1 parent 8053869 commit 5b0a9f1Copy full SHA for 5b0a9f1
1 file changed
README.md
@@ -45,7 +45,7 @@ def index():
45
<head>
46
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-RC.7/bundles/datastar.js"></script>
47
</head>
48
- <body {data.on_load("@get('/updates')")}>
+ <body {data.init("@get('/updates')")}>
49
<span id="currentTime"></span><br>
50
<span data-text="$currentTime"></span>
51
</body>
0 commit comments