Last active
January 30, 2019 14:43
-
-
Save bitfishxyz/fb5dabca91da7ab8dc5a289f07a09027 to your computer and use it in GitHub Desktop.
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
<!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