How importing metadata works in designer tool?

25 views
Skip to first unread message

Sepand Ansari

unread,
Dec 18, 2014, 2:14:20 PM12/18/14
to polym...@googlegroups.com
Hi,
I am trying to replicate the designer tool functionality which loads component metadata and imports/appends the components on the fly. I tried to figure it out by looking at the code but no success.
As I understood the metadata.html files are loaded using Polymer.import in design-frame component and magically the categories variable is set and then passed to x-meta. 

I would like to be able to get access to property meta data and import template and import template of the element to be able to add the element to canvas on the fly the way designer tool does that.

Thanks a lot

Sepand
Reply all
Reply to author
Forward
0 new messages