Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Working from home

Victor Lucas victorlucss

:shipit:
Working from home
View GitHub Profile
View TransactionDoneActivity.java
package br.com.s3bank.recarga.views;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.WindowManager;
import android.widget.TextView;
View componente.js
Vue.component('titulo', {
template: '<h1>Contador de cliques</h1>'
});
View componente.html
<script src="https://unpkg.com/vue"></script>
<div id="app">
<titulo></titulo>
<h2>{{ count }}</h2>
<button v-on:click="incrementar">Adicionar um</button>
</div>
View reatividade.html
<script src="https://unpkg.com/vue"></script>
<div id="app">
<h1>{{ contar }}</h1>
<button v-on:click="incrementar()">Adicionar um</button>
</div>
<script>
new Vue({
el: '#app',
View reatividade.html
<script src="https://unpkg.com/vue"></script>
<div id="app">
<h1>{{ count }}</h1>
<button v-on:click="increment()">Add one</button>
</div>
<script>
new Vue({