nodemon /home/netwixell/www/run.js &
const app = new Vue({
el: '#app',
data: {
input: ''
},
computed: {
result() {
if (this.input === 'Да')
return 'Правильно'
else if (this.input === 'Нет')
return 'Неправильно'
else
return 'Введите ответ'
}
}
})
<div id="app">
<input type="text" v-model="input">
<span>{{result}}</span>
</div>
let totals = response.data.totals[0]
function hideAddressBar() {
setTimeout(function () {
document.body.style.height = window.outerHeight + 'px';
setTimeout(function () {
window.scrollTo(0, 1);
}, 1100);
}, 1000);
return false;
}
firebase.auth().onAuthStateChanged(function(user) {
console.log(user)
if (user) {
...
}
}
public class Auth {
public string Login {get; set;}
public string Password {get; set;}
}
var AuthList = new List<Auth>();
var auth = new Auth(){Login: "login123", Password: "pass"};
AuthList.Add(auth);
var from = daysArray2.concat(daysArray1);