Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created August 27, 2019 21:14
Embed
What would you like to do?
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