1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-19 22:18:03 +00:00

Autofocus action

This commit is contained in:
2023-01-17 17:03:11 +01:00
parent 8cbc344eda
commit 69e7502222
4 changed files with 16 additions and 7 deletions

View File

@ -1,4 +1,5 @@
<script>
import { input } from '../../../actions';
import { RemoveItems } from '../../../../wailsjs/go/app/App';
import CodeExample from '../../../components/code-example.svelte';
@ -26,7 +27,14 @@
</div>
<label class="field">
<textarea cols="30" rows="10" bind:value={json} placeholder={'{}'} class="code"></textarea>
<textarea
cols="30"
rows="10"
placeholder={'{}'}
class="code"
bind:value={json}
use:input={{ json: true, autofocus: true }}
></textarea>
</label>
<div class="flex">