Skip to content

Instantly share code, notes, and snippets.

@bitfishxyz
Last active January 30, 2019 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitfishxyz/fb5dabca91da7ab8dc5a289f07a09027 to your computer and use it in GitHub Desktop.
Save bitfishxyz/fb5dabca91da7ab8dc5a289f07a09027 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<style>
input{
font-size: 233px
}
</style>
</head>
<body>
<input id='input' value='123'>
<script>
var vue = {
set value(arg){
var input = document.getElementById('input')
input.value = arg
},
get value(){
var input = document.getElementById('input')
return input.value
}
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment