method createInstance


DocumentFragment createInstance([model, BindingDelegate delegate])

Creates an instance of the template, using the provided model and optional binding delegate.

If instanceBindings is supplied, each Bindable in the returned instance will be added to the list. This makes it easy to close all of the bindings without walking the tree. This is not normally necessary, but is used internally by the system.

Source

DocumentFragment createInstance([model, BindingDelegate delegate]) =>
    _self.createInstance(model, delegate);