googlecodelabs/codelab-components

Implement embeddable version of labs

ebidel opened this issue · 4 comments

Here's a proposal to add a few properties (they're false by default so users get all the goodies). The use case is to turn things off / allow users of the the components to custom the styling of the elements themselves.

  • - no-theme: does not load our custom css. This might be the most difficult one because adding dynamic styles need to go through Polymer's style shimmer.
  • - no-arrows: hides the arrows
  • - hide-toolbar: hides the top nav. This is the <paper-toolbar hidden$="[[hide-toolbar]]">

This properties also need to be added to properties

How would it look like?
I can see it now :)

@alialiafshar wants to learn him some Polymer!

Top comment contains the basic implementation :)

Yeah, sorry, github lagged behind a bit. Also, @alialiafshar is a nice alias of @aliafshar :)