Skip to content

Instantly share code, notes, and snippets.

@dglazkov
Created April 30, 2015 16:27
Show Gist options
  • Save dglazkov/bdbe817b9cce48e4d072 to your computer and use it in GitHub Desktop.
Save dglazkov/bdbe817b9cce48e4d072 to your computer and use it in GitHub Desktop.
// dev B:
var aBar = document.createElement('a-bar');
aBar.appendChild(someElement);
var width = someElement.offsetWidth;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment