Change Layouts - Neon Animated Pages

19 views
Skip to first unread message

Colin Cannon

unread,
Feb 29, 2016, 1:19:00 PM2/29/16
to Polymer
Hi guys,

I am loving Polymer, but every once in a while I get stuck on something that I could have done quickly in my old methodologies.  I am sure it is just my growing pains of learning something new, because I do love the Polymer.

Anyway, my site is made up of neon-animated-pages, and I wrote a little routing custom element to do basic routing for the neon-animated-pages.  Here is where I am stuck:  I have some neon-animated-pages that have a toolbar and a drawer, some that have no toolbar and drawer, and some that have just a toolbar.  I want to create three "templates" (not polymer templates) for my site, but I can figure out how to implement it around neon-animated-pages.  Does anyone know of an example?  Or can anyone point my to some docs?  I looked at the routers on customelements.io, but I want to do my own solution, mainly as a learning process.

I am sure this is a common happening and it has been solved many times over, I just can't figure it out.  Even to show a login screen (with no toolbar and drawer) and then to show all that good stuff once the user is authenticated.  Again, not really looking for some thing already built, just a general explanation would be awesome from some of you polymer gurus.

thanks
Colin Cannon
Reply all
Reply to author
Forward
0 new messages