At present, Polymer looks for the first template defined in an element and instantiates it automatically within a shadow root. It would be useful to be able to override this behaviour if, for example, I wanted to include several templates and choose which of them to use based on particular conditions, such as the attributes values.
At present, Polymer looks for the first template defined in an element and instantiates it automatically within a shadow root. It would be useful to be able to override this behaviour if, for example, I wanted to include several templates and choose which of them to use based on particular conditions, such as the attributes values.