This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<div class="buttons"> | |
<button class="button set-tool-mode is-primary" data-action="Active"> | |
Active | |
</button> | |
<button class="button set-tool-mode" data-action="Passive"> | |
Passive | |
</button> | |
<button class="button set-tool-mode" data-action="Enabled">Enable</button> | |
<button class="button set-tool-mode" data-action="Disabled"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<div class="buttons"> | |
<button class="button set-tool-mode is-primary" data-action="Active"> | |
Active | |
</button> | |
<button class="button set-tool-mode" data-action="Passive"> | |
Passive | |
</button> | |
<button class="button set-tool-mode" data-action="Enabled">Enable</button> | |
<button class="button set-tool-mode" data-action="Disabled"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {PNG} = require('bundle.js'); | |
const {Button, ImageView, ui} = require('tabris'); | |
const base64 = require('base-64'); | |
function _arrayBufferToBase64( buffer ) { | |
var binary = ''; | |
var bytes = new Uint8Array( buffer ); | |
var len = bytes.byteLength; | |
for (var i = 0; i < len; i++) { | |
binary += String.fromCharCode( bytes[ i ] ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-11-07T06:52:09.451Z","extensionVersion":"v3.4.3"} |