Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created August 27, 2019 21:12
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/d4023791f6e7e12d2445419048bb611b to your computer and use it in GitHub Desktop.
Save debugmodedotnet/d4023791f6e7e12d2445419048bb611b to your computer and use it in GitHub Desktop.
var elements = document.querySelectorAll('[data-geek97-bind]');
var dbrepo = {};
elements.forEach((element)=>{
if(element.type === 'text'){
let bindingProperty = element.getAttribute('data-geek97-bind');
console.log(bindingProperty);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment