OptionalcreationNode used for cloning the template (importNode will be called on this
node). This controls the ownerDocument of the rendered DOM, along with
any inherited context. Defaults to the global document.
OptionalhostAn object to use as the this value for event listeners. It's often
useful to set this to the host component rendering a template.
OptionalisThe initial connected state for the top-level part being rendered. If no
isConnected option is set, AsyncDirectives will be connected by
default. Set to false if the initial render occurs in a disconnected tree
and AsyncDirectives should see isConnected === false for their initial
render. The part.setConnected() method must be used subsequent to initial
render to change the connected state of the part.
OptionalrenderA DOM node before which to render content in the container.
Object specifying options for controlling lit-html rendering. Note that while
rendermay be called multiple times on the samecontainer(andrenderBeforereference node) to efficiently update the rendered content, only the options passed in during the first render are respected during the lifetime of renders to that uniquecontainer+renderBeforecombination.