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

18 lines
318 B
HTML

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