Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created August 27, 2019 21:14
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 debugmodedotnet/07a51528c3944c7b0c8076df5b1bff50 to your computer and use it in GitHub Desktop.
Save debugmodedotnet/07a51528c3944c7b0c8076df5b1bff50 to your computer and use it in GitHub Desktop.
set: function (newvalue) {
value = newvalue;
elements.forEach(e => {
if (e.getAttribute('data-geek97-bind') === bindingProperty) {
if (e.type === 'text') {
e.value = newvalue
}
else if (!e.type) {
e.innerHTML = newvalue
}
}
})
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment