You are on page 1of 1

polymer glue:

The glue method works pretty well here, you need to


pass the value as a JSON object in the same way that
your base class's Base methods do. The json object is
placed in the same range as the base class (or your
class) so there's no need to use base class variables.

It also works pretty well if you have a base class


using XML tags. This is a very basic one but it's not
as tricky as you might think. For more detailed
documentation see the "Tutorials" section. Here's a
handy JSON template that we created using the Base and
XML tags, for example:

In order to understand the magic of this simple


implementation, you need to know what types of items
you're looking for. If a base class includes a specific
tag, then you can do something just like that:

You might also like