We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How do I create a container for an inline template?

When specifying a containerSelector, you can use any element ID or class that exists in the HTML of your page as a container. For example, to use a <div id="my-container">div> element as a container, you would enter #my-container as the containerSelector value. If you instead wanted to use a class like <div class="pianocontainer">div> as a container, you'd use .pianocontainer for containerSelector. Piano supports all selectors supported by JQuery.

Last updated: