Skip to content

Commit

Permalink
Add button to insert a static key
Browse files Browse the repository at this point in the history
  • Loading branch information
MBoretto committed Sep 25, 2023
1 parent 9bfeb36 commit 376ec65
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,20 @@
<br>
<h3>Cloud Storage</h3>



<input type="text" id="key" name="key" placeholder="key">
<input type="text" id="value" name="value" placeholder="value">
<button @click="TWA.CloudStorage.setItem(document.getElementById('key').value, document.getElementById('value').value)">Set key</button><br>
<button @click="TWA.CloudStorage.setItem('thekey', 'the value')">Set key no form</button><br>


<div v-for="key in cloud_storage_keys">
{{ key }} <br>
</div>

<br>
<input type="text" id="key" name="key" placeholder="key">
<input type="text" id="value" name="value" placeholder="value">

<button @click="TWA.CloudStorage.getKeys(this.processKeys)">Get keys</button><br>
</div>
</template>
Expand Down

0 comments on commit 376ec65

Please sign in to comment.