hugo-theme-cyberscopes/layouts/shortcodes/input.html

11 lines
217 B
HTML

<div v-scope>
<input type="text" name="txt"
@change="mydata.save($el.value)" />
</div>
<div v-scope>
<pre>id = {| urlParams.get('id') |}</pre>
<pre v-effect="$el.textContent = mydata.data" ></pre>
</div>