googlearchive / paper-tabs

A tabs à la Material Design
22 stars 21 forks source link

dev development config #42

Open kristianmandrup opened 9 years ago

kristianmandrup commented 9 years ago

Defined a configuration for running paper-tabs standalone for easier development/contribution.

Small issue... scrollableTabs returned from document.querySelector doesn't have any functions of the custom element such as updateBar. Why is that!?

var scrollableTabs = document.querySelector('#scrollableTabs')
if (scrollableTabs) {
  console.log(scrollableTabs);
  scrollableTabs.updateBar();
} else {
  throw Error("#scrollableTabs element could not be found in the document")
}