From faaa6cfe28f81a8ed0b1a2b338ae8a08cc06301e Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Sat, 29 Sep 2018 18:43:44 -0700 Subject: [PATCH] chore(all): prepare release 1.10.0 --- bower.json | 2 +- dist/amd/aurelia-templating.js | 133 +++-- dist/aurelia-templating.d.ts | 599 +++++++++++----------- dist/aurelia-templating.js | 201 ++++++-- dist/commonjs/aurelia-templating.js | 135 +++-- dist/es2015/aurelia-templating.js | 99 ++-- dist/native-modules/aurelia-templating.js | 131 +++-- dist/system/aurelia-templating.js | 146 ++++-- doc/CHANGELOG.md | 18 + doc/api.json | 2 +- package.json | 2 +- 11 files changed, 879 insertions(+), 589 deletions(-) diff --git a/bower.json b/bower.json index 07e28505..a3d76d63 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "1.9.0", + "version": "1.10.0", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-templating.js b/dist/amd/aurelia-templating.js index 2aede876..2d38fe26 100644 --- a/dist/amd/aurelia-templating.js +++ b/dist/amd/aurelia-templating.js @@ -1,4 +1,4 @@ -define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-loader', 'aurelia-path', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-task-queue'], function (exports, _aureliaLogging, _aureliaMetadata, _aureliaPal, _aureliaLoader, _aureliaPath, _aureliaDependencyInjection, _aureliaBinding, _aureliaTaskQueue) { +define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-loader', 'aurelia-path', 'aurelia-binding', 'aurelia-dependency-injection', 'aurelia-task-queue'], function (exports, _aureliaLogging, _aureliaMetadata, _aureliaPal, _aureliaLoader, _aureliaPath, _aureliaBinding, _aureliaDependencyInjection, _aureliaTaskQueue) { 'use strict'; Object.defineProperty(exports, "__esModule", { @@ -413,6 +413,10 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli ViewCompileInstruction.normal = new ViewCompileInstruction(); var BehaviorInstruction = exports.BehaviorInstruction = function () { + function BehaviorInstruction() { + + } + BehaviorInstruction.enhance = function enhance() { var instruction = new BehaviorInstruction(); instruction.enhance = true; @@ -452,31 +456,32 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return instruction; }; - function BehaviorInstruction() { - - - this.initiatedByBehavior = false; - this.enhance = false; - this.partReplacements = null; - this.viewFactory = null; - this.originalAttrName = null; - this.skipContentProcessing = false; - this.contentFactory = null; - this.viewModel = null; - this.anchorIsContainer = false; - this.host = null; - this.attributes = null; - this.type = null; - this.attrName = null; - this.inheritBindingContext = false; - } - return BehaviorInstruction; }(); + var biProto = BehaviorInstruction.prototype; + biProto.initiatedByBehavior = false; + biProto.enhance = false; + biProto.partReplacements = null; + biProto.viewFactory = null; + biProto.originalAttrName = null; + biProto.skipContentProcessing = false; + biProto.contentFactory = null; + biProto.viewModel = null; + biProto.anchorIsContainer = false; + biProto.host = null; + biProto.attributes = null; + biProto.type = null; + biProto.attrName = null; + biProto.inheritBindingContext = false; + BehaviorInstruction.normal = new BehaviorInstruction(); var TargetInstruction = exports.TargetInstruction = (_temp = _class = function () { + function TargetInstruction() { + + } + TargetInstruction.shadowSlot = function shadowSlot(parentInjectorId) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -490,6 +495,13 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return instruction; }; + TargetInstruction.letElement = function letElement(expressions) { + var instruction = new TargetInstruction(); + instruction.expressions = expressions; + instruction.letElement = true; + return instruction; + }; + TargetInstruction.lifting = function lifting(parentInjectorId, liftingInstruction) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -522,33 +534,34 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return instruction; }; - function TargetInstruction() { - + return TargetInstruction; + }(), _class.noExpressions = Object.freeze([]), _temp); - this.injectorId = null; - this.parentInjectorId = null; - this.shadowSlot = false; - this.slotName = null; - this.slotFallbackFactory = null; + var tiProto = TargetInstruction.prototype; - this.contentExpression = null; + tiProto.injectorId = null; + tiProto.parentInjectorId = null; - this.expressions = null; - this.behaviorInstructions = null; - this.providers = null; + tiProto.shadowSlot = false; + tiProto.slotName = null; + tiProto.slotFallbackFactory = null; - this.viewFactory = null; + tiProto.contentExpression = null; + tiProto.letElement = false; - this.anchorIsContainer = false; - this.elementInstruction = null; - this.lifting = false; + tiProto.expressions = null; + tiProto.expressions = null; + tiProto.providers = null; - this.values = null; - } + tiProto.viewFactory = null; + + tiProto.anchorIsContainer = false; + tiProto.elementInstruction = null; + tiProto.lifting = false; + + tiProto.values = null; - return TargetInstruction; - }(), _class.noExpressions = Object.freeze([]), _temp); var viewStrategy = exports.viewStrategy = _aureliaMetadata.protocol.create('aurelia:view-strategy', { validate: function validate(target) { if (!(typeof target.loadViewFactory === 'function')) { @@ -887,6 +900,10 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli mi('createAttributeInstruction'); }; + BindingLanguage.prototype.createLetExpressions = function createLetExpressions(resources, element) { + mi('createLetExpressions'); + }; + BindingLanguage.prototype.inspectTextContent = function inspectTextContent(resources, value) { mi('inspectTextContent'); }; @@ -2447,6 +2464,14 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return; } + if (instruction.letElement) { + for (i = 0, ii = expressions.length; i < ii; ++i) { + bindings.push(expressions[i].createBinding()); + } + element.parentNode.removeChild(element); + return; + } + if (behaviorInstructions.length) { if (!instruction.anchorIsContainer) { element = makeElementIntoAnchor(element, instruction.elementInstruction); @@ -2740,6 +2765,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return auShadowSlot; } + var defaultLetHandler = BindingLanguage.prototype.createLetExpressions; + var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class13 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -2982,6 +3009,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli viewFactory.part = node.getAttribute('part'); } else { type = resources.getElement(node.getAttribute('as-element') || tagName); + + if (tagName === 'let' && !type && bindingLanguage.createLetExpressions !== defaultLetHandler) { + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = TargetInstruction.letElement(bindingLanguage.createLetExpressions(resources, node)); + return node.nextSibling; + } if (type) { elementInstruction = BehaviorInstruction.element(node, type); type.processAttributes(this, resources, node, attributes, elementInstruction); @@ -4683,11 +4716,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } else { while (current) { if (this.matches(current)) { - var value = current.au && current.au.controller ? current.au.controller.viewModel : current; - this.viewModel[this.property] = value; + var _value = current.au && current.au.controller ? current.au.controller.viewModel : current; + this.viewModel[this.property] = _value; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value); } break; @@ -4701,11 +4734,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli ChildObserverBinder.prototype.onRemove = function onRemove(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value2 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); - var index = items.indexOf(value); + var index = items.indexOf(_value2); if (index !== -1) { items.splice(index, 1); @@ -4722,13 +4755,13 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli ChildObserverBinder.prototype.onAdd = function onAdd(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value3 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); if (this.selector === '*') { - items.push(value); + items.push(_value3); return true; } @@ -4743,14 +4776,14 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli prev = prev.previousElementSibling; } - items.splice(index, 0, value); + items.splice(index, 0, _value3); return true; } - this.viewModel[this.property] = value; + this.viewModel[this.property] = _value3; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value3); } } @@ -5197,7 +5230,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli instruction = { element: instruction }; } - var compilerInstructions = {}; + var compilerInstructions = { letExpressions: [] }; var resources = instruction.resources || this._container.get(ViewResources); this._viewCompiler._compileNode(instruction.element, resources, compilerInstructions, instruction.element.parentNode, 'root', true); diff --git a/dist/aurelia-templating.d.ts b/dist/aurelia-templating.d.ts index 486b48b7..a3d38a15 100644 --- a/dist/aurelia-templating.d.ts +++ b/dist/aurelia-templating.d.ts @@ -16,13 +16,9 @@ import { import { relativeToFile } from 'aurelia-path'; -import { - Container, - resolver, - inject -} from 'aurelia-dependency-injection'; import { Scope, + Expression, ValueConverterResource, BindingBehaviorResource, camelCase, @@ -33,6 +29,11 @@ import { ObserverLocator, EventManager } from 'aurelia-binding'; +import { + Container, + resolver, + inject +} from 'aurelia-dependency-injection'; import { TaskQueue } from 'aurelia-task-queue'; @@ -48,12 +49,12 @@ export declare interface EventHandler { * Specifies how a view should be created. */ export declare interface ViewCreateInstruction { - + /** * Indicates that the view is being created by enhancing existing DOM. */ enhance?: boolean; - + /** * Specifies a key/value lookup of part replacements for the view being created. */ @@ -64,7 +65,7 @@ export declare interface ViewCreateInstruction { * Implemented by classes that describe how a view factory should be loaded. */ export declare interface ViewStrategy { - + /** * Loads a view factory. * @param viewEngine The view engine to use during the load process. @@ -79,12 +80,37 @@ export declare interface IStaticViewConfig { template: string | HTMLTemplateElement; dependencies?: Function[] | (() => Array>>); } +export declare interface LetExpression { + createBinding(): LetBinding; +} +export declare interface LetBinding { + + /** + * The expression to access/assign/connect the binding source property. + */ + sourceExpression: Expression; + + /** + * Assigns a value to the target. + */ + updateTarget(value: any): void; + + /** + * Connects the binding to a scope. + */ + bind(source: Scope): void; + + /** + * Disconnects the binding from a scope. + */ + unbind(): void; +} /** * View engine hooks that enable a view resource to provide custom processing during the compilation or creation of a view. */ export declare interface ViewEngineHooks { - + /** * Invoked before a template is compiled. * @param content The DocumentFragment to compile. @@ -92,13 +118,13 @@ export declare interface ViewEngineHooks { * @param instruction The compilation instruction associated with the compilation process. */ beforeCompile?: (content: DocumentFragment, resources: ViewResources, instruction: ViewCompileInstruction) => void; - + /** * Invoked after a template is compiled. * @param viewFactory The view factory that was produced from the compilation process. */ afterCompile?: (viewFactory: ViewFactory) => void; - + /** * Invoked before a view is created. * @param viewFactory The view factory that will be used to create the view. @@ -107,19 +133,19 @@ export declare interface ViewEngineHooks { * @param instruction The view creation instruction associated with this creation process. */ beforeCreate?: (viewFactory: ViewFactory, container: Container, content: DocumentFragment, instruction: ViewCreateInstruction) => void; - + /** * Invoked after a view is created. * @param view The view that was created by the factory. */ afterCreate?: (view: View) => void; - + /** * Invoked after the bindingContext and overrideContext are configured on the view but before the view is bound. * @param view The view that was created by the factory. */ beforeBind?: (view: View) => void; - + /** * Invoked before the view is unbind. The bindingContext and overrideContext are still available on the view. * @param view The view that was created by the factory. @@ -127,83 +153,83 @@ export declare interface ViewEngineHooks { beforeUnbind?: (view: View) => void; } export declare interface IBindablePropertyConfig { - + /** * The name of the property. */ name?: string; attribute?: string; - + /** * The default binding mode of the property. If given string, will use to lookup */ defaultBindingMode?: bindingMode | 'oneTime' | 'oneWay' | 'twoWay' | 'fromView' | 'toView'; - + /** * The name of a view model method to invoke when the property is updated. */ changeHandler?: string; - + /** * A default value for the property. */ defaultValue?: any; - + /** * Designates the property as the default bindable property among all the other bindable properties when used in a custom attribute with multiple bindable properties. */ primaryProperty?: boolean; - + // For compatibility and future extension [key: string]: any; } export declare interface IStaticResourceConfig { - + /** * Resource type of this class, omit equals to custom element */ type?: 'element' | 'attribute' | 'valueConverter' | 'bindingBehavior' | 'viewEngineHooks'; - + /** * Name of this resource. Reccommended to explicitly set to works better with minifier */ name?: string; - + /** * Used to tell if a custom attribute is a template controller */ templateController?: boolean; - + /** * Used to set default binding mode of default custom attribute view model "value" property */ defaultBindingMode?: bindingMode | 'oneTime' | 'oneWay' | 'twoWay' | 'fromView' | 'toView'; - + /** * Flags a custom attribute has dynamic options */ hasDynamicOptions?: boolean; - + /** * Flag if this custom element uses native shadow dom instead of emulation */ usesShadowDOM?: boolean; - + /** * Options that will be used if the element is flagged with usesShadowDOM */ shadowDOMOptions?: ShadowRootInit; - + /** * Flag a custom element as containerless. Which will remove their render target */ containerless?: boolean; - + /** * Custom processing of the attributes on an element before the framework inspects them. */ processAttributes?: (viewCompiler: ViewCompiler, resources: ViewResources, node: Element, attributes: NamedNodeMap, elementInstruction: BehaviorInstruction) => void; - + /** * Enables custom processing of the content that is places inside the custom element by its consumer. * Pass a boolean to direct the template compiler to not process @@ -212,7 +238,7 @@ export declare interface IStaticResourceConfig { * a boolean indicating whether the compiler should also process the content. */ processContent?: (viewCompiler: ViewCompiler, resources: ViewResources, node: Element, instruction: BehaviorInstruction) => boolean; - + /** * List of bindable properties of this custom element / custom attribute, by name or full config object */ @@ -224,24 +250,24 @@ export declare interface IStaticResourceConfig { * Represents a node in the view hierarchy. */ export declare interface ViewNode { - + /** * Binds the node and it's children. * @param bindingContext The binding context to bind to. * @param overrideContext A secondary binding context that can override the standard context. */ bind(bindingContext: Object, overrideContext?: Object): void; - + /** * Triggers the attach for the node and its children. */ attached(): void; - + /** * Triggers the detach for the node and its children. */ detached(): void; - + /** * Unbinds the node and its children. */ @@ -252,7 +278,7 @@ export declare interface ViewNode { * An optional interface describing the created convention. */ export declare interface ComponentCreated { - + /** * Implement this hook if you want to perform custom logic after the constructor has been called. * At this point in time, the view has also been created and both the view-model and the view @@ -270,7 +296,7 @@ export declare interface ComponentCreated { * An optional interface describing the bind convention. */ export declare interface ComponentBind { - + /** * Implement this hook if you want to perform custom logic when databinding is activated on the view and view-model. * The "binding context" to which the component is being bound will be passed first. @@ -287,7 +313,7 @@ export declare interface ComponentBind { * An optional interface describing the attached convention. */ export declare interface ComponentAttached { - + /** * Implement this hook if you want to perform custom logic when the component is attached to the DOM (in document). */ @@ -301,7 +327,7 @@ export declare interface ComponentAttached { * An optional interface describing the detached convention. */ export declare interface ComponentDetached { - + /** * Implement this hook if you want to perform custom logic if/when the component is removed from the the DOM. */ @@ -315,7 +341,7 @@ export declare interface ComponentDetached { * An optional interface describing the unbind convention. */ export declare interface ComponentUnbind { - + /** * Implement this hook if you want to perform custom logic after the component is detached and unbound. */ @@ -329,7 +355,7 @@ export declare interface ComponentUnbind { * An optional interface describing the getViewStrategy convention for dynamic components (used with the compose element or the router). */ export declare interface DynamicComponentGetViewStrategy { - + /** * Implement this hook if you want to provide custom view strategy when this component is used with the compose element or the router. */ @@ -340,67 +366,67 @@ export declare interface DynamicComponentGetViewStrategy { * Instructs the composition engine how to dynamically compose a component. */ export declare interface CompositionContext { - + /** * The parent Container for the component creation. */ container: Container; - + /** * The child Container for the component creation. One will be created from the parent if not provided. */ childContainer?: Container; - + /** * The context in which the view model is executed in. */ bindingContext: any; - + /** * A secondary binding context that can override the standard context. */ overrideContext?: any; - + /** * The view model url or instance for the component. */ viewModel?: any; - + /** * Data to be passed to the "activate" hook on the view model. */ model?: any; - + /** * The HtmlBehaviorResource for the component. */ viewModelResource?: HtmlBehaviorResource; - + /** * The view resources for the view in which the component should be created. */ viewResources: ViewResources; - + /** * The view inside which this composition is happening. */ owningView?: View; - + /** * The view url or view strategy to override the default view location convention. */ view?: string | ViewStrategy; - + /** * The slot to push the dynamically composed component into. */ viewSlot: ViewSlot; - + /** * Should the composition system skip calling the "activate" hook on the view model. */ skipActivation?: boolean; - + /** * The element that will parent the dynamic component. * It will be registered in the child container of this composition. @@ -416,27 +442,27 @@ export declare interface IStaticViewStrategyConfig { * Instructs the framework in how to enhance an existing DOM structure. */ export declare interface EnhanceInstruction { - + /** * The DI container to use as the root for UI enhancement. */ container?: Container; - + /** * The element to enhance. */ element: Element; - + /** * The resources available for enhancement. */ resources?: ViewResources; - + /** * A binding context for the enhancement. */ bindingContext?: Object; - + /** * A secondary binding context that can override the standard context. */ @@ -452,21 +478,21 @@ export declare const animationEvent: any; * An abstract class representing a mechanism for animating the DOM during various DOM state transitions. */ export declare class Animator { - + /** * Execute an 'enter' animation on an element * @param element Element to animate * @returns Resolved when the animation is done */ enter(element: HTMLElement): Promise; - + /** * Execute a 'leave' animation on an element * @param element Element to animate * @returns Resolved when the animation is done */ leave(element: HTMLElement): Promise; - + /** * Add a class to an element to trigger an animation. * @param element Element to animate @@ -474,7 +500,7 @@ export declare class Animator { * @returns Resolved when the animation is done */ removeClass(element: HTMLElement, className: string): Promise; - + /** * Add a class to an element to trigger an animation. * @param element Element to animate @@ -482,7 +508,7 @@ export declare class Animator { * @returns Resolved when the animation is done */ addClass(element: HTMLElement, className: string): Promise; - + /** * Execute a single animation. * @param element Element to animate @@ -491,7 +517,7 @@ export declare class Animator { * @returns Resolved when the animation is done */ animate(element: HTMLElement | Array, className: string): Promise; - + /** * Run a sequence of animations one after the other. * for example: animator.runSequence("fadeIn","callout") @@ -499,14 +525,14 @@ export declare class Animator { * @returns Resolved when all animations are done */ runSequence(animations: Array): Promise; - + /** * Register an effect (for JS based animators) * @param effectName identifier of the effect * @param properties Object with properties for the effect */ registerEffect(effectName: string, properties: Object): void; - + /** * Unregister an effect (for JS based animators) * @param effectName identifier of the effect @@ -519,7 +545,7 @@ export declare class Animator { */ export declare class CompositionTransactionNotifier { constructor(owner?: any); - + /** * Notifies the owning transaction that its work is done. */ @@ -531,13 +557,13 @@ export declare class CompositionTransactionNotifier { */ export declare class CompositionTransactionOwnershipToken { constructor(owner?: any); - + /** * Allows the transaction owner to wait for the completion of all child compositions. * @return A promise that resolves when all child compositions are done. */ waitForCompositionComplete(): Promise; - + /** * Used internall to resolve the composition complete promise. */ @@ -548,18 +574,18 @@ export declare class CompositionTransactionOwnershipToken { * Enables an initiator of a view composition to track any internal async rendering processes for completion. */ export declare class CompositionTransaction { - + /** * Creates an instance of CompositionTransaction. */ constructor(); - + /** * Attempt to take ownership of the composition transaction. * @return An ownership token if successful, otherwise null. */ tryCapture(): CompositionTransactionOwnershipToken; - + /** * Enlist an async render operation into the transaction. * @return A completion notifier. @@ -575,43 +601,47 @@ export declare class ViewEngineHooksResource { } export declare function viewEngineHooks(target?: any): any; +/** + * Dispatches subscribets to and publishes events in the DOM. + * @param element + */ /** * Dispatches subscribets to and publishes events in the DOM. * @param element */ export declare class ElementEvents { constructor(element: EventTarget); - + /** - * Dispatches an Event on the context element. - * @param eventName - * @param detail - * @param bubbles - * @param cancelable - */ + * Dispatches an Event on the context element. + * @param eventName + * @param detail + * @param bubbles + * @param cancelable + */ publish(eventName: string, detail?: Object, bubbles?: boolean, cancelable?: boolean): any; - + /** * Adds and Event Listener on the context element. * @return Returns the eventHandler containing a dispose method */ subscribe(eventName: string, handler: Function, captureOrOptions?: boolean): EventHandler; - + /** * Adds an Event Listener on the context element, that will be disposed on the first trigger. * @return Returns the eventHandler containing a dispose method */ subscribeOnce(eventName: string, handler: Function, captureOrOptions?: boolean): EventHandler; - + /** - * Removes all events that are listening to the specified eventName. - * @param eventName - */ + * Removes all events that are listening to the specified eventName. + * @param eventName + */ dispose(eventName: string): void; - + /** - * Removes all event handlers. - */ + * Removes all event handlers. + */ disposeAll(): any; } @@ -620,18 +650,18 @@ export declare class ElementEvents { */ export declare class ResourceLoadContext { dependencies: Object; - + /** * Creates an instance of ResourceLoadContext. */ constructor(); - + /** * Tracks a dependency that is being loaded. * @param url The url of the dependency. */ addDependency(url: string): void; - + /** * Checks if the current context includes a load of the specified url. * @return True if the url is being loaded in the context; false otherwise. @@ -646,12 +676,12 @@ export declare class ViewCompileInstruction { targetShadowDOM: boolean; compileSurrogate: boolean; associatedModuleId: any; - + /** * The normal configuration for view compilation. */ static normal: ViewCompileInstruction; - + /** * Creates an instance of ViewCompileInstruction. * @param targetShadowDOM Should the compilation target the Shadow DOM. @@ -681,18 +711,18 @@ export declare class BehaviorInstruction { type: HtmlBehaviorResource; attrName: string; inheritBindingContext: boolean; - + /** * A default behavior used in scenarios where explicit configuration isn't available. */ static normal: BehaviorInstruction; - + /** * Creates an instruction for element enhancement. * @return The created instruction. */ static enhance(): BehaviorInstruction; - + /** * Creates an instruction for unit testing. * @param type The HtmlBehaviorResource to create. @@ -700,7 +730,7 @@ export declare class BehaviorInstruction { * @return The created instruction. */ static unitTest(type: HtmlBehaviorResource, attributes: Object): BehaviorInstruction; - + /** * Creates a custom element instruction. * @param node The node that represents the custom element. @@ -708,7 +738,7 @@ export declare class BehaviorInstruction { * @return The created instruction. */ static element(node: Node, type: HtmlBehaviorResource): BehaviorInstruction; - + /** * Creates a custom attribute instruction. * @param attrName The name of the attribute. @@ -716,7 +746,7 @@ export declare class BehaviorInstruction { * @return The created instruction. */ static attribute(attrName: string, type?: HtmlBehaviorResource): BehaviorInstruction; - + /** * Creates a dynamic component instruction. * @param host The element that will parent the dynamic component. @@ -725,11 +755,6 @@ export declare class BehaviorInstruction { * @return The created instruction. */ static dynamic(host: Element, viewModel: Object, viewFactory: ViewFactory): BehaviorInstruction; - - /** - * Creates an instance of BehaviorInstruction. - */ - constructor(); } /** @@ -741,7 +766,16 @@ export declare class TargetInstruction { shadowSlot: boolean; slotName: string; slotFallbackFactory: any; + + /** + * Indicates if this instruction is targeting a text node + */ contentExpression: any; + + /** + * Indicates if this instruction is a let element instruction + */ + letElement: boolean; expressions: Array; behaviorInstructions: Array; providers: Array; @@ -750,26 +784,38 @@ export declare class TargetInstruction { elementInstruction: BehaviorInstruction; lifting: boolean; values: Object; - + /** * An empty array used to represent a target with no binding expressions. */ static noExpressions: any; - + /** * Creates an instruction that represents a shadow dom slot. * @param parentInjectorId The id of the parent dependency injection container. * @return The created instruction. */ static shadowSlot(parentInjectorId: number): TargetInstruction; - + /** * Creates an instruction that represents a binding expression in the content of an element. * @param expression The binding expression. * @return The created instruction. */ static contentExpression(expression?: any): TargetInstruction; - + + /** + * Creates an instruction that represents an element with behaviors and bindings. + * @param injectorId The id of the dependency injection container. + * @param parentInjectorId The id of the parent dependency injection container. + * @param providers The types which will provide behavior for this element. + * @param behaviorInstructions The instructions for creating behaviors on this element. + * @param expressions Bindings, listeners, triggers, etc. + * @param elementInstruction The element behavior for this element. + * @return The created instruction. + */ + static letElement(expressions: Array): TargetInstruction; + /** * Creates an instruction that represents content that was lifted out of the DOM and into a ViewFactory. * @param parentInjectorId The id of the parent dependency injection container. @@ -777,7 +823,7 @@ export declare class TargetInstruction { * @return The created instruction. */ static lifting(parentInjectorId: number, liftingInstruction: BehaviorInstruction): TargetInstruction; - + /** * Creates an instruction that represents an element with behaviors and bindings. * @param injectorId The id of the dependency injection container. @@ -789,7 +835,7 @@ export declare class TargetInstruction { * @return The created instruction. */ static normal(injectorId: number, parentInjectorId: number, providers: Array, behaviorInstructions: Array, expressions: Array, elementInstruction: BehaviorInstruction): TargetInstruction; - + /** * Creates an instruction that represents the surrogate behaviors and bindings for an element. * @param providers The types which will provide behavior for this element. @@ -799,11 +845,6 @@ export declare class TargetInstruction { * @return The created instruction. */ static surrogate(providers: Array, behaviorInstructions: Array, expressions: Array, values: Object): TargetInstruction; - - /** - * Creates an instance of TargetInstruction. - */ - constructor(); } /** @@ -818,13 +859,13 @@ export declare const viewStrategy: Function; * A view strategy that loads a view relative to its associated view-model. */ export declare class RelativeViewStrategy { - + /** * Creates an instance of RelativeViewStrategy. * @param path The relative path to the view. */ constructor(path: string); - + /** * Loads a view factory. * @param viewEngine The view engine to use during the load process. @@ -834,7 +875,7 @@ export declare class RelativeViewStrategy { * @return A promise for the view factory that is produced by this strategy. */ loadViewFactory(viewEngine: ViewEngine, compileInstruction: ViewCompileInstruction, loadContext?: ResourceLoadContext, target?: any): Promise; - + /** * Makes the view loaded by this strategy relative to the provided file path. * @param file The path to load the view relative to. @@ -846,14 +887,14 @@ export declare class RelativeViewStrategy { * A view strategy based on naming conventions. */ export declare class ConventionalViewStrategy { - + /** * Creates an instance of ConventionalViewStrategy. * @param viewLocator The view locator service for conventionally locating the view. * @param origin The origin of the view model to conventionally load the view for. */ constructor(viewLocator: ViewLocator, origin: Origin); - + /** * Loads a view factory. * @param viewEngine The view engine to use during the load process. @@ -870,14 +911,14 @@ export declare class ConventionalViewStrategy { * Typically used when the component author wishes to take over fine-grained rendering control. */ export declare class NoViewStrategy { - + /** * Creates an instance of NoViewStrategy. * @param dependencies A list of view resource dependencies of this view. * @param dependencyBaseUrl The base url for the view dependencies. */ constructor(dependencies?: Array, dependencyBaseUrl?: string); - + /** * Loads a view factory. * @param viewEngine The view engine to use during the load process. @@ -893,14 +934,14 @@ export declare class NoViewStrategy { * A view strategy created directly from the template registry entry. */ export declare class TemplateRegistryViewStrategy { - + /** * Creates an instance of TemplateRegistryViewStrategy. * @param moduleId The associated moduleId of the view to be loaded. * @param entry The template registry entry used in loading the view factory. */ constructor(moduleId: string, entry: TemplateRegistryEntry); - + /** * Loads a view factory. * @param viewEngine The view engine to use during the load process. @@ -916,7 +957,7 @@ export declare class TemplateRegistryViewStrategy { * A view strategy that allows the component author to inline the html for the view. */ export declare class InlineViewStrategy { - + /** * Creates an instance of InlineViewStrategy. * @param markup The markup for the view. Be sure to include the wrapping template tag. @@ -924,7 +965,7 @@ export declare class InlineViewStrategy { * @param dependencyBaseUrl The base url for the view dependencies. */ constructor(markup: string, dependencies?: Array, dependencyBaseUrl?: string); - + /** * Loads a view factory. * @param viewEngine The view engine to use during the load process. @@ -936,16 +977,16 @@ export declare class InlineViewStrategy { loadViewFactory(viewEngine: ViewEngine, compileInstruction: ViewCompileInstruction, loadContext?: ResourceLoadContext, target?: any): Promise; } export declare class StaticViewStrategy { - + /**@internal */ template: string | HTMLTemplateElement; - + /**@internal */ dependencies: Function[] | (() => Array>>); factoryIsReady: boolean; factory: ViewFactory; constructor(config: string | HTMLTemplateElement | IStaticViewConfig); - + /** * Loads a view factory. * @param viewEngine The view engine to use during the load process. @@ -961,19 +1002,19 @@ export declare class StaticViewStrategy { * Locates a view for an object. */ export declare class ViewLocator { - + /** * The metadata key for storing/finding view strategies associated with an class/object. */ static viewStrategyMetadataKey: any; - + /** * Gets the view strategy for the value. * @param value The value to locate the view strategy for. * @return The located ViewStrategy instance. */ getViewStrategy(value: any): ViewStrategy; - + /** * Creates a fallback View Strategy. Used when unable to locate a configured strategy. * The default implementation returns and instance of ConventionalViewStrategy. @@ -981,7 +1022,7 @@ export declare class ViewLocator { * @return The fallback ViewStrategy. */ createFallbackViewStrategy(origin: Origin): ViewStrategy; - + /** * Conventionally converts a view model origin to a view url. * Used by the ConventionalViewStrategy. @@ -991,23 +1032,14 @@ export declare class ViewLocator { convertOriginToViewUrl(origin: Origin): string; } -export declare interface LetExpression { - createBinding(): LetBinding -} - -export declare interface LetBinding { - updateSource(): any; - call(context): any; - bind(source?: any): any; - unbind(): any; - connect(): any; -} - +/** +* An abstract base class for implementations of a binding language. +*/ /** * An abstract base class for implementations of a binding language. */ export declare class BindingLanguage { - + /** * Inspects an attribute for bindings. * @param resources The ViewResources for the view being compiled. @@ -1017,7 +1049,7 @@ export declare class BindingLanguage { * @return An info object with the results of the inspection. */ inspectAttribute(resources: ViewResources, elementName: string, attrName: string, attrValue: string): Object; - + /** * Creates an attribute behavior instruction. * @param resources The ViewResources for the view being compiled. @@ -1027,16 +1059,16 @@ export declare class BindingLanguage { * @return The instruction instance. */ createAttributeInstruction(resources: ViewResources, element: Element, info: Object, existingInstruction?: Object): BehaviorInstruction; - + /** - * Creates let expressions from a element - * @param resources The ViewResources for the view being compiled - * @param element the let element in the view template - * @param existingExpressions the array that will hold compiled let expressions from the let element - * @return the expression array created from the element - */ - createLetExpressions(resources: ViewResources, element: Element, existingExpressions?: LetExpression[]): LetExpression[] - + * Creates let expressions from a element + * @param resources The ViewResources for the view being compiled + * @param element the let element in the view template + * @param existingExpressions the array that will hold compiled let expressions from the let element + * @return the expression array created from the element + */ + createLetExpressions(resources: ViewResources, element: Element): LetExpression[]; + /** * Parses the text for bindings. * @param resources The ViewResources for the view being compiled. @@ -1095,73 +1127,73 @@ export declare function validateBehaviorName(name: string, type: string): any; * Will optinally add information to an existing HtmlBehaviorResource if given */ export declare class ViewResources { - + /** * Checks whether the provided class contains any resource conventions * @param target Target class to extract metadata based on convention * @param existing If supplied, all custom element / attribute metadata extracted from convention will be apply to this instance */ static convention(target: Function, existing?: HtmlBehaviorResource): HtmlBehaviorResource | ValueConverterResource | BindingBehaviorResource | ViewEngineHooksResource; - + /** * A custom binding language used in the view. */ bindingLanguage: any; - + /** * Creates an instance of ViewResources. * @param parent The parent resources. This resources can override them, but if a resource is not found, it will be looked up in the parent. * @param viewUrl The url of the view to which these resources apply. */ constructor(parent?: ViewResources, viewUrl?: string); - + /** * Registers view engine hooks for the view. * @param hooks The hooks to register. */ registerViewEngineHooks(hooks: ViewEngineHooks): void; - + /** * Gets the binding language associated with these resources, or return the provided fallback implementation. * @param bindingLanguageFallback The fallback binding language implementation to use if no binding language is configured locally. * @return The binding language. */ getBindingLanguage(bindingLanguageFallback: BindingLanguage): BindingLanguage; - + /** * Patches an immediate parent into the view resource resolution hierarchy. * @param newParent The new parent resources to patch in. */ patchInParent(newParent: ViewResources): void; - + /** * Maps a path relative to the associated view's origin. * @param path The relative path. * @return The calcualted path. */ relativeToView(path: string): string; - + /** * Registers an HTML element. * @param tagName The name of the custom element. * @param behavior The behavior of the element. */ registerElement(tagName: string, behavior: HtmlBehaviorResource): void; - + /** * Gets an HTML element behavior. * @param tagName The tag name to search for. * @return The HtmlBehaviorResource for the tag name or null. */ getElement(tagName: string): HtmlBehaviorResource; - + /** * Gets the known attribute name based on the local attribute name. * @param attribute The local attribute name to lookup. * @return The known name. */ mapAttribute(attribute: string): string; - + /** * Registers an HTML attribute. * @param attribute The name of the attribute. @@ -1169,56 +1201,56 @@ export declare class ViewResources { * @param knownAttribute The well-known name of the attribute (in lieu of the local name). */ registerAttribute(attribute: string, behavior: HtmlBehaviorResource, knownAttribute: string): void; - + /** * Gets an HTML attribute behavior. * @param attribute The name of the attribute to lookup. * @return The HtmlBehaviorResource for the attribute or null. */ getAttribute(attribute: string): HtmlBehaviorResource; - + /** * Registers a value converter. * @param name The name of the value converter. * @param valueConverter The value converter instance. */ registerValueConverter(name: string, valueConverter: Object): void; - + /** * Gets a value converter. * @param name The name of the value converter. * @return The value converter instance. */ getValueConverter(name: string): Object; - + /** * Registers a binding behavior. * @param name The name of the binding behavior. * @param bindingBehavior The binding behavior instance. */ registerBindingBehavior(name: string, bindingBehavior: Object): void; - + /** * Gets a binding behavior. * @param name The name of the binding behavior. * @return The binding behavior instance. */ getBindingBehavior(name: string): Object; - + /** * Registers a value. * @param name The name of the value. * @param value The value. */ registerValue(name: string, value: any): void; - + /** * Gets a value. * @param name The name of the value. * @return The value. */ getValue(name: string): any; - + /** * @internal * Not supported for public use. Can be changed without warning. @@ -1232,37 +1264,37 @@ export declare class ViewResources { autoRegister(container?: any, impl?: any): any; } export declare class View { - + /** * The Dependency Injection Container that was used to create this View instance. */ container: Container; - + /** * The ViewFactory that built this View instance. */ viewFactory: ViewFactory; - + /** * Contains the DOM Nodes which represent this View. If the view was created via the "enhance" API, this will be an Element, otherwise it will be a DocumentFragment. If not created via "enhance" then the fragment will only contain nodes when the View is detached from the DOM. */ fragment: DocumentFragment | Element; - + /** * The primary binding context that this view is data-bound to. */ bindingContext: Object; - + /** * The override context which contains properties capable of overriding those found on the binding context. */ overrideContext: Object; - + /** * The Controller instance that owns this View. */ controller: Controller; - + /** * Creates a View instance. * @param container The container from which the view was created. @@ -1273,57 +1305,57 @@ export declare class View { * @param children The children of this view. */ constructor(container: Container, viewFactory: ViewFactory, fragment: DocumentFragment, controllers: Controller[], bindings: Binding[], children: ViewNode[], slots: Object); - + /** * Returns this view to the appropriate view cache. */ returnToCache(): void; - + /** * Triggers the created callback for this view and its children. */ created(): void; - + /** * Binds the view and it's children. * @param bindingContext The binding context to bind to. * @param overrideContext A secondary binding context that can override the standard context. */ bind(bindingContext: Object, overrideContext?: Object, _systemUpdate?: boolean): void; - + /** * Adds a binding instance to this view. * @param binding The binding instance. */ addBinding(binding: Object): void; - + /** * Unbinds the view and its children. */ unbind(): void; - + /** * Inserts this view's nodes before the specified DOM node. * @param refNode The node to insert this view's nodes before. */ insertNodesBefore(refNode: Node): void; - + /** * Appends this view's to the specified DOM node. * @param parent The parent element to append this view's nodes to. */ appendNodesTo(parent: Element): void; - + /** * Removes this view's nodes from the DOM. */ removeNodes(): void; - + /** * Triggers the attach for the view and its children. */ attached(): void; - + /** * Triggers the detach for the view and its children. */ @@ -1335,7 +1367,7 @@ export declare class View { * Manages the view lifecycle for its children. */ export declare class ViewSlot { - + /** * Creates an instance of ViewSlot. * @param anchor The DOM node which will server as the anchor or container for insertion. @@ -1343,7 +1375,7 @@ export declare class ViewSlot { * @param animator The animator that will controll enter/leave transitions for this slot. */ constructor(anchor: Node, anchorIsContainer: boolean, animator?: Animator); - + /** * Runs the animator against the first animatable element found within the view's fragment * @param view The view to use when searching for the element. @@ -1351,32 +1383,32 @@ export declare class ViewSlot { * @returns An animation complete Promise or undefined if no animation was run. */ animateView(view: View, direction?: string): void | Promise; - + /** * Takes the child nodes of an existing element that has been converted into a ViewSlot * and makes those nodes into a View within the slot. */ transformChildNodesIntoView(): void; - + /** * Binds the slot and it's children. * @param bindingContext The binding context to bind to. * @param overrideContext A secondary binding context that can override the standard context. */ bind(bindingContext: Object, overrideContext: Object): void; - + /** * Unbinds the slot and its children. */ unbind(): void; - + /** * Adds a view to the slot. * @param view The view to add. * @return May return a promise if the view addition triggered an animation. */ add(view: View): void | Promise; - + /** * Inserts a view into the slot. * @param index The index to insert the view at. @@ -1384,14 +1416,14 @@ export declare class ViewSlot { * @return May return a promise if the view insertion triggered an animation. */ insert(index: number, view: View): void | Promise; - + /** * Moves a view across the slot. * @param sourceIndex The index the view is currently at. * @param targetIndex The index to insert the view at. */ move(sourceIndex?: any, targetIndex?: any): any; - + /** * Removes a view from the slot. * @param view The view to remove. @@ -1400,7 +1432,7 @@ export declare class ViewSlot { * @return May return a promise if the view removal triggered an animation. */ remove(view: View, returnToCache?: boolean, skipAnimation?: boolean): View | Promise; - + /** * Removes many views from the slot. * @param viewsToRemove The array of views to remove. @@ -1409,7 +1441,7 @@ export declare class ViewSlot { * @return May return a promise if the view removal triggered an animation. */ removeMany(viewsToRemove: View[], returnToCache?: boolean, skipAnimation?: boolean): void | Promise; - + /** * Removes a view an a specified index from the slot. * @param index The index to remove the view at. @@ -1418,7 +1450,7 @@ export declare class ViewSlot { * @return May return a promise if the view removal triggered an animation. */ removeAt(index: number, returnToCache?: boolean, skipAnimation?: boolean): View | Promise; - + /** * Removes all views from the slot. * @param returnToCache Should the view be returned to the view cache? @@ -1426,12 +1458,12 @@ export declare class ViewSlot { * @return May return a promise if the view removals triggered an animation. */ removeAll(returnToCache?: boolean, skipAnimation?: boolean): void | Promise; - + /** * Triggers the attach for the slot and its children. */ attached(): void; - + /** * Triggers the detach for the slot and its children. */ @@ -1443,7 +1475,7 @@ export declare class ViewSlot { * A factory capable of creating View instances, bound to a location within another view hierarchy. */ export declare class BoundViewFactory { - + /** * Creates an instance of BoundViewFactory. * @param parentContainer The parent DI container. @@ -1451,31 +1483,31 @@ export declare class BoundViewFactory { * @param partReplacements Part replacement overrides for the internal factory. */ constructor(parentContainer: Container, viewFactory: ViewFactory, partReplacements?: Object); - + /** * Creates a view or returns one from the internal cache, if available. * @return The created view. */ create(): View; - + /** * Indicates whether this factory is currently using caching. */ isCaching: any; - + /** * Sets the cache size for this factory. * @param size The number of views to cache or "*" to cache all. * @param doNotOverrideIfAlreadySet Indicates that setting the cache should not override the setting if previously set. */ setCacheSize(size: number | string, doNotOverrideIfAlreadySet: boolean): void; - + /** * Gets a cached view if available... * @return A cached view or null if one isn't available. */ getCachedView(): View; - + /** * Returns a view to the cache. * @param view The view to return to the cache if space is available. @@ -1483,48 +1515,43 @@ export declare class BoundViewFactory { returnViewToCache(view: View): void; } -interface ViewFactoryInstructions { - [x: number]: TargetInstruction - letExpressions: LetExpression[] -} - /** * A factory capable of creating View instances. */ export declare class ViewFactory { - + /** * Indicates whether this factory is currently using caching. */ isCaching: any; - + /** * Creates an instance of ViewFactory. * @param template The document fragment that serves as a template for the view to be created. - * @param instructions The instructions to be applied on the template during the creation of a view. + * @param instructions The instructions to be applied ot the template during the creation of a view. * @param resources The resources used to compile this factory. */ - constructor(template: DocumentFragment, instructions: ViewFactoryInstructions, resources: ViewResources); - + constructor(template: DocumentFragment, instructions: Object, resources: ViewResources); + /** * Sets the cache size for this factory. * @param size The number of views to cache or "*" to cache all. * @param doNotOverrideIfAlreadySet Indicates that setting the cache should not override the setting if previously set. */ setCacheSize(size: number | string, doNotOverrideIfAlreadySet: boolean): void; - + /** * Gets a cached view if available... * @return A cached view or null if one isn't available. */ getCachedView(): View; - + /** * Returns a view to the cache. * @param view The view to return to the cache if space is available. */ returnViewToCache(view: View): void; - + /** * Creates a view or returns one from the internal cache, if available. * @param container The container to create the view from. @@ -1539,14 +1566,14 @@ export declare class ViewFactory { * Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views. */ export declare class ViewCompiler { - + /** * Creates an instance of ViewCompiler. * @param bindingLanguage The default data binding language and syntax used during view compilation. * @param resources The global resources used during compilation when none are provided for compilation. */ constructor(bindingLanguage: BindingLanguage, resources: ViewResources); - + /** * Compiles an html template, dom fragment or string into ViewFactory instances, capable of instantiating Views. * @param source The template, fragment or string to compile. @@ -1561,26 +1588,26 @@ export declare class ViewCompiler { * Represents a module with view resources. */ export declare class ResourceModule { - + /** * Creates an instance of ResourceModule. * @param moduleId The id of the module that contains view resources. */ constructor(moduleId: string); - + /** * Initializes the resources within the module. * @param container The dependency injection container usable during resource initialization. */ initialize(container: Container): void; - + /** * Registers the resources in the module with the view resources. * @param registry The registry of view resources to regiser within. * @param name The name to use in registering the default resource. */ register(registry: ViewResources, name?: string): void; - + /** * Loads any dependencies of the resources within this module. * @param container The DI container to use during dependency resolution. @@ -1594,7 +1621,7 @@ export declare class ResourceModule { * Represents a single view resource with a ResourceModule. */ export declare class ResourceDescription { - + /** * Creates an instance of ResourceDescription. * @param key The key that the resource was exported as. @@ -1602,20 +1629,20 @@ export declare class ResourceDescription { * @param resourceTypeMeta The metadata located on the resource. */ constructor(key: string, exportedValue: any, resourceTypeMeta?: Object); - + /** * Initializes the resource. * @param container The dependency injection container usable during resource initialization. */ initialize(container: Container): void; - + /** * Registrers the resource with the view resources. * @param registry The registry of view resources to regiser within. * @param name The name to use in registering the resource. */ register(registry: ViewResources, name?: string): void; - + /** * Loads any dependencies of the resource. * @param container The DI container to use during dependency resolution. @@ -1629,19 +1656,19 @@ export declare class ResourceDescription { * Analyzes a module in order to discover the view resources that it exports. */ export declare class ModuleAnalyzer { - + /** * Creates an instance of ModuleAnalyzer. */ constructor(); - + /** * Retrieves the ResourceModule analysis for a previously analyzed module. * @param moduleId The id of the module to lookup. * @return The ResouceModule if found, undefined otherwise. */ getAnalysis(moduleId: string): ResourceModule; - + /** * Analyzes a module. * @param moduleId The id of the module to analyze. @@ -1656,12 +1683,12 @@ export declare class ModuleAnalyzer { * Controls the view resource loading pipeline. */ export declare class ViewEngine { - + /** * The metadata key for storing requires declared in a ViewModel. */ static viewModelRequireMetadataKey: any; - + /** * Creates an instance of ViewEngine. * @param loader The module loader. @@ -1671,14 +1698,14 @@ export declare class ViewEngine { * @param appResources The app-level global resources. */ constructor(loader: Loader, container: Container, viewCompiler: ViewCompiler, moduleAnalyzer: ModuleAnalyzer, appResources: ViewResources); - + /** * Adds a resource plugin to the resource loading pipeline. * @param extension The file extension to match in require elements. * @param implementation The plugin implementation that handles the resource type. */ addResourcePlugin(extension: string, implementation: Object): void; - + /** * Loads and compiles a ViewFactory from a url or template registry entry. * @param urlOrRegistryEntry A url or template registry entry to generate the view factory for. @@ -1688,7 +1715,7 @@ export declare class ViewEngine { * @return A promise for the compiled view factory. */ loadViewFactory(urlOrRegistryEntry: string | TemplateRegistryEntry, compileInstruction?: ViewCompileInstruction, loadContext?: ResourceLoadContext, target?: any): Promise; - + /** * Loads all the resources specified by the registry entry. * @param registryEntry The template registry entry to load the resources for. @@ -1698,7 +1725,7 @@ export declare class ViewEngine { * @return A promise of ViewResources for the registry entry. */ loadTemplateResources(registryEntry: TemplateRegistryEntry, compileInstruction?: ViewCompileInstruction, loadContext?: ResourceLoadContext, target?: any): Promise; - + /** * Loads a view model as a resource. * @param moduleImport The module to import. @@ -1706,7 +1733,7 @@ export declare class ViewEngine { * @return A promise for the ResourceDescription. */ importViewModelResource(moduleImport: string, moduleMember: string): Promise; - + /** * Imports the specified resources with the specified names into the view resources object. * @param moduleIds The modules to load. @@ -1722,23 +1749,23 @@ export declare class ViewEngine { * Controls a view model (and optionally its view), according to a particular behavior and by following a set of instructions. */ export declare class Controller { - + /** * The HtmlBehaviorResource that provides the base behavior for this controller. */ behavior: HtmlBehaviorResource; - + /** * The developer's view model instance which provides the custom behavior for this controller. */ viewModel: Object; - + /** * The view associated with the component being controlled by this controller. * Note: Not all components will have a view, so the value may be null. */ view: View; - + /** * Creates an instance of Controller. * @param behavior The HtmlBehaviorResource that provides the base behavior for this controller. @@ -1747,13 +1774,13 @@ export declare class Controller { * @param container The container that the controller's view was created from. */ constructor(behavior: HtmlBehaviorResource, instruction: BehaviorInstruction, viewModel: Object, container: Container); - + /** * Invoked when the view which contains this controller is created. * @param owningView The view inside which this controller resides. */ created(owningView: View): void; - + /** * Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation. * This should be considered a semi-private API and is subject to change without notice, even across minor or patch releases. @@ -1761,23 +1788,23 @@ export declare class Controller { * @param owningView The view inside which this controller resides. */ automate(overrideContext?: Object, owningView?: View): void; - + /** * Binds the controller to the scope. * @param scope The binding scope. */ bind(scope: Object): void; - + /** * Unbinds the controller. */ unbind(): void; - + /** * Attaches the controller. */ attached(): void; - + /** * Detaches the controller. */ @@ -1788,7 +1815,7 @@ export declare class Controller { * An implementation of Aurelia's Observer interface that is used to back bindable properties defined on a behavior. */ export declare class BehaviorPropertyObserver { - + /** * Creates an instance of BehaviorPropertyObserver. * @param taskQueue The task queue used to schedule change notifications. @@ -1798,30 +1825,30 @@ export declare class BehaviorPropertyObserver { * @param initialValue The initial value of the property. */ constructor(taskQueue: TaskQueue, obj: Object, propertyName: string, selfSubscriber: Function, initialValue: any); - + /** * Gets the property's value. */ getValue(): any; - + /** * Sets the property's value. * @param newValue The new value to set. */ setValue(newValue: any): void; - + /** * Invoked by the TaskQueue to publish changes to subscribers. */ call(): void; - + /** * Subscribes to the observerable. * @param context A context object to pass along to the subscriber when it's called. * @param callable A function or object with a "call" method to be invoked for delivery of changes. */ subscribe(context: any, callable: Function): void; - + /** * Unsubscribes from the observerable. * @param context The context object originally subscribed with. @@ -1834,13 +1861,13 @@ export declare class BehaviorPropertyObserver { * Represents a bindable property on a behavior. */ export declare class BindableProperty { - + /** * Creates an instance of BindableProperty. * @param nameOrConfig The name of the property or a cofiguration object. */ constructor(nameOrConfig: string | Object); - + /** * Registers this bindable property with particular Class and Behavior instance. * @param target The class to register this behavior with. @@ -1848,14 +1875,14 @@ export declare class BindableProperty { * @param descriptor The property descriptor for this property. */ registerWith(target: Function, behavior: HtmlBehaviorResource, descriptor?: Object): void; - + /** * Defines this property on the specified class and behavior. * @param target The class to define the property on. * @param behavior The behavior to define the property on. */ defineOn(target: Function, behavior: HtmlBehaviorResource): void; - + /** * Creates an observer for this property. * @param viewModel The view model instance on which to create the observer. @@ -1869,25 +1896,25 @@ export declare class BindableProperty { * attribute functionality. */ export declare class HtmlBehaviorResource { - + /** * Creates an instance of HtmlBehaviorResource. */ constructor(); - + /** * Checks whether the provided name matches any naming conventions for HtmlBehaviorResource. * @param name The name of the potential resource. * @param existing An already existing resource that may need a convention name applied. */ static convention(name: string, existing?: HtmlBehaviorResource): HtmlBehaviorResource; - + /** * Adds a binding expression to the component created by this resource. * @param behavior The binding expression. */ addChildBinding(behavior: Object): void; - + /** * Provides an opportunity for the resource to initialize iteself. * @param container The dependency injection container from which the resource @@ -1895,7 +1922,7 @@ export declare class HtmlBehaviorResource { * @param target The class to which this resource metadata is attached. */ initialize(container: Container, target: Function): void; - + /** * Allows the resource to be registered in the view resources for the particular * view into which it was required. @@ -1904,7 +1931,7 @@ export declare class HtmlBehaviorResource { * particular view it's being used. */ register(registry: ViewResources, name?: string): void; - + /** * Enables the resource to asynchronously load additional resources. * @param container The dependency injection container from which the resource @@ -1916,7 +1943,7 @@ export declare class HtmlBehaviorResource { * permanently tied to this component. */ load(container: Container, target: Function, loadContext?: ResourceLoadContext, viewStrategy?: ViewStrategy, transientView?: boolean): Promise; - + /** * Plugs into the compiler and enables custom processing of the node on which this behavior is located. * @param compiler The compiler that is currently compiling the view that this behavior exists within. @@ -1927,7 +1954,7 @@ export declare class HtmlBehaviorResource { * @return The current node. */ compile(compiler: ViewCompiler, resources: ViewResources, node: Node, instruction: BehaviorInstruction, parentNode?: Node): Node; - + /** * Creates an instance of this behavior. * @param container The DI container to create the instance in. @@ -1954,27 +1981,27 @@ export declare const SwapStrategies: any; * Used to dynamically compose components. */ export declare class CompositionEngine { - + /** * Creates an instance of the CompositionEngine. * @param viewEngine The ViewEngine used during composition. */ constructor(viewEngine: ViewEngine, viewLocator: ViewLocator); - + /** * Creates a controller instance for the component described in the context. * @param context The CompositionContext that describes the component. * @return A Promise for the Controller. */ createController(context: CompositionContext): Promise; - + /** * Ensures that the view model and its resource are loaded for this context. * @param context The CompositionContext to load the view model and its resource for. * @return A Promise for the context. */ ensureViewModel(context: CompositionContext): Promise; - + /** * Dynamically composes a component. * @param context The CompositionContext providing information on how the composition should occur. @@ -1989,7 +2016,7 @@ export declare class CompositionEngine { * to Web Components. */ export declare class ElementConfigResource { - + /** * Provides an opportunity for the resource to initialize iteself. * @param container The dependency injection container from which the resource @@ -1997,7 +2024,7 @@ export declare class ElementConfigResource { * @param target The class to which this resource metadata is attached. */ initialize(container: Container, target: Function): void; - + /** * Allows the resource to be registered in the view resources for the particular * view into which it was required. @@ -2006,7 +2033,7 @@ export declare class ElementConfigResource { * particular view it's being used. */ register(registry: ViewResources, name?: string): void; - + /** * Enables the resource to asynchronously load additional resources. * @param container The dependency injection container from which the resource @@ -2144,7 +2171,7 @@ export declare function viewResources(...resources: any[]): any; * A facade of the templating engine capabilties which provides a more user friendly API for common use cases. */ export declare class TemplatingEngine { - + /** * Creates an instance of TemplatingEngine. * @param container The root DI container. @@ -2153,13 +2180,13 @@ export declare class TemplatingEngine { * @param compositionEngine The composition engine used during dynamic component composition. */ constructor(container: Container, moduleAnalyzer: ModuleAnalyzer, viewCompiler: ViewCompiler, compositionEngine: CompositionEngine); - + /** * Configures the default animator. * @param animator The animator instance. */ configureAnimator(animator: Animator): void; - + /** * Dynamically composes components and views. * @param context The composition context to use. @@ -2167,7 +2194,7 @@ export declare class TemplatingEngine { * are responsible for enforcing the Controller/View lifecycle. */ compose(context: CompositionContext): Promise; - + /** * Enhances existing DOM with behaviors and bindings. * @param instruction The element to enhance or a set of instructions for the enhancement process. @@ -2175,4 +2202,4 @@ export declare class TemplatingEngine { * are responsible for enforcing the View lifecycle. */ enhance(instruction: Element | EnhanceInstruction): View; -} +} \ No newline at end of file diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js index 2b37771f..1ea6633c 100644 --- a/dist/aurelia-templating.js +++ b/dist/aurelia-templating.js @@ -3,8 +3,8 @@ import {metadata,Origin,protocol} from 'aurelia-metadata'; import {DOM,PLATFORM,FEATURE} from 'aurelia-pal'; import {TemplateRegistryEntry,Loader} from 'aurelia-loader'; import {relativeToFile} from 'aurelia-path'; +import {Scope,Expression,ValueConverterResource,BindingBehaviorResource,camelCase,Binding,createOverrideContext,subscriberCollection,bindingMode,ObserverLocator,EventManager} from 'aurelia-binding'; import {Container,resolver,inject} from 'aurelia-dependency-injection'; -import {ValueConverterResource,BindingBehaviorResource,camelCase,Binding,createOverrideContext,subscriberCollection,bindingMode,ObserverLocator,EventManager} from 'aurelia-binding'; import {TaskQueue} from 'aurelia-task-queue'; /** @@ -555,28 +555,24 @@ export class BehaviorInstruction { instruction.inheritBindingContext = true; return instruction; } - - /** - * Creates an instance of BehaviorInstruction. - */ - constructor() { - this.initiatedByBehavior = false; - this.enhance = false; - this.partReplacements = null; - this.viewFactory = null; - this.originalAttrName = null; - this.skipContentProcessing = false; - this.contentFactory = null; - this.viewModel = null; - this.anchorIsContainer = false; - this.host = null; - this.attributes = null; - this.type = null; - this.attrName = null; - this.inheritBindingContext = false; - } } +const biProto = BehaviorInstruction.prototype; +biProto.initiatedByBehavior = false; +biProto.enhance = false; +biProto.partReplacements = null; +biProto.viewFactory = null; +biProto.originalAttrName = null; +biProto.skipContentProcessing = false; +biProto.contentFactory = null; +biProto.viewModel = null; +biProto.anchorIsContainer = false; +biProto.host = null; +biProto.attributes = null; +biProto.type = null; +biProto.attrName = null; +biProto.inheritBindingContext = false; + BehaviorInstruction.normal = new BehaviorInstruction(); /** @@ -584,26 +580,34 @@ BehaviorInstruction.normal = new BehaviorInstruction(); */ export class TargetInstruction { - injectorId:number; - parentInjectorId:number; + injectorId: number; + parentInjectorId: number; - shadowSlot:boolean; - slotName:string; - slotFallbackFactory:any; + shadowSlot: boolean; + slotName: string; + slotFallbackFactory: any; + + /** + * Indicates if this instruction is targeting a text node + */ + contentExpression: any; - contentExpression:any; + /** + * Indicates if this instruction is a let element instruction + */ + letElement: boolean; - expressions:Array; - behaviorInstructions:Array; - providers:Array; + expressions: Array; + behaviorInstructions: Array; + providers: Array; - viewFactory:ViewFactory; + viewFactory: ViewFactory; - anchorIsContainer:boolean; - elementInstruction:BehaviorInstruction; - lifting:boolean; + anchorIsContainer: boolean; + elementInstruction: BehaviorInstruction; + lifting: boolean; - values:Object; + values: Object; /** * An empty array used to represent a target with no binding expressions. @@ -633,6 +637,23 @@ export class TargetInstruction { return instruction; } + /** + * Creates an instruction that represents an element with behaviors and bindings. + * @param injectorId The id of the dependency injection container. + * @param parentInjectorId The id of the parent dependency injection container. + * @param providers The types which will provide behavior for this element. + * @param behaviorInstructions The instructions for creating behaviors on this element. + * @param expressions Bindings, listeners, triggers, etc. + * @param elementInstruction The element behavior for this element. + * @return The created instruction. + */ + static letElement(expressions: Array): TargetInstruction { + let instruction = new TargetInstruction(); + instruction.expressions = expressions; + instruction.letElement = true; + return instruction; + } + /** * Creates an instruction that represents content that was lifted out of the DOM and into a ViewFactory. * @param parentInjectorId The id of the parent dependency injection container. @@ -688,33 +709,31 @@ export class TargetInstruction { instruction.values = values; return instruction; } +} - /** - * Creates an instance of TargetInstruction. - */ - constructor() { - this.injectorId = null; - this.parentInjectorId = null; +const tiProto = TargetInstruction.prototype; - this.shadowSlot = false; - this.slotName = null; - this.slotFallbackFactory = null; +tiProto.injectorId = null; +tiProto.parentInjectorId = null; - this.contentExpression = null; +tiProto.shadowSlot = false; +tiProto.slotName = null; +tiProto.slotFallbackFactory = null; - this.expressions = null; - this.behaviorInstructions = null; - this.providers = null; +tiProto.contentExpression = null; +tiProto.letElement = false; - this.viewFactory = null; +tiProto.expressions = null; +tiProto.expressions = null; +tiProto.providers = null; - this.anchorIsContainer = false; - this.elementInstruction = null; - this.lifting = false; +tiProto.viewFactory = null; - this.values = null; - } -} +tiProto.anchorIsContainer = false; +tiProto.elementInstruction = null; +tiProto.lifting = false; + +tiProto.values = null; /** * Implemented by classes that describe how a view factory should be loaded. @@ -1162,6 +1181,29 @@ function mi(name) { throw new Error(`BindingLanguage must implement ${name}().`); } +interface LetExpression { + createBinding(): LetBinding; +} + +interface LetBinding { + /** + * The expression to access/assign/connect the binding source property. + */ + sourceExpression: Expression; + /** + * Assigns a value to the target. + */ + updateTarget(value: any): void; + /** + * Connects the binding to a scope. + */ + bind(source: Scope): void; + /** + * Disconnects the binding from a scope. + */ + unbind(): void; +} + /** * An abstract base class for implementations of a binding language. */ @@ -1190,6 +1232,17 @@ export class BindingLanguage { mi('createAttributeInstruction'); } + /** + * Creates let expressions from a element + * @param resources The ViewResources for the view being compiled + * @param element the let element in the view template + * @param existingExpressions the array that will hold compiled let expressions from the let element + * @return the expression array created from the element + */ + createLetExpressions(resources: ViewResources, element: Element): LetExpression[] { + mi('createLetExpressions'); + } + /** * Parses the text for bindings. * @param resources The ViewResources for the view being compiled. @@ -3169,6 +3222,17 @@ function makeElementIntoAnchor(element, elementInstruction) { return anchor; } +/** + * @param {Container[]} containers + * @param {Element} element + * @param {TargetInstruction} instruction + * @param {Controller[]} controllers + * @param {Binding[]} bindings + * @param {ViewNode[]} children + * @param {Record} shadowSlots + * @param {Record} partReplacements + * @param {ViewResources} resources + */ function applyInstructions(containers, element, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources) { let behaviorInstructions = instruction.behaviorInstructions; let expressions = instruction.expressions; @@ -3201,6 +3265,14 @@ function applyInstructions(containers, element, instruction, controllers, bindin return; } + if (instruction.letElement) { + for (i = 0, ii = expressions.length; i < ii; ++i) { + bindings.push(expressions[i].createBinding()); + } + element.parentNode.removeChild(element); + return; + } + if (behaviorInstructions.length) { if (!instruction.anchorIsContainer) { element = makeElementIntoAnchor(element, instruction.elementInstruction); @@ -3561,6 +3633,8 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI return auShadowSlot; } +const defaultLetHandler = BindingLanguage.prototype.createLetExpressions; + /** * Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views. */ @@ -3784,7 +3858,7 @@ export class ViewCompiler { return null; } - _compileElement(node, resources, instructions, parentNode, parentInjectorId, targetLightDOM) { + _compileElement(node: Node, resources: ViewResources, instructions: any, parentNode: Node, parentInjectorId: number, targetLightDOM: boolean) { let tagName = node.tagName.toLowerCase(); let attributes = node.attributes; let expressions = []; @@ -3823,6 +3897,19 @@ export class ViewCompiler { viewFactory.part = node.getAttribute('part'); } else { type = resources.getElement(node.getAttribute('as-element') || tagName); + // Only attempt to process a when it's not a custom element, + // and the binding language has an implementation for it + // This is an backward compat move + if (tagName === 'let' && !type && bindingLanguage.createLetExpressions !== defaultLetHandler) { + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = TargetInstruction.letElement( + bindingLanguage.createLetExpressions( + resources, + node + ) + ); + return node.nextSibling; + } if (type) { elementInstruction = BehaviorInstruction.element(node, type); type.processAttributes(this, resources, node, attributes, elementInstruction); @@ -6541,7 +6628,7 @@ export class TemplatingEngine { instruction = { element: instruction }; } - let compilerInstructions = {}; + let compilerInstructions = { letExpressions: [] }; let resources = instruction.resources || this._container.get(ViewResources); this._viewCompiler._compileNode(instruction.element, resources, compilerInstructions, instruction.element.parentNode, 'root', true); diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js index 63626875..9c09c04e 100644 --- a/dist/commonjs/aurelia-templating.js +++ b/dist/commonjs/aurelia-templating.js @@ -48,10 +48,10 @@ var _aureliaLoader = require('aurelia-loader'); var _aureliaPath = require('aurelia-path'); -var _aureliaDependencyInjection = require('aurelia-dependency-injection'); - var _aureliaBinding = require('aurelia-binding'); +var _aureliaDependencyInjection = require('aurelia-dependency-injection'); + var _aureliaTaskQueue = require('aurelia-task-queue'); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } @@ -394,6 +394,10 @@ var ViewCompileInstruction = exports.ViewCompileInstruction = function ViewCompi ViewCompileInstruction.normal = new ViewCompileInstruction(); var BehaviorInstruction = exports.BehaviorInstruction = function () { + function BehaviorInstruction() { + + } + BehaviorInstruction.enhance = function enhance() { var instruction = new BehaviorInstruction(); instruction.enhance = true; @@ -433,31 +437,32 @@ var BehaviorInstruction = exports.BehaviorInstruction = function () { return instruction; }; - function BehaviorInstruction() { - - - this.initiatedByBehavior = false; - this.enhance = false; - this.partReplacements = null; - this.viewFactory = null; - this.originalAttrName = null; - this.skipContentProcessing = false; - this.contentFactory = null; - this.viewModel = null; - this.anchorIsContainer = false; - this.host = null; - this.attributes = null; - this.type = null; - this.attrName = null; - this.inheritBindingContext = false; - } - return BehaviorInstruction; }(); +var biProto = BehaviorInstruction.prototype; +biProto.initiatedByBehavior = false; +biProto.enhance = false; +biProto.partReplacements = null; +biProto.viewFactory = null; +biProto.originalAttrName = null; +biProto.skipContentProcessing = false; +biProto.contentFactory = null; +biProto.viewModel = null; +biProto.anchorIsContainer = false; +biProto.host = null; +biProto.attributes = null; +biProto.type = null; +biProto.attrName = null; +biProto.inheritBindingContext = false; + BehaviorInstruction.normal = new BehaviorInstruction(); var TargetInstruction = exports.TargetInstruction = (_temp = _class = function () { + function TargetInstruction() { + + } + TargetInstruction.shadowSlot = function shadowSlot(parentInjectorId) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -471,6 +476,13 @@ var TargetInstruction = exports.TargetInstruction = (_temp = _class = function ( return instruction; }; + TargetInstruction.letElement = function letElement(expressions) { + var instruction = new TargetInstruction(); + instruction.expressions = expressions; + instruction.letElement = true; + return instruction; + }; + TargetInstruction.lifting = function lifting(parentInjectorId, liftingInstruction) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -503,33 +515,34 @@ var TargetInstruction = exports.TargetInstruction = (_temp = _class = function ( return instruction; }; - function TargetInstruction() { - + return TargetInstruction; +}(), _class.noExpressions = Object.freeze([]), _temp); - this.injectorId = null; - this.parentInjectorId = null; - this.shadowSlot = false; - this.slotName = null; - this.slotFallbackFactory = null; +var tiProto = TargetInstruction.prototype; - this.contentExpression = null; +tiProto.injectorId = null; +tiProto.parentInjectorId = null; - this.expressions = null; - this.behaviorInstructions = null; - this.providers = null; +tiProto.shadowSlot = false; +tiProto.slotName = null; +tiProto.slotFallbackFactory = null; - this.viewFactory = null; +tiProto.contentExpression = null; +tiProto.letElement = false; - this.anchorIsContainer = false; - this.elementInstruction = null; - this.lifting = false; +tiProto.expressions = null; +tiProto.expressions = null; +tiProto.providers = null; - this.values = null; - } +tiProto.viewFactory = null; + +tiProto.anchorIsContainer = false; +tiProto.elementInstruction = null; +tiProto.lifting = false; + +tiProto.values = null; - return TargetInstruction; -}(), _class.noExpressions = Object.freeze([]), _temp); var viewStrategy = exports.viewStrategy = _aureliaMetadata.protocol.create('aurelia:view-strategy', { validate: function validate(target) { if (!(typeof target.loadViewFactory === 'function')) { @@ -868,6 +881,10 @@ var BindingLanguage = exports.BindingLanguage = function () { mi('createAttributeInstruction'); }; + BindingLanguage.prototype.createLetExpressions = function createLetExpressions(resources, element) { + mi('createLetExpressions'); + }; + BindingLanguage.prototype.inspectTextContent = function inspectTextContent(resources, value) { mi('inspectTextContent'); }; @@ -2428,6 +2445,14 @@ function applyInstructions(containers, element, instruction, controllers, bindin return; } + if (instruction.letElement) { + for (i = 0, ii = expressions.length; i < ii; ++i) { + bindings.push(expressions[i].createBinding()); + } + element.parentNode.removeChild(element); + return; + } + if (behaviorInstructions.length) { if (!instruction.anchorIsContainer) { element = makeElementIntoAnchor(element, instruction.elementInstruction); @@ -2721,6 +2746,8 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI return auShadowSlot; } +var defaultLetHandler = BindingLanguage.prototype.createLetExpressions; + var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class13 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -2963,6 +2990,12 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti viewFactory.part = node.getAttribute('part'); } else { type = resources.getElement(node.getAttribute('as-element') || tagName); + + if (tagName === 'let' && !type && bindingLanguage.createLetExpressions !== defaultLetHandler) { + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = TargetInstruction.letElement(bindingLanguage.createLetExpressions(resources, node)); + return node.nextSibling; + } if (type) { elementInstruction = BehaviorInstruction.element(node, type); type.processAttributes(this, resources, node, attributes, elementInstruction); @@ -4664,11 +4697,11 @@ var ChildObserverBinder = function () { } else { while (current) { if (this.matches(current)) { - var value = current.au && current.au.controller ? current.au.controller.viewModel : current; - this.viewModel[this.property] = value; + var _value = current.au && current.au.controller ? current.au.controller.viewModel : current; + this.viewModel[this.property] = _value; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value); } break; @@ -4682,11 +4715,11 @@ var ChildObserverBinder = function () { ChildObserverBinder.prototype.onRemove = function onRemove(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value2 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); - var index = items.indexOf(value); + var index = items.indexOf(_value2); if (index !== -1) { items.splice(index, 1); @@ -4703,13 +4736,13 @@ var ChildObserverBinder = function () { ChildObserverBinder.prototype.onAdd = function onAdd(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value3 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); if (this.selector === '*') { - items.push(value); + items.push(_value3); return true; } @@ -4724,14 +4757,14 @@ var ChildObserverBinder = function () { prev = prev.previousElementSibling; } - items.splice(index, 0, value); + items.splice(index, 0, _value3); return true; } - this.viewModel[this.property] = value; + this.viewModel[this.property] = _value3; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value3); } } @@ -5178,7 +5211,7 @@ var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependen instruction = { element: instruction }; } - var compilerInstructions = {}; + var compilerInstructions = { letExpressions: [] }; var resources = instruction.resources || this._container.get(ViewResources); this._viewCompiler._compileNode(instruction.element, resources, compilerInstructions, instruction.element.parentNode, 'root', true); diff --git a/dist/es2015/aurelia-templating.js b/dist/es2015/aurelia-templating.js index f6b99faa..0680dba4 100644 --- a/dist/es2015/aurelia-templating.js +++ b/dist/es2015/aurelia-templating.js @@ -5,8 +5,8 @@ import { metadata, Origin, protocol } from 'aurelia-metadata'; import { DOM, PLATFORM, FEATURE } from 'aurelia-pal'; import { TemplateRegistryEntry, Loader } from 'aurelia-loader'; import { relativeToFile } from 'aurelia-path'; +import { Scope, Expression, ValueConverterResource, BindingBehaviorResource, camelCase, Binding, createOverrideContext, subscriberCollection, bindingMode, ObserverLocator, EventManager } from 'aurelia-binding'; import { Container, resolver, inject } from 'aurelia-dependency-injection'; -import { ValueConverterResource, BindingBehaviorResource, camelCase, Binding, createOverrideContext, subscriberCollection, bindingMode, ObserverLocator, EventManager } from 'aurelia-binding'; import { TaskQueue } from 'aurelia-task-queue'; export const animationEvent = { @@ -336,25 +336,24 @@ export let BehaviorInstruction = class BehaviorInstruction { instruction.inheritBindingContext = true; return instruction; } - - constructor() { - this.initiatedByBehavior = false; - this.enhance = false; - this.partReplacements = null; - this.viewFactory = null; - this.originalAttrName = null; - this.skipContentProcessing = false; - this.contentFactory = null; - this.viewModel = null; - this.anchorIsContainer = false; - this.host = null; - this.attributes = null; - this.type = null; - this.attrName = null; - this.inheritBindingContext = false; - } }; +const biProto = BehaviorInstruction.prototype; +biProto.initiatedByBehavior = false; +biProto.enhance = false; +biProto.partReplacements = null; +biProto.viewFactory = null; +biProto.originalAttrName = null; +biProto.skipContentProcessing = false; +biProto.contentFactory = null; +biProto.viewModel = null; +biProto.anchorIsContainer = false; +biProto.host = null; +biProto.attributes = null; +biProto.type = null; +biProto.attrName = null; +biProto.inheritBindingContext = false; + BehaviorInstruction.normal = new BehaviorInstruction(); export let TargetInstruction = (_temp = _class = class TargetInstruction { @@ -371,6 +370,13 @@ export let TargetInstruction = (_temp = _class = class TargetInstruction { return instruction; } + static letElement(expressions) { + let instruction = new TargetInstruction(); + instruction.expressions = expressions; + instruction.letElement = true; + return instruction; + } + static lifting(parentInjectorId, liftingInstruction) { let instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -402,30 +408,31 @@ export let TargetInstruction = (_temp = _class = class TargetInstruction { instruction.values = values; return instruction; } +}, _class.noExpressions = Object.freeze([]), _temp); - constructor() { - this.injectorId = null; - this.parentInjectorId = null; +const tiProto = TargetInstruction.prototype; - this.shadowSlot = false; - this.slotName = null; - this.slotFallbackFactory = null; +tiProto.injectorId = null; +tiProto.parentInjectorId = null; - this.contentExpression = null; +tiProto.shadowSlot = false; +tiProto.slotName = null; +tiProto.slotFallbackFactory = null; - this.expressions = null; - this.behaviorInstructions = null; - this.providers = null; +tiProto.contentExpression = null; +tiProto.letElement = false; - this.viewFactory = null; +tiProto.expressions = null; +tiProto.expressions = null; +tiProto.providers = null; - this.anchorIsContainer = false; - this.elementInstruction = null; - this.lifting = false; +tiProto.viewFactory = null; - this.values = null; - } -}, _class.noExpressions = Object.freeze([]), _temp); +tiProto.anchorIsContainer = false; +tiProto.elementInstruction = null; +tiProto.lifting = false; + +tiProto.values = null; export const viewStrategy = protocol.create('aurelia:view-strategy', { validate(target) { @@ -720,6 +727,10 @@ export let BindingLanguage = class BindingLanguage { mi('createAttributeInstruction'); } + createLetExpressions(resources, element) { + mi('createLetExpressions'); + } + inspectTextContent(resources, value) { mi('inspectTextContent'); } @@ -2202,6 +2213,14 @@ function applyInstructions(containers, element, instruction, controllers, bindin return; } + if (instruction.letElement) { + for (i = 0, ii = expressions.length; i < ii; ++i) { + bindings.push(expressions[i].createBinding()); + } + element.parentNode.removeChild(element); + return; + } + if (behaviorInstructions.length) { if (!instruction.anchorIsContainer) { element = makeElementIntoAnchor(element, instruction.elementInstruction); @@ -2484,6 +2503,8 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI return auShadowSlot; } +const defaultLetHandler = BindingLanguage.prototype.createLetExpressions; + export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class13 = class ViewCompiler { constructor(bindingLanguage, resources) { this.bindingLanguage = bindingLanguage; @@ -2724,6 +2745,12 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 viewFactory.part = node.getAttribute('part'); } else { type = resources.getElement(node.getAttribute('as-element') || tagName); + + if (tagName === 'let' && !type && bindingLanguage.createLetExpressions !== defaultLetHandler) { + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = TargetInstruction.letElement(bindingLanguage.createLetExpressions(resources, node)); + return node.nextSibling; + } if (type) { elementInstruction = BehaviorInstruction.element(node, type); type.processAttributes(this, resources, node, attributes, elementInstruction); @@ -4818,7 +4845,7 @@ export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo instruction = { element: instruction }; } - let compilerInstructions = {}; + let compilerInstructions = { letExpressions: [] }; let resources = instruction.resources || this._container.get(ViewResources); this._viewCompiler._compileNode(instruction.element, resources, compilerInstructions, instruction.element.parentNode, 'root', true); diff --git a/dist/native-modules/aurelia-templating.js b/dist/native-modules/aurelia-templating.js index c38e36fa..1120f427 100644 --- a/dist/native-modules/aurelia-templating.js +++ b/dist/native-modules/aurelia-templating.js @@ -11,8 +11,8 @@ import { metadata, Origin, protocol } from 'aurelia-metadata'; import { DOM, PLATFORM, FEATURE } from 'aurelia-pal'; import { TemplateRegistryEntry, Loader } from 'aurelia-loader'; import { relativeToFile } from 'aurelia-path'; +import { Scope, Expression, ValueConverterResource, BindingBehaviorResource, camelCase, Binding, createOverrideContext, subscriberCollection, bindingMode, ObserverLocator, EventManager } from 'aurelia-binding'; import { Container, resolver, inject } from 'aurelia-dependency-injection'; -import { ValueConverterResource, BindingBehaviorResource, camelCase, Binding, createOverrideContext, subscriberCollection, bindingMode, ObserverLocator, EventManager } from 'aurelia-binding'; import { TaskQueue } from 'aurelia-task-queue'; export var animationEvent = { @@ -351,6 +351,10 @@ export var ViewCompileInstruction = function ViewCompileInstruction() { ViewCompileInstruction.normal = new ViewCompileInstruction(); export var BehaviorInstruction = function () { + function BehaviorInstruction() { + + } + BehaviorInstruction.enhance = function enhance() { var instruction = new BehaviorInstruction(); instruction.enhance = true; @@ -390,31 +394,32 @@ export var BehaviorInstruction = function () { return instruction; }; - function BehaviorInstruction() { - - - this.initiatedByBehavior = false; - this.enhance = false; - this.partReplacements = null; - this.viewFactory = null; - this.originalAttrName = null; - this.skipContentProcessing = false; - this.contentFactory = null; - this.viewModel = null; - this.anchorIsContainer = false; - this.host = null; - this.attributes = null; - this.type = null; - this.attrName = null; - this.inheritBindingContext = false; - } - return BehaviorInstruction; }(); +var biProto = BehaviorInstruction.prototype; +biProto.initiatedByBehavior = false; +biProto.enhance = false; +biProto.partReplacements = null; +biProto.viewFactory = null; +biProto.originalAttrName = null; +biProto.skipContentProcessing = false; +biProto.contentFactory = null; +biProto.viewModel = null; +biProto.anchorIsContainer = false; +biProto.host = null; +biProto.attributes = null; +biProto.type = null; +biProto.attrName = null; +biProto.inheritBindingContext = false; + BehaviorInstruction.normal = new BehaviorInstruction(); export var TargetInstruction = (_temp = _class = function () { + function TargetInstruction() { + + } + TargetInstruction.shadowSlot = function shadowSlot(parentInjectorId) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -428,6 +433,13 @@ export var TargetInstruction = (_temp = _class = function () { return instruction; }; + TargetInstruction.letElement = function letElement(expressions) { + var instruction = new TargetInstruction(); + instruction.expressions = expressions; + instruction.letElement = true; + return instruction; + }; + TargetInstruction.lifting = function lifting(parentInjectorId, liftingInstruction) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -460,33 +472,32 @@ export var TargetInstruction = (_temp = _class = function () { return instruction; }; - function TargetInstruction() { - + return TargetInstruction; +}(), _class.noExpressions = Object.freeze([]), _temp); - this.injectorId = null; - this.parentInjectorId = null; +var tiProto = TargetInstruction.prototype; - this.shadowSlot = false; - this.slotName = null; - this.slotFallbackFactory = null; +tiProto.injectorId = null; +tiProto.parentInjectorId = null; - this.contentExpression = null; +tiProto.shadowSlot = false; +tiProto.slotName = null; +tiProto.slotFallbackFactory = null; - this.expressions = null; - this.behaviorInstructions = null; - this.providers = null; +tiProto.contentExpression = null; +tiProto.letElement = false; - this.viewFactory = null; +tiProto.expressions = null; +tiProto.expressions = null; +tiProto.providers = null; - this.anchorIsContainer = false; - this.elementInstruction = null; - this.lifting = false; +tiProto.viewFactory = null; - this.values = null; - } +tiProto.anchorIsContainer = false; +tiProto.elementInstruction = null; +tiProto.lifting = false; - return TargetInstruction; -}(), _class.noExpressions = Object.freeze([]), _temp); +tiProto.values = null; export var viewStrategy = protocol.create('aurelia:view-strategy', { validate: function validate(target) { @@ -831,6 +842,10 @@ export var BindingLanguage = function () { mi('createAttributeInstruction'); }; + BindingLanguage.prototype.createLetExpressions = function createLetExpressions(resources, element) { + mi('createLetExpressions'); + }; + BindingLanguage.prototype.inspectTextContent = function inspectTextContent(resources, value) { mi('inspectTextContent'); }; @@ -2390,6 +2405,14 @@ function applyInstructions(containers, element, instruction, controllers, bindin return; } + if (instruction.letElement) { + for (i = 0, ii = expressions.length; i < ii; ++i) { + bindings.push(expressions[i].createBinding()); + } + element.parentNode.removeChild(element); + return; + } + if (behaviorInstructions.length) { if (!instruction.anchorIsContainer) { element = makeElementIntoAnchor(element, instruction.elementInstruction); @@ -2683,6 +2706,8 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI return auShadowSlot; } +var defaultLetHandler = BindingLanguage.prototype.createLetExpressions; + export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class13 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -2925,6 +2950,12 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 viewFactory.part = node.getAttribute('part'); } else { type = resources.getElement(node.getAttribute('as-element') || tagName); + + if (tagName === 'let' && !type && bindingLanguage.createLetExpressions !== defaultLetHandler) { + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = TargetInstruction.letElement(bindingLanguage.createLetExpressions(resources, node)); + return node.nextSibling; + } if (type) { elementInstruction = BehaviorInstruction.element(node, type); type.processAttributes(this, resources, node, attributes, elementInstruction); @@ -4625,11 +4656,11 @@ var ChildObserverBinder = function () { } else { while (current) { if (this.matches(current)) { - var value = current.au && current.au.controller ? current.au.controller.viewModel : current; - this.viewModel[this.property] = value; + var _value = current.au && current.au.controller ? current.au.controller.viewModel : current; + this.viewModel[this.property] = _value; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value); } break; @@ -4643,11 +4674,11 @@ var ChildObserverBinder = function () { ChildObserverBinder.prototype.onRemove = function onRemove(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value2 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); - var index = items.indexOf(value); + var index = items.indexOf(_value2); if (index !== -1) { items.splice(index, 1); @@ -4664,13 +4695,13 @@ var ChildObserverBinder = function () { ChildObserverBinder.prototype.onAdd = function onAdd(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value3 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); if (this.selector === '*') { - items.push(value); + items.push(_value3); return true; } @@ -4685,14 +4716,14 @@ var ChildObserverBinder = function () { prev = prev.previousElementSibling; } - items.splice(index, 0, value); + items.splice(index, 0, _value3); return true; } - this.viewModel[this.property] = value; + this.viewModel[this.property] = _value3; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value3); } } @@ -5140,7 +5171,7 @@ export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo instruction = { element: instruction }; } - var compilerInstructions = {}; + var compilerInstructions = { letExpressions: [] }; var resources = instruction.resources || this._container.get(ViewResources); this._viewCompiler._compileNode(instruction.element, resources, compilerInstructions, instruction.element.parentNode, 'root', true); diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js index 39e01ef3..ca3fbd28 100644 --- a/dist/system/aurelia-templating.js +++ b/dist/system/aurelia-templating.js @@ -1,9 +1,9 @@ 'use strict'; -System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-loader', 'aurelia-path', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-task-queue'], function (_export, _context) { +System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-loader', 'aurelia-path', 'aurelia-binding', 'aurelia-dependency-injection', 'aurelia-task-queue'], function (_export, _context) { "use strict"; - var LogManager, metadata, Origin, protocol, DOM, PLATFORM, FEATURE, TemplateRegistryEntry, Loader, relativeToFile, Container, resolver, inject, ValueConverterResource, BindingBehaviorResource, camelCase, Binding, createOverrideContext, subscriberCollection, bindingMode, ObserverLocator, EventManager, TaskQueue, _createClass, _typeof, _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _dec6, _class7, _class8, _temp2, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18, animationEvent, Animator, CompositionTransactionNotifier, CompositionTransactionOwnershipToken, CompositionTransaction, capitalMatcher, ViewEngineHooksResource, ElementEvents, EventHandlerImpl, ResourceLoadContext, ViewCompileInstruction, BehaviorInstruction, TargetInstruction, viewStrategy, RelativeViewStrategy, ConventionalViewStrategy, NoViewStrategy, TemplateRegistryViewStrategy, InlineViewStrategy, StaticViewStrategy, ViewLocator, BindingLanguage, noNodes, SlotCustomAttribute, PassThroughSlot, ShadowSlot, ShadowDOM, conventionMark, ViewResources, View, ViewSlot, ProviderResolver, providerResolverInstance, BoundViewFactory, ViewFactory, nextInjectorId, lastAUTargetID, ViewCompiler, ResourceModule, ResourceDescription, ModuleAnalyzer, logger, ProxyViewFactory, auSlotBehavior, ViewEngine, Controller, BehaviorPropertyObserver, BindableProperty, lastProviderId, HtmlBehaviorResource, ChildObserver, noMutations, ChildObserverBinder, SwapStrategies, CompositionEngine, ElementConfigResource, defaultShadowDOMOptions, TemplatingEngine; + var LogManager, metadata, Origin, protocol, DOM, PLATFORM, FEATURE, TemplateRegistryEntry, Loader, relativeToFile, Scope, Expression, ValueConverterResource, BindingBehaviorResource, camelCase, Binding, createOverrideContext, subscriberCollection, bindingMode, ObserverLocator, EventManager, Container, resolver, inject, TaskQueue, _createClass, _typeof, _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _dec6, _class7, _class8, _temp2, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18, animationEvent, Animator, CompositionTransactionNotifier, CompositionTransactionOwnershipToken, CompositionTransaction, capitalMatcher, ViewEngineHooksResource, ElementEvents, EventHandlerImpl, ResourceLoadContext, ViewCompileInstruction, BehaviorInstruction, biProto, TargetInstruction, tiProto, viewStrategy, RelativeViewStrategy, ConventionalViewStrategy, NoViewStrategy, TemplateRegistryViewStrategy, InlineViewStrategy, StaticViewStrategy, ViewLocator, BindingLanguage, noNodes, SlotCustomAttribute, PassThroughSlot, ShadowSlot, ShadowDOM, conventionMark, ViewResources, View, ViewSlot, ProviderResolver, providerResolverInstance, BoundViewFactory, ViewFactory, nextInjectorId, lastAUTargetID, defaultLetHandler, ViewCompiler, ResourceModule, ResourceDescription, ModuleAnalyzer, logger, ProxyViewFactory, auSlotBehavior, ViewEngine, Controller, BehaviorPropertyObserver, BindableProperty, lastProviderId, HtmlBehaviorResource, ChildObserver, noMutations, ChildObserverBinder, SwapStrategies, CompositionEngine, ElementConfigResource, defaultShadowDOMOptions, TemplatingEngine; @@ -223,6 +223,14 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return; } + if (instruction.letElement) { + for (i = 0, ii = expressions.length; i < ii; ++i) { + bindings.push(expressions[i].createBinding()); + } + element.parentNode.removeChild(element); + return; + } + if (behaviorInstructions.length) { if (!instruction.anchorIsContainer) { element = makeElementIntoAnchor(element, instruction.elementInstruction); @@ -743,11 +751,9 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- Loader = _aureliaLoader.Loader; }, function (_aureliaPath) { relativeToFile = _aureliaPath.relativeToFile; - }, function (_aureliaDependencyInjection) { - Container = _aureliaDependencyInjection.Container; - resolver = _aureliaDependencyInjection.resolver; - inject = _aureliaDependencyInjection.inject; }, function (_aureliaBinding) { + Scope = _aureliaBinding.Scope; + Expression = _aureliaBinding.Expression; ValueConverterResource = _aureliaBinding.ValueConverterResource; BindingBehaviorResource = _aureliaBinding.BindingBehaviorResource; camelCase = _aureliaBinding.camelCase; @@ -757,6 +763,10 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- bindingMode = _aureliaBinding.bindingMode; ObserverLocator = _aureliaBinding.ObserverLocator; EventManager = _aureliaBinding.EventManager; + }, function (_aureliaDependencyInjection) { + Container = _aureliaDependencyInjection.Container; + resolver = _aureliaDependencyInjection.resolver; + inject = _aureliaDependencyInjection.inject; }, function (_aureliaTaskQueue) { TaskQueue = _aureliaTaskQueue.TaskQueue; }], @@ -1119,6 +1129,10 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- ViewCompileInstruction.normal = new ViewCompileInstruction(); _export('BehaviorInstruction', BehaviorInstruction = function () { + function BehaviorInstruction() { + + } + BehaviorInstruction.enhance = function enhance() { var instruction = new BehaviorInstruction(); instruction.enhance = true; @@ -1158,33 +1172,35 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return instruction; }; - function BehaviorInstruction() { - - - this.initiatedByBehavior = false; - this.enhance = false; - this.partReplacements = null; - this.viewFactory = null; - this.originalAttrName = null; - this.skipContentProcessing = false; - this.contentFactory = null; - this.viewModel = null; - this.anchorIsContainer = false; - this.host = null; - this.attributes = null; - this.type = null; - this.attrName = null; - this.inheritBindingContext = false; - } - return BehaviorInstruction; }()); _export('BehaviorInstruction', BehaviorInstruction); + biProto = BehaviorInstruction.prototype; + + biProto.initiatedByBehavior = false; + biProto.enhance = false; + biProto.partReplacements = null; + biProto.viewFactory = null; + biProto.originalAttrName = null; + biProto.skipContentProcessing = false; + biProto.contentFactory = null; + biProto.viewModel = null; + biProto.anchorIsContainer = false; + biProto.host = null; + biProto.attributes = null; + biProto.type = null; + biProto.attrName = null; + biProto.inheritBindingContext = false; + BehaviorInstruction.normal = new BehaviorInstruction(); _export('TargetInstruction', TargetInstruction = (_temp = _class = function () { + function TargetInstruction() { + + } + TargetInstruction.shadowSlot = function shadowSlot(parentInjectorId) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -1198,6 +1214,13 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return instruction; }; + TargetInstruction.letElement = function letElement(expressions) { + var instruction = new TargetInstruction(); + instruction.expressions = expressions; + instruction.letElement = true; + return instruction; + }; + TargetInstruction.lifting = function lifting(parentInjectorId, liftingInstruction) { var instruction = new TargetInstruction(); instruction.parentInjectorId = parentInjectorId; @@ -1230,35 +1253,35 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return instruction; }; - function TargetInstruction() { - + return TargetInstruction; + }(), _class.noExpressions = Object.freeze([]), _temp)); - this.injectorId = null; - this.parentInjectorId = null; + _export('TargetInstruction', TargetInstruction); - this.shadowSlot = false; - this.slotName = null; - this.slotFallbackFactory = null; + tiProto = TargetInstruction.prototype; - this.contentExpression = null; - this.expressions = null; - this.behaviorInstructions = null; - this.providers = null; + tiProto.injectorId = null; + tiProto.parentInjectorId = null; - this.viewFactory = null; + tiProto.shadowSlot = false; + tiProto.slotName = null; + tiProto.slotFallbackFactory = null; - this.anchorIsContainer = false; - this.elementInstruction = null; - this.lifting = false; + tiProto.contentExpression = null; + tiProto.letElement = false; - this.values = null; - } + tiProto.expressions = null; + tiProto.expressions = null; + tiProto.providers = null; - return TargetInstruction; - }(), _class.noExpressions = Object.freeze([]), _temp)); + tiProto.viewFactory = null; - _export('TargetInstruction', TargetInstruction); + tiProto.anchorIsContainer = false; + tiProto.elementInstruction = null; + tiProto.lifting = false; + + tiProto.values = null; _export('viewStrategy', viewStrategy = protocol.create('aurelia:view-strategy', { validate: function validate(target) { @@ -1615,6 +1638,10 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- mi('createAttributeInstruction'); }; + BindingLanguage.prototype.createLetExpressions = function createLetExpressions(resources, element) { + mi('createLetExpressions'); + }; + BindingLanguage.prototype.inspectTextContent = function inspectTextContent(resources, value) { mi('inspectTextContent'); }; @@ -3158,6 +3185,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- nextInjectorId = 0; lastAUTargetID = 0; + defaultLetHandler = BindingLanguage.prototype.createLetExpressions; _export('ViewCompiler', ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class13 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -3401,6 +3429,12 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- viewFactory.part = node.getAttribute('part'); } else { type = resources.getElement(node.getAttribute('as-element') || tagName); + + if (tagName === 'let' && !type && bindingLanguage.createLetExpressions !== defaultLetHandler) { + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = TargetInstruction.letElement(bindingLanguage.createLetExpressions(resources, node)); + return node.nextSibling; + } if (type) { elementInstruction = BehaviorInstruction.element(node, type); type.processAttributes(this, resources, node, attributes, elementInstruction); @@ -5002,11 +5036,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- } else { while (current) { if (this.matches(current)) { - var value = current.au && current.au.controller ? current.au.controller.viewModel : current; - this.viewModel[this.property] = value; + var _value = current.au && current.au.controller ? current.au.controller.viewModel : current; + this.viewModel[this.property] = _value; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value); } break; @@ -5020,11 +5054,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- ChildObserverBinder.prototype.onRemove = function onRemove(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value2 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); - var index = items.indexOf(value); + var index = items.indexOf(_value2); if (index !== -1) { items.splice(index, 1); @@ -5041,13 +5075,13 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- ChildObserverBinder.prototype.onAdd = function onAdd(element) { if (this.matches(element)) { - var value = element.au && element.au.controller ? element.au.controller.viewModel : element; + var _value3 = element.au && element.au.controller ? element.au.controller.viewModel : element; if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); if (this.selector === '*') { - items.push(value); + items.push(_value3); return true; } @@ -5062,14 +5096,14 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- prev = prev.previousElementSibling; } - items.splice(index, 0, value); + items.splice(index, 0, _value3); return true; } - this.viewModel[this.property] = value; + this.viewModel[this.property] = _value3; if (this.changeHandler !== null) { - this.viewModel[this.changeHandler](value); + this.viewModel[this.changeHandler](_value3); } } @@ -5320,7 +5354,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- instruction = { element: instruction }; } - var compilerInstructions = {}; + var compilerInstructions = { letExpressions: [] }; var resources = instruction.resources || this._container.get(ViewResources); this._viewCompiler._compileNode(instruction.element, resources, compilerInstructions, instruction.element.parentNode, 'root', true); diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index f2697f55..83d4b9da 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,21 @@ + +# [1.10.0](https://github.com/aurelia/templating/compare/1.9.0...1.10.0) (2018-09-30) + + +### Bug Fixes + +* **:** enable backward compat, fix doc ([90684ed](https://github.com/aurelia/templating/commit/90684ed)) +* **Let:** respect DOM order ([dd4ff67](https://github.com/aurelia/templating/commit/dd4ff67)) +* **test:** remove old implementation fix in test ([88cf718](https://github.com/aurelia/templating/commit/88cf718)) +* **typings:** fix let expression typings ([a756dfe](https://github.com/aurelia/templating/commit/a756dfe)) + + +### Features + +* **Let:** let element for computed property declaration ([b898ef7](https://github.com/aurelia/templating/commit/b898ef7)) + + + # [1.9.0](https://github.com/aurelia/templating/compare/1.8.3...1.9.0) (2018-09-25) diff --git a/doc/api.json b/doc/api.json index bea6288e..3a7f1591 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1 +1 @@ -{"name":"aurelia-templating","children":[{"id":143,"name":"Animator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract class representing a mechanism for animating the DOM during various DOM state transitions."},"children":[{"id":154,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":155,"name":"addClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":156,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":157,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":483,"character":10}]},{"id":158,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":159,"name":"animate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":160,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"union","types":[{"type":"reference","name":"HTMLElement"},{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"HTMLElement"}]}]}},{"id":161,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use. For css animators this represents the className to be added and removed right after the animation is done."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":492,"character":9}]},{"id":144,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":145,"name":"enter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute an 'enter' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":146,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":460,"character":7}]},{"id":147,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":148,"name":"leave","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a 'leave' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":149,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":467,"character":7}]},{"id":165,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":166,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":167,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect"},"type":{"type":"intrinsic","name":"string"}},{"id":168,"name":"properties","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Object with properties for the effect\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":507,"character":16}]},{"id":150,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":151,"name":"removeClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":152,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":153,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":475,"character":13}]},{"id":162,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":163,"name":"runSequence","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Run a sequence of animations one after the other.\nfor example: animator.runSequence(\"fadeIn\",\"callout\")","returns":"Resolved when all animations are done\n"},"parameters":[{"id":164,"name":"animations","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":500,"character":13}]},{"id":169,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":170,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":171,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":513,"character":18}]}],"groups":[{"title":"Methods","kind":2048,"children":[154,158,144,147,165,150,162,169]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":453,"character":29}]},{"id":255,"name":"BehaviorInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Indicates how a custom attribute or element should be instantiated in a view."},"children":[{"id":290,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"signatures":[{"id":291,"name":"new BehaviorInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":730,"character":98}]},{"id":264,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":681,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":268,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":685,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":266,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":683,"character":12}],"type":{"type":"reference","name":"Object"}},{"id":262,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":679,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":257,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":674,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":265,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":682,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":269,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":686,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":256,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":673,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":260,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":677,"character":18}],"type":{"type":"intrinsic","name":"string"}},{"id":258,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":675,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":261,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":678,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":267,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":684,"character":6}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}},{"id":259,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":676,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":747}},{"id":263,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":680,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":270,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"A default behavior used in scenarios where explicit configuration isn't available."},"sources":[{"fileName":"aurelia-templating.d.ts","line":691,"character":15}],"type":{"type":"reference","name":"BehaviorInstruction","id":255}},{"id":281,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":282,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":283,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":284,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":721,"character":18}]},{"id":285,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":286,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":287,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":288,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":289,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A view factory used in generating the component's view."},"type":{"type":"reference","name":"ViewFactory","id":747}}],"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":730,"character":16}]},{"id":277,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":278,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":279,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":280,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":713,"character":16}]},{"id":271,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":272,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for element enhancement.","returns":"The created instruction.\n"},"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":697,"character":16}]},{"id":273,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":274,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":275,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}},{"id":276,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes for the behaior."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":705,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[290]},{"title":"Properties","kind":1024,"children":[264,268,266,262,257,265,269,256,260,258,261,267,259,263,270]},{"title":"Methods","kind":2048,"children":[281,285,277,271,273]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":672,"character":40}]},{"id":883,"name":"BehaviorPropertyObserver","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An implementation of Aurelia's Observer interface that is used to back bindable properties defined on a behavior."},"children":[{"id":884,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":885,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":886,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":887,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":888,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"intrinsic","name":"string"}},{"id":889,"name":"selfSubscriber","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The callback function that notifies the object which defines the properties, if present."},"type":{"type":"reference","name":"Function"}},{"id":890,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The initial value of the property.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":883}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1767,"character":47}]},{"id":896,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":897,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1793,"character":6}]},{"id":891,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":892,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1782,"character":10}]},{"id":893,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":894,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":895,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new value to set.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1788,"character":10}]},{"id":898,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":899,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":900,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A context object to pass along to the subscriber when it's called."},"type":{"type":"intrinsic","name":"any"}},{"id":901,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function or object with a \"call\" method to be invoked for delivery of changes.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1800,"character":11}]},{"id":902,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":903,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":904,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"intrinsic","name":"any"}},{"id":905,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callable that was originally subscribed with.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1807,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[884]},{"title":"Methods","kind":2048,"children":[896,891,893,898,902]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1767,"character":45}]},{"id":906,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":907,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":908,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":909,"name":"nameOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property or a cofiguration object.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"BindableProperty","id":906}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1813,"character":39}]},{"id":919,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":920,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":921,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view model instance on which to create the observer."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":883}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1841,"character":16}]},{"id":915,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":916,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":917,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":918,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1834,"character":10}]},{"id":910,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":911,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":912,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":913,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}},{"id":914,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The property descriptor for this property.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1827,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[907]},{"title":"Methods","kind":2048,"children":[919,915,910]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1813,"character":37}]},{"id":419,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":426,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":427,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":428,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":429,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":430,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":431,"name":"existingInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A previously created instruction for this attribute."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1020,"character":28}]},{"id":420,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":421,"name":"inspectAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inspects an attribute for bindings.","returns":"An info object with the results of the inspection.\n"},"parameters":[{"id":422,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":423,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":424,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":425,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1010,"character":18}]},{"id":432,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":433,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":434,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":435,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value of the text to parse."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1028,"character":20}]}],"groups":[{"title":"Methods","kind":2048,"children":[426,420,432]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1000,"character":36}]},{"id":729,"name":"BoundViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances, bound to a location within another view hierarchy."},"children":[{"id":730,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":731,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":732,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":733,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":747}},{"id":734,"name":"partReplacements","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Part replacement overrides for the internal factory.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BoundViewFactory","id":729}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1427,"character":39}]},{"id":737,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1446,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":735,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":736,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"type":{"type":"reference","name":"View","id":632}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1441,"character":8}]},{"id":742,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":743,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":632}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1459,"character":15}]},{"id":744,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":745,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":746,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1465,"character":19}]},{"id":738,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":739,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":740,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"string"}]}},{"id":741,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1453,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[730]},{"title":"Properties","kind":1024,"children":[737]},{"title":"Methods","kind":2048,"children":[735,742,744,738]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1427,"character":37}]},{"id":960,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":961,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":962,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":963,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":964,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":408}}],"type":{"type":"reference","name":"CompositionEngine","id":960}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1933,"character":40}]},{"id":971,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":972,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes a component.","returns":"A Promise for the View or the Controller that results from the dynamic composition.\n"},"parameters":[{"id":973,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext providing information on how the composition should occur."},"type":{"type":"reference","name":"CompositionContext","id":120}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":632},{"type":"reference","name":"Controller","id":857}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1960,"character":9}]},{"id":965,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":966,"name":"createController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a controller instance for the component described in the context.","returns":"A Promise for the Controller.\n"},"parameters":[{"id":967,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":120}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":857}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1946,"character":18}]},{"id":968,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":969,"name":"ensureViewModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Ensures that the view model and its resource are loaded for this context.","returns":"A Promise for the context.\n"},"parameters":[{"id":970,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext to load the view model and its resource for."},"type":{"type":"reference","name":"CompositionContext","id":120}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":120}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1953,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[961]},{"title":"Methods","kind":2048,"children":[971,965,968]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1933,"character":38}]},{"id":186,"name":"CompositionTransaction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables an initiator of a view composition to track any internal async rendering processes for completion."},"children":[{"id":187,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":188,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":186}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":549,"character":45}]},{"id":191,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":192,"name":"enlist","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enlist an async render operation into the transaction.","returns":"A completion notifier.\n"},"type":{"type":"reference","name":"CompositionTransactionNotifier","id":172}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":566,"character":8}]},{"id":189,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":190,"name":"tryCapture","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attempt to take ownership of the composition transaction.","returns":"An ownership token if successful, otherwise null.\n"},"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":178}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":560,"character":12}]}],"groups":[{"title":"Constructors","kind":512,"children":[187]},{"title":"Methods","kind":2048,"children":[191,189]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":549,"character":43}]},{"id":172,"name":"CompositionTransactionNotifier","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A mechanism by which an enlisted async render operation can notify the owning transaction when its work is done."},"children":[{"id":173,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":174,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":175,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":172}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":519,"character":53}]},{"id":176,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":177,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":525,"character":6}]}],"groups":[{"title":"Constructors","kind":512,"children":[173]},{"title":"Methods","kind":2048,"children":[176]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":519,"character":51}]},{"id":178,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":179,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":180,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":181,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":178}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":531,"character":59}]},{"id":184,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":185,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":543,"character":9}]},{"id":182,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":183,"name":"waitForCompositionComplete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the transaction owner to wait for the completion of all child compositions.","returns":"A promise that resolves when all child compositions are done.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":538,"character":28}]}],"groups":[{"title":"Constructors","kind":512,"children":[179]},{"title":"Methods","kind":2048,"children":[184,182]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":531,"character":57}]},{"id":857,"name":"Controller","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls a view model (and optionally its view), according to a particular behavior and by following a set of instructions."},"children":[{"id":861,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":862,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":863,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}},{"id":864,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":255}},{"id":865,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":866,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container that the controller's view was created from.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Controller","id":857}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1717,"character":13}]},{"id":858,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1706,"character":10}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}},{"id":860,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view associated with the component being controlled by this controller.\nNote: Not all components will have a view, so the value may be null."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1717,"character":6}],"type":{"type":"reference","name":"View","id":632}},{"id":859,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1711,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":879,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":880,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1756,"character":10}]},{"id":870,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":871,"name":"automate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.\nThis should be considered a semi-private API and is subject to change without notice, even across minor or patch releases."},"parameters":[{"id":872,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":873,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1740,"character":10}]},{"id":874,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":875,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":876,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1746,"character":6}]},{"id":867,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":868,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":869,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1732,"character":9}]},{"id":881,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":882,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1761,"character":10}]},{"id":877,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":878,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1751,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[861]},{"title":"Properties","kind":1024,"children":[858,860,859]},{"title":"Methods","kind":2048,"children":[879,870,874,867,881,877]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1701,"character":31}]},{"id":347,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":348,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":349,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":350,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":408}},{"id":351,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The origin of the view model to conventionally load the view for.\n"},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ConventionalViewStrategy","id":347}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":851,"character":47}]},{"id":352,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":353,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":354,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":355,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":356,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":357,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":868,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[348]},{"title":"Methods","kind":2048,"children":[352]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":851,"character":45}]},{"id":974,"name":"ElementConfigResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that configures the EventManager with information\nabout how events relate to properties for the purpose of two-way data-binding\nto Web Components."},"children":[{"id":975,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":976,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":977,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":978,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1976,"character":12}]},{"id":983,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":984,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":985,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":986,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1993,"character":6}]},{"id":979,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":980,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":981,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":982,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1985,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[975,983,979]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1968,"character":42}]},{"id":211,"name":"ElementEvents","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Dispatches subscribets to and publishes events in the DOM.","tags":[{"tag":"param","text":"\n","param":"element"}]},"children":[{"id":212,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":213,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":214,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"EventTarget"}}],"type":{"type":"reference","name":"ElementEvents","id":211}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":585,"character":36}]},{"id":231,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":232,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":233,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":613,"character":9}]},{"id":234,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":235,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":618,"character":12}]},{"id":215,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":216,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":217,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"intrinsic","name":"string"}},{"id":218,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":219,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"boolean"}},{"id":220,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":9}]},{"id":221,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":222,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and Event Listener on the context element.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":223,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":224,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":225,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":601,"character":11}]},{"id":226,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":227,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an Event Listener on the context element, that will be disposed on the first trigger.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":228,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":229,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":230,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":607,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[212]},{"title":"Methods","kind":2048,"children":[231,234,215,221,226]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":585,"character":34}]},{"id":922,"name":"HtmlBehaviorResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that implements custom element or custom\nattribute functionality."},"children":[{"id":923,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":924,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1848,"character":43}]},{"id":929,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":930,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":931,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1866,"character":17}]},{"id":947,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":948,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs into the compiler and enables custom processing of the node on which this behavior is located.","returns":"The current node.\n"},"parameters":[{"id":949,"name":"compiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The compiler that is currently compiling the view that this behavior exists within."},"type":{"type":"reference","name":"ViewCompiler","id":768}},{"id":950,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources for the view that this behavior exists within."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":951,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":952,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":255}},{"id":953,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The parent node of the current node."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1906,"character":9}]},{"id":954,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":955,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instance of this behavior.","returns":"The Controller of this behavior.\n"},"parameters":[{"id":956,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":957,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction for this behavior that was constructed during compilation."},"type":{"type":"reference","name":"BehaviorInstruction","id":255}},{"id":958,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":959,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The bindings that are associated with the view in which this behavior exists."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}}],"type":{"type":"reference","name":"Controller","id":857}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1916,"character":8}]},{"id":932,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":933,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":934,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":935,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1874,"character":12}]},{"id":940,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":941,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":942,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":943,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":944,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context object provided by the view engine."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":945,"name":"viewStrategy","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A view strategy to overload the default strategy defined by the resource."},"type":{"type":"reference","name":"ViewStrategy","id":11}},{"id":946,"name":"transientView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicated whether the view strategy is transient or\npermanently tied to this component.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HtmlBehaviorResource","id":922}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1895,"character":6}]},{"id":936,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":937,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":938,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":939,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1883,"character":10}]},{"id":925,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":926,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":927,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"intrinsic","name":"string"}},{"id":928,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An already existing resource that may need a convention name applied.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1860,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[923]},{"title":"Methods","kind":2048,"children":[929,947,954,932,940,936,925]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1848,"character":41}]},{"id":380,"name":"InlineViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that allows the component author to inline the html for the view."},"children":[{"id":381,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":382,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":383,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The markup for the view. Be sure to include the wrapping template tag."},"type":{"type":"intrinsic","name":"string"}},{"id":384,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":385,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"InlineViewStrategy","id":380}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":921,"character":41}]},{"id":386,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":387,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":388,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":389,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":390,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":391,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":939,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[381]},{"title":"Methods","kind":2048,"children":[386]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":921,"character":39}]},{"id":810,"name":"ModuleAnalyzer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Analyzes a module in order to discover the view resources that it exports."},"children":[{"id":811,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":812,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":810}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1608,"character":37}]},{"id":816,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":817,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":818,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"intrinsic","name":"string"}},{"id":819,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"intrinsic","name":"any"}},{"id":820,"name":"mainResourceKey","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the main resource."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":778}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1629,"character":9}]},{"id":813,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":814,"name":"getAnalysis","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the ResourceModule analysis for a previously analyzed module.","returns":"The ResouceModule if found, undefined otherwise.\n"},"parameters":[{"id":815,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":778}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1620,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[811]},{"title":"Methods","kind":2048,"children":[816,813]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1608,"character":35}]},{"id":358,"name":"NoViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that indicates that the component has no view that the templating engine needs to manage.\nTypically used when the component author wishes to take over fine-grained rendering control."},"children":[{"id":359,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"signatures":[{"id":360,"name":"new NoViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"parameters":[{"id":361,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":362,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"NoViewStrategy","id":358}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":875,"character":37}]},{"id":363,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":364,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":365,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":366,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":367,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":368,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":892,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[359]},{"title":"Methods","kind":2048,"children":[363]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":875,"character":35}]},{"id":446,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":447,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":448,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":449,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":450,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":451,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":452,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":446}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1035,"character":38}]},{"id":453,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1037,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":463,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":464,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":465,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":466,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":467,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":468,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1040,"character":9}]},{"id":486,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":487,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1046,"character":10}]},{"id":483,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":484,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":485,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1045,"character":6}]},{"id":480,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":481,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":482,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1044,"character":9}]},{"id":488,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":489,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1047,"character":10}]},{"id":460,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":461,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":462,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1039,"character":15}]},{"id":476,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":477,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":478,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":479,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1043,"character":13}]},{"id":473,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":474,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":475,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1042,"character":11}]},{"id":469,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":470,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":471,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":472,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1041,"character":12}]},{"id":454,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":455,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":456,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":457,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":458,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":459,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1038,"character":23}]},{"id":490,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":491,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1048,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[447]},{"title":"Properties","kind":1024,"children":[453]},{"title":"Methods","kind":2048,"children":[463,486,483,480,488,460,476,473,469,454,490]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1035,"character":36}]},{"id":334,"name":"RelativeViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that loads a view relative to its associated view-model."},"children":[{"id":335,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":336,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":337,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The relative path to the view.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"RelativeViewStrategy","id":334}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":823,"character":43}]},{"id":338,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":339,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":340,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":341,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":342,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":343,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":839,"character":17}]},{"id":344,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":345,"name":"makeRelativeTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the view loaded by this strategy relative to the provided file path."},"parameters":[{"id":346,"name":"file","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to load the view relative to.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":845,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[335]},{"title":"Methods","kind":2048,"children":[338,344]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":823,"character":41}]},{"id":793,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":794,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":795,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":796,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"intrinsic","name":"string"}},{"id":797,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"intrinsic","name":"any"}},{"id":798,"name":"resourceTypeMeta","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The metadata located on the resource.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"ResourceDescription","id":793}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1573,"character":42}]},{"id":799,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":800,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":801,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1587,"character":12}]},{"id":806,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":807,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resource.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":808,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":809,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1602,"character":6}]},{"id":802,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":803,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":804,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":805,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the resource.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1594,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[794]},{"title":"Methods","kind":2048,"children":[799,806,802]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1573,"character":40}]},{"id":236,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":238,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":239,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":625,"character":23}]},{"id":237,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":625,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":240,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":241,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":242,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the dependency.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":636,"character":15}]},{"id":243,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":244,"name":"hasDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks if the current context includes a load of the specified url.","returns":"True if the url is being loaded in the context; false otherwise.\n"},"parameters":[{"id":245,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":642,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[238]},{"title":"Properties","kind":1024,"children":[237]},{"title":"Methods","kind":2048,"children":[240,243]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":624,"character":40}]},{"id":778,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":779,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":780,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":781,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The id of the module that contains view resources.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":778}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1540,"character":37}]},{"id":782,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":783,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":784,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1552,"character":12}]},{"id":789,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":790,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resources within this module.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":791,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":792,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1567,"character":6}]},{"id":785,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":786,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":787,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":788,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the default resource.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1559,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[779]},{"title":"Methods","kind":2048,"children":[782,789,785]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1540,"character":35}]},{"id":538,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":539,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1066,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":559,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":560,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":561,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":562,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":563,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":564,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":565,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":566,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1071,"character":24}]},{"id":543,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":544,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":545,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":546,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":547,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":548,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":549,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1068,"character":23}]},{"id":540,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":541,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":542,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1067,"character":20}]},{"id":555,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":556,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":557,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":558,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1070,"character":24}]},{"id":550,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":551,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":552,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":553,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":554,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1069,"character":25}]}],"groups":[{"title":"Properties","kind":1024,"children":[539]},{"title":"Methods","kind":2048,"children":[559,543,540,555,550]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1065,"character":30}]},{"id":492,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":493,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":494,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":495,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":496,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":497,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":492}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1050,"character":33}]},{"id":498,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1052,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":499,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":500,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":501,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":502,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":503,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":504,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":505,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1053,"character":9}]},{"id":532,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":533,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1061,"character":10}]},{"id":529,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":530,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":531,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1060,"character":6}]},{"id":526,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":527,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":528,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1059,"character":9}]},{"id":534,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":535,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1062,"character":10}]},{"id":516,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":517,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":518,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":519,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1057,"character":13}]},{"id":513,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":514,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":515,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1056,"character":11}]},{"id":510,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":511,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":512,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1055,"character":11}]},{"id":506,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":507,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":508,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":509,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1054,"character":12}]},{"id":520,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":521,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":522,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":523,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":524,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":525,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1058,"character":23}]},{"id":536,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":537,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1063,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[493]},{"title":"Properties","kind":1024,"children":[498]},{"title":"Methods","kind":2048,"children":[499,532,529,526,534,516,513,510,506,520,536]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1050,"character":31}]},{"id":436,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":439,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":440,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":441,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":436}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1031,"character":23}]},{"id":442,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":443,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":444,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":445,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1033,"character":14}]},{"id":437,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":438,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1031,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[439]},{"title":"Methods","kind":2048,"children":[442,437]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1030,"character":40}]},{"id":392,"name":"StaticViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":399,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":400,"name":"new StaticViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":401,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","name":"IStaticViewConfig","id":18}]}}],"type":{"type":"reference","name":"StaticViewStrategy","id":392}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":949,"character":23}]},{"id":394,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":947,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reflection","declaration":{"id":395,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":396,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Record","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"}]}]}]}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":947,"character":28}]}}]}},{"id":398,"name":"factory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":949,"character":9}],"type":{"type":"reference","name":"ViewFactory","id":747}},{"id":397,"name":"factoryIsReady","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":948,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":393,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":944,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}},{"id":402,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":403,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":404,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":405,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":406,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":407,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":960,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[399]},{"title":"Properties","kind":1024,"children":[394,398,397,393]},{"title":"Methods","kind":2048,"children":[402]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":941,"character":39}]},{"id":292,"name":"TargetInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Provides all the instructions for how a target element should be enhanced inside of a view."},"children":[{"id":332,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TargetInstruction."},"signatures":[{"id":333,"name":"new TargetInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TargetInstruction."},"type":{"type":"reference","name":"TargetInstruction","id":292}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":804,"character":160}]},{"id":303,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":752,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":300,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":749,"character":22}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":255}]}},{"id":298,"name":"contentExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":747,"character":19}],"type":{"type":"intrinsic","name":"any"}},{"id":304,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":753,"character":20}],"type":{"type":"reference","name":"BehaviorInstruction","id":255}},{"id":299,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":748,"character":13}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":293,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":742,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":305,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":754,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":294,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":743,"character":18}],"type":{"type":"intrinsic","name":"number"}},{"id":301,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":750,"character":11}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":295,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":744,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":297,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":746,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":296,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":745,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":306,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":755,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":302,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":751,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":747}},{"id":307,"name":"noExpressions","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"An empty array used to represent a target with no binding expressions."},"sources":[{"fileName":"aurelia-templating.d.ts","line":760,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":311,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":312,"name":"contentExpression","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a binding expression in the content of an element.","returns":"The created instruction.\n"},"parameters":[{"id":313,"name":"expression","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The binding expression."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"TargetInstruction","id":292}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":774,"character":26}]},{"id":314,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":315,"name":"lifting","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents content that was lifted out of the DOM and into a ViewFactory.","returns":"The created instruction.\n"},"parameters":[{"id":316,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":317,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"type":{"type":"reference","name":"TargetInstruction","id":292}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":782,"character":16}]},{"id":318,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":319,"name":"normal","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":320,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":321,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":322,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":323,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":255}]}},{"id":324,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":325,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"type":{"type":"reference","name":"TargetInstruction","id":292}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":794,"character":15}]},{"id":308,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":309,"name":"shadowSlot","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a shadow dom slot.","returns":"The created instruction.\n"},"parameters":[{"id":310,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"TargetInstruction","id":292}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":767,"character":19}]},{"id":326,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":327,"name":"surrogate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents the surrogate behaviors and bindings for an element.","returns":"The created instruction.\n"},"parameters":[{"id":328,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":329,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":255}]}},{"id":330,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":331,"name":"values","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes to transplant."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"TargetInstruction","id":292}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":804,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[332]},{"title":"Properties","kind":1024,"children":[303,300,298,304,299,293,305,294,301,295,297,296,306,302,307]},{"title":"Methods","kind":2048,"children":[311,314,318,308,326]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":741,"character":38}]},{"id":369,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":370,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":371,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":372,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"intrinsic","name":"string"}},{"id":373,"name":"entry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The template registry entry used in loading the view factory.\n"},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","name":"TemplateRegistryViewStrategy","id":369}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":898,"character":51}]},{"id":374,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":375,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":376,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":377,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":378,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":379,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":915,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[370]},{"title":"Methods","kind":2048,"children":[374]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":898,"character":49}]},{"id":987,"name":"TemplatingEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A facade of the templating engine capabilties which provides a more user friendly API for common use cases."},"children":[{"id":988,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":989,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":990,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":991,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":810}},{"id":992,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":768}},{"id":993,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":960}}],"type":{"type":"reference","name":"TemplatingEngine","id":987}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2123,"character":39}]},{"id":997,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":998,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes components and views.","returns":"A promise for the resulting Controller or View. Consumers of this API\nare responsible for enforcing the Controller/View lifecycle.\n"},"parameters":[{"id":999,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The composition context to use."},"type":{"type":"reference","name":"CompositionContext","id":120}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":632},{"type":"reference","name":"Controller","id":857}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2146,"character":9}]},{"id":994,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":995,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":996,"name":"animator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","name":"Animator","id":143}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2138,"character":19}]},{"id":1000,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1001,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enhances existing DOM with behaviors and bindings.","returns":"A View representing the enhanced UI. Consumers of this API\nare responsible for enforcing the View lifecycle.\n"},"parameters":[{"id":1002,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element to enhance or a set of instructions for the enhancement process."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"EnhanceInstruction","id":137}]}}],"type":{"type":"reference","name":"View","id":632}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2154,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[988]},{"title":"Methods","kind":2048,"children":[997,994,1000]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2123,"character":37}]},{"id":632,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":639,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":640,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":641,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":642,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":747}},{"id":643,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":644,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Controller","id":857}}},{"id":645,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}},{"id":646,"name":"children","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"array","elementType":{"type":"reference","name":"ViewNode","id":87}}},{"id":647,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":632}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1246,"character":25}]},{"id":636,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The primary binding context that this view is data-bound to."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1236,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":633,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Dependency Injection Container that was used to create this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1221,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":638,"name":"controller","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Controller instance that owns this View."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1246,"character":12}],"type":{"type":"reference","name":"Controller","id":857}},{"id":635,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Contains the DOM Nodes which represent this View. If the view was created via the \"enhance\" API, this will be an Element, otherwise it will be a DocumentFragment. If not created via \"enhance\" then the fragment will only contain nodes when the View is detached from the DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1231,"character":10}],"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":637,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The override context which contains properties capable of overriding those found on the binding context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1241,"character":17}],"type":{"type":"reference","name":"Object"}},{"id":634,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The ViewFactory that built this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1226,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":747}},{"id":657,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":658,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":659,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1280,"character":12}]},{"id":665,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":666,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":667,"name":"parent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The parent element to append this view's nodes to.\n"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1297,"character":15}]},{"id":670,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":671,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1307,"character":10}]},{"id":652,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":653,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":654,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":655,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}},{"id":656,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1274,"character":6}]},{"id":650,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":651,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the created callback for this view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1267,"character":9}]},{"id":672,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":673,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1312,"character":10}]},{"id":662,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":663,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":664,"name":"refNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to insert this view's nodes before.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1291,"character":19}]},{"id":668,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":669,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1302,"character":13}]},{"id":648,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":649,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1262,"character":15}]},{"id":660,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":661,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1285,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[639]},{"title":"Properties","kind":1024,"children":[636,633,638,635,637,634]},{"title":"Methods","kind":2048,"children":[657,665,670,652,650,672,662,668,648,660]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1216,"character":25}]},{"id":246,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":251,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":252,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":253,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"intrinsic","name":"boolean"}},{"id":254,"name":"compileSurrogate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation also include surrogate bindings and behaviors.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"ViewCompileInstruction","id":246}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":656,"character":40}]},{"id":249,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":651,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":248,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":650,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":247,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":649,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":250,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The normal configuration for view compilation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":656,"character":15}],"type":{"type":"reference","name":"ViewCompileInstruction","id":246}}],"groups":[{"title":"Constructors","kind":512,"children":[251]},{"title":"Properties","kind":1024,"children":[249,248,247,250]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":648,"character":43}]},{"id":768,"name":"ViewCompiler","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views."},"children":[{"id":769,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":770,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":771,"name":"bindingLanguage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The default data binding language and syntax used during view compilation."},"type":{"type":"reference","name":"BindingLanguage","id":419}},{"id":772,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The global resources used during compilation when none are provided for compilation.\n"},"type":{"type":"reference","name":"ViewResources","id":567}}],"type":{"type":"reference","name":"ViewCompiler","id":768}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1518,"character":35}]},{"id":773,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":774,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Compiles an html template, dom fragment or string into ViewFactory instances, capable of instantiating Views.","returns":"The compiled ViewFactory.\n"},"parameters":[{"id":775,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template, fragment or string to compile."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"DocumentFragment"},{"type":"intrinsic","name":"string"}]}},{"id":776,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":777,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A set of instructions that customize how compilation occurs."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}}],"type":{"type":"reference","name":"ViewFactory","id":747}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1534,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[769]},{"title":"Methods","kind":2048,"children":[773]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1518,"character":33}]},{"id":821,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":823,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":824,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":825,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":826,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":827,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":768}},{"id":828,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":810}},{"id":829,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":567}}],"type":{"type":"reference","name":"ViewEngine","id":821}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1640,"character":42}]},{"id":822,"name":"viewModelRequireMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing requires declared in a ViewModel."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1640,"character":36}],"type":{"type":"intrinsic","name":"any"}},{"id":830,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":831,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":832,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"intrinsic","name":"string"}},{"id":833,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The plugin implementation that handles the resource type.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1657,"character":19}]},{"id":846,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":847,"name":"importViewModelResource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view model as a resource.","returns":"A promise for the ResourceDescription.\n"},"parameters":[{"id":848,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"intrinsic","name":"string"}},{"id":849,"name":"moduleMember","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The export from the module to generate the resource for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ResourceDescription","id":793}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1685,"character":25}]},{"id":850,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":851,"name":"importViewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Imports the specified resources with the specified names into the view resources object.","returns":"A promise for the ViewResources.\n"},"parameters":[{"id":852,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":853,"name":"names","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The names associated with resource modules to import."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":854,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":855,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compilation instruction associated with the resource imports."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":856,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":236}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":567}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1695,"character":21}]},{"id":840,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":841,"name":"loadTemplateResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads all the resources specified by the registry entry.","returns":"A promise of ViewResources for the registry entry.\n"},"parameters":[{"id":842,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":843,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":844,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":845,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":567}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1677,"character":23}]},{"id":834,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":835,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads and compiles a ViewFactory from a url or template registry entry.","returns":"A promise for the compiled view factory.\n"},"parameters":[{"id":836,"name":"urlOrRegistryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A url or template registry entry to generate the view factory for."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"TemplateRegistryEntry"}]}},{"id":837,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Instructions detailing how the factory should be compiled."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":838,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this factory load is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":839,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1667,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[823]},{"title":"Properties","kind":1024,"children":[822]},{"title":"Methods","kind":2048,"children":[830,846,850,840,834]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1635,"character":31}]},{"id":193,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":194,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":195,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"ViewEngineHooksResource","id":193}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":568,"character":46}]},{"id":196,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":197,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":198,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":199,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":570,"character":12}]},{"id":204,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":205,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":206,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":207,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":572,"character":6}]},{"id":200,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":201,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":202,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":203,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":571,"character":10}]},{"id":208,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":209,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":210,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":573,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[194]},{"title":"Methods","kind":2048,"children":[196,204,200,208]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":568,"character":44}]},{"id":747,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":749,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":750,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":751,"name":"template","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The document fragment that serves as a template for the view to be created."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":752,"name":"instructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions to be applied ot the template during the creation of a view."},"type":{"type":"reference","name":"Object"}},{"id":753,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":567}}],"type":{"type":"reference","name":"ViewFactory","id":747}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1476,"character":17}]},{"id":748,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1476,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":763,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":764,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"parameters":[{"id":765,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":766,"name":"createInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction used to customize view creation."},"type":{"type":"reference","name":"ViewCreateInstruction","id":8}},{"id":767,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The custom element that hosts the view."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"View","id":632}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1512,"character":8}]},{"id":758,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":759,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":632}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1497,"character":15}]},{"id":760,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":761,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":762,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1503,"character":19}]},{"id":754,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":755,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":756,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"string"}]}},{"id":757,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1491,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[749]},{"title":"Properties","kind":1024,"children":[748]},{"title":"Methods","kind":2048,"children":[763,758,760,754]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1471,"character":32}]},{"id":408,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":409,"name":"viewStrategyMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing/finding view strategies associated with an class/object."},"sources":[{"fileName":"aurelia-templating.d.ts","line":971,"character":32}],"type":{"type":"intrinsic","name":"any"}},{"id":416,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":417,"name":"convertOriginToViewUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Conventionally converts a view model origin to a view url.\nUsed by the ConventionalViewStrategy.","returns":"The view url.\n"},"parameters":[{"id":418,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to convert."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":994,"character":24}]},{"id":413,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":414,"name":"createFallbackViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a fallback View Strategy. Used when unable to locate a configured strategy.\nThe default implementation returns and instance of ConventionalViewStrategy.","returns":"The fallback ViewStrategy.\n"},"parameters":[{"id":415,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to return the strategy for."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ViewStrategy","id":11}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":986,"character":28}]},{"id":410,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":411,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the view strategy for the value.","returns":"The located ViewStrategy instance.\n"},"parameters":[{"id":412,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value to locate the view strategy for."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"ViewStrategy","id":11}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":978,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[409]},{"title":"Methods","kind":2048,"children":[416,413,410]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":966,"character":32}]},{"id":567,"name":"ViewResources","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a collection of resources used during the compilation of a view.\nWill optinally add information to an existing HtmlBehaviorResource if given"},"children":[{"id":573,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":574,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":575,"name":"parent","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The parent resources. This resources can override them, but if a resource is not found, it will be looked up in the parent."},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":576,"name":"viewUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The url of the view to which these resources apply.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ViewResources","id":567}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1091,"character":23}]},{"id":572,"name":"bindingLanguage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A custom binding language used in the view."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1091,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":628,"name":"autoRegister","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":629,"name":"autoRegister","kind":4096,"kindString":"Call signature","flags":{},"comment":{"returns":"\n","tags":[{"tag":"internal","text":"\nNot supported for public use. Can be changed without warning.\n\nAuto register a resources based on its metadata or convention\nWill fallback to custom element if no metadata found and all conventions fail"}]},"parameters":[{"id":630,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":631,"name":"impl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1214,"character":14}]},{"id":604,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":605,"name":"getAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML attribute behavior.","returns":"The HtmlBehaviorResource for the attribute or null.\n"},"parameters":[{"id":606,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1160,"character":14}]},{"id":618,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":619,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":620,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1188,"character":20}]},{"id":580,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":581,"name":"getBindingLanguage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the binding language associated with these resources, or return the provided fallback implementation.","returns":"The binding language.\n"},"parameters":[{"id":582,"name":"bindingLanguageFallback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The fallback binding language implementation to use if no binding language is configured locally."},"type":{"type":"reference","name":"BindingLanguage","id":419}}],"type":{"type":"reference","name":"BindingLanguage","id":419}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1111,"character":20}]},{"id":593,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":594,"name":"getElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML element behavior.","returns":"The HtmlBehaviorResource for the tag name or null.\n"},"parameters":[{"id":595,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag name to search for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1138,"character":12}]},{"id":625,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":626,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":627,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1202,"character":10}]},{"id":611,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":612,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":613,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1174,"character":19}]},{"id":596,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":597,"name":"mapAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the known attribute name based on the local attribute name.","returns":"The known name.\n"},"parameters":[{"id":598,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The local attribute name to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1145,"character":14}]},{"id":583,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":584,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":585,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":567}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1117,"character":15}]},{"id":599,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":600,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":601,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":602,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}},{"id":603,"name":"knownAttribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The well-known name of the attribute (in lieu of the local name).\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1153,"character":19}]},{"id":614,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":615,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":616,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}},{"id":617,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1181,"character":25}]},{"id":589,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":590,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":591,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"intrinsic","name":"string"}},{"id":592,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1131,"character":17}]},{"id":621,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":622,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":623,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}},{"id":624,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1195,"character":15}]},{"id":607,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":608,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":609,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}},{"id":610,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1167,"character":24}]},{"id":577,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":578,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":579,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","name":"ViewEngineHooks","id":23}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1104,"character":25}]},{"id":586,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":587,"name":"relativeToView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a path relative to the associated view's origin.","returns":"The calcualted path.\n"},"parameters":[{"id":588,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1124,"character":16}]},{"id":568,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":569,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided class contains any resource conventions"},"parameters":[{"id":570,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Target class to extract metadata based on convention"},"type":{"type":"reference","name":"Function"}},{"id":571,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If supplied, all custom element / attribute metadata extracted from convention will be apply to this instance\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}}],"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":922},{"type":"reference","name":"ValueConverterResource"},{"type":"reference","name":"BindingBehaviorResource"},{"type":"reference","name":"ViewEngineHooksResource","id":193}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1086,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[573]},{"title":"Properties","kind":1024,"children":[572]},{"title":"Methods","kind":2048,"children":[628,604,618,580,593,625,611,596,583,599,614,589,621,607,577,586,568]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1079,"character":34}]},{"id":674,"name":"ViewSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a slot or location within the DOM to which views can be added and removed.\nManages the view lifecycle for its children."},"children":[{"id":675,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":676,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":677,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM node which will server as the anchor or container for insertion."},"type":{"type":"reference","name":"Node"}},{"id":678,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"intrinsic","name":"boolean"}},{"id":679,"name":"animator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The animator that will controll enter/leave transitions for this slot.\n"},"type":{"type":"reference","name":"Animator","id":143}}],"type":{"type":"reference","name":"ViewSlot","id":674}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1319,"character":31}]},{"id":692,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":693,"name":"add","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a view to the slot.","returns":"May return a promise if the view addition triggered an animation.\n"},"parameters":[{"id":694,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1360,"character":5}]},{"id":680,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":681,"name":"animateView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":" Runs the animator against the first animatable element found within the view's fragment\n @param view The view to use when searching for the element.\n @param direction The animation direction enter|leave.\n @returns An animation complete Promise or undefined if no animation was run."},"parameters":[{"id":682,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":632}},{"id":683,"name":"direction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1335,"character":13}]},{"id":722,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":723,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1415,"character":10}]},{"id":686,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":687,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":688,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":689,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1348,"character":6}]},{"id":724,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":725,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1420,"character":10}]},{"id":695,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":696,"name":"insert","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts a view into the slot.","returns":"May return a promise if the view insertion triggered an animation.\n"},"parameters":[{"id":697,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":698,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1368,"character":8}]},{"id":699,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":700,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":701,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"intrinsic","name":"any"}},{"id":702,"name":"targetIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index to insert the view at.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1375,"character":6}]},{"id":726,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":727,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":728,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1421,"character":11}]},{"id":703,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":704,"name":"remove","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":705,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":632}},{"id":706,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":707,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":632},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":632}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1384,"character":8}]},{"id":718,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":719,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all views from the slot.","returns":"May return a promise if the view removals triggered an animation.\n"},"parameters":[{"id":720,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":721,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1410,"character":11}]},{"id":713,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":714,"name":"removeAt","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view an a specified index from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":715,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":716,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":717,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":632},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":632}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1402,"character":10}]},{"id":708,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":709,"name":"removeMany","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes many views from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":710,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"array","elementType":{"type":"reference","name":"View","id":632}}},{"id":711,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the views be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":712,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1393,"character":12}]},{"id":684,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":685,"name":"transformChildNodesIntoView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Takes the child nodes of an existing element that has been converted into a ViewSlot\nand makes those nodes into a View within the slot."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1341,"character":29}]},{"id":690,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":691,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1353,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[675]},{"title":"Methods","kind":2048,"children":[692,680,722,686,724,695,699,726,703,718,713,708,684,690]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1319,"character":29}]},{"id":108,"name":"ComponentAttached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the attached convention."},"children":[{"id":109,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when the component is attached to the DOM (in document)."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":293,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[109]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":288,"character":42}]},{"id":103,"name":"ComponentBind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the bind convention."},"children":[{"id":104,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":105,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when databinding is activated on the view and view-model.\nThe \"binding context\" to which the component is being bound will be passed first.\nAn \"override context\" will be passed second. The override context contains information used to traverse\nthe parent hierarchy and can also be used to add any contextual properties that the component wants to add."},"parameters":[{"id":106,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":107,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":279,"character":6}]}],"groups":[{"title":"Methods","kind":2048,"children":[104]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":271,"character":38}]},{"id":98,"name":"ComponentCreated","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the created convention."},"children":[{"id":99,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":100,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the constructor has been called.\nAt this point in time, the view has also been created and both the view-model and the view\nare connected to their controller. The hook will recieve the instance of the \"owningView\".\nThis is the view that the component is declared inside of. If the component itself has a view,\nthis will be passed second."},"parameters":[{"id":101,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":632}},{"id":102,"name":"myView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":262,"character":9}]}],"groups":[{"title":"Methods","kind":2048,"children":[99]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":253,"character":41}]},{"id":111,"name":"ComponentDetached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the detached convention."},"children":[{"id":112,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":113,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic if/when the component is removed from the the DOM."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":307,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[112]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":302,"character":42}]},{"id":114,"name":"ComponentUnbind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the unbind convention."},"children":[{"id":115,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":116,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the component is detached and unbound."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":321,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[115]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":316,"character":40}]},{"id":120,"name":"CompositionContext","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the composition engine how to dynamically compose a component."},"children":[{"id":123,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The context in which the view model is executed in."},"sources":[{"fileName":"aurelia-templating.d.ts","line":356,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":122,"name":"childContainer","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The child Container for the component creation. One will be created from the parent if not provided."},"sources":[{"fileName":"aurelia-templating.d.ts","line":351,"character":16}],"type":{"type":"reference","name":"Container"}},{"id":121,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent Container for the component creation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":346,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":133,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The element that will parent the dynamic component.\nIt will be registered in the child container of this composition."},"sources":[{"fileName":"aurelia-templating.d.ts","line":407,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":126,"name":"model","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Data to be passed to the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":371,"character":7}],"type":{"type":"intrinsic","name":"any"}},{"id":124,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":361,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":129,"name":"owningView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view inside which this composition is happening."},"sources":[{"fileName":"aurelia-templating.d.ts","line":386,"character":12}],"type":{"type":"reference","name":"View","id":632}},{"id":132,"name":"skipActivation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Should the composition system skip calling the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":401,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":130,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view url or view strategy to override the default view location convention."},"sources":[{"fileName":"aurelia-templating.d.ts","line":391,"character":6}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ViewStrategy","id":11}]}},{"id":125,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view model url or instance for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":366,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":127,"name":"viewModelResource","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The HtmlBehaviorResource for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":376,"character":19}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":922}},{"id":128,"name":"viewResources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view resources for the view in which the component should be created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":381,"character":15}],"type":{"type":"reference","name":"ViewResources","id":567}},{"id":131,"name":"viewSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The slot to push the dynamically composed component into."},"sources":[{"fileName":"aurelia-templating.d.ts","line":396,"character":10}],"type":{"type":"reference","name":"ViewSlot","id":674}}],"groups":[{"title":"Properties","kind":1024,"children":[123,122,121,133,126,124,129,132,130,125,127,128,131]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":341,"character":43}]},{"id":117,"name":"DynamicComponentGetViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the getViewStrategy convention for dynamic components (used with the compose element or the router)."},"children":[{"id":118,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":119,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to provide custom view strategy when this component is used with the compose element or the router."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ViewStrategy","id":11}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":335,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[118]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":330,"character":56}]},{"id":137,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":141,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A binding context for the enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":437,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":138,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The DI container to use as the root for UI enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":422,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":139,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The element to enhance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":427,"character":9}],"type":{"type":"reference","name":"Element"}},{"id":142,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":442,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":140,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resources available for enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":432,"character":11}],"type":{"type":"reference","name":"ViewResources","id":567}}],"groups":[{"title":"Properties","kind":1024,"children":[141,138,139,142,140]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":417,"character":43}]},{"id":2,"name":"EventHandler","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4,"name":"bubbles","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":40,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":5,"name":"capture","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":41,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":6,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":42,"character":9}],"type":{"type":"reference","name":"Function"}},{"id":3,"name":"eventName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":39,"character":11}],"type":{"type":"intrinsic","name":"string"}},{"id":7,"name":"handler","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":43,"character":9}],"type":{"type":"reference","name":"Function"}}],"groups":[{"title":"Properties","kind":1024,"children":[4,5,6,3,7]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":38,"character":37}]},{"id":53,"name":"IBindablePropertyConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":{"id":60,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":61,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}},"children":[{"id":55,"name":"attribute","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":134,"character":11}],"type":{"type":"intrinsic","name":"string"}},{"id":57,"name":"changeHandler","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The name of a view model method to invoke when the property is updated."},"sources":[{"fileName":"aurelia-templating.d.ts","line":144,"character":15}],"type":{"type":"intrinsic","name":"string"}},{"id":56,"name":"defaultBindingMode","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The default binding mode of the property. If given string, will use to lookup"},"sources":[{"fileName":"aurelia-templating.d.ts","line":139,"character":20}],"type":{"type":"union","types":[{"type":"reference","name":"bindingMode"},{"type":"stringLiteral","value":"oneTime"},{"type":"stringLiteral","value":"oneWay"},{"type":"stringLiteral","value":"twoWay"},{"type":"stringLiteral","value":"fromView"},{"type":"stringLiteral","value":"toView"}]}},{"id":58,"name":"defaultValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A default value for the property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":149,"character":14}],"type":{"type":"intrinsic","name":"any"}},{"id":54,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The name of the property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":133,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":59,"name":"primaryProperty","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Designates the property as the default bindable property among all the other bindable properties when used in a custom attribute with multiple bindable properties."},"sources":[{"fileName":"aurelia-templating.d.ts","line":154,"character":17}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[55,57,56,58,54,59]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":128,"character":48}]},{"id":62,"name":"IStaticResourceConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":86,"name":"bindables","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"List of bindable properties of this custom element / custom attribute, by name or full config object"},"sources":[{"fileName":"aurelia-templating.d.ts","line":218,"character":11}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"reference","name":"IBindablePropertyConfig","id":53}}]}},{"id":70,"name":"containerless","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flag a custom element as containerless. Which will remove their render target"},"sources":[{"fileName":"aurelia-templating.d.ts","line":199,"character":15}],"type":{"type":"intrinsic","name":"boolean"}},{"id":66,"name":"defaultBindingMode","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Used to set default binding mode of default custom attribute view model \"value\" property"},"sources":[{"fileName":"aurelia-templating.d.ts","line":179,"character":20}],"type":{"type":"union","types":[{"type":"reference","name":"bindingMode"},{"type":"stringLiteral","value":"oneTime"},{"type":"stringLiteral","value":"oneWay"},{"type":"stringLiteral","value":"twoWay"},{"type":"stringLiteral","value":"fromView"},{"type":"stringLiteral","value":"toView"}]}},{"id":67,"name":"hasDynamicOptions","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flags a custom attribute has dynamic options"},"sources":[{"fileName":"aurelia-templating.d.ts","line":184,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":64,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Name of this resource. Reccommended to explicitly set to works better with minifier"},"sources":[{"fileName":"aurelia-templating.d.ts","line":169,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":71,"name":"processAttributes","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Custom processing of the attributes on an element before the framework inspects them."},"sources":[{"fileName":"aurelia-templating.d.ts","line":204,"character":19}],"type":{"type":"reflection","declaration":{"id":72,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":73,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":74,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompiler","id":768}},{"id":75,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":76,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":77,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NamedNodeMap"}},{"id":78,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":204,"character":21}]}}},{"id":79,"name":"processContent","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Enables custom processing of the content that is places inside the custom element by its consumer.\nPass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content."},"sources":[{"fileName":"aurelia-templating.d.ts","line":213,"character":16}],"type":{"type":"reflection","declaration":{"id":80,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":81,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":82,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompiler","id":768}},{"id":83,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":84,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":85,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BehaviorInstruction","id":255}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":213,"character":18}]}}},{"id":69,"name":"shadowDOMOptions","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Options that will be used if the element is flagged with usesShadowDOM"},"sources":[{"fileName":"aurelia-templating.d.ts","line":194,"character":18}],"type":{"type":"reference","name":"ShadowRootInit"}},{"id":65,"name":"templateController","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Used to tell if a custom attribute is a template controller"},"sources":[{"fileName":"aurelia-templating.d.ts","line":174,"character":20}],"type":{"type":"intrinsic","name":"boolean"}},{"id":63,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Resource type of this class, omit equals to custom element"},"sources":[{"fileName":"aurelia-templating.d.ts","line":164,"character":6}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"element"},{"type":"stringLiteral","value":"attribute"},{"type":"stringLiteral","value":"valueConverter"},{"type":"stringLiteral","value":"bindingBehavior"},{"type":"stringLiteral","value":"viewEngineHooks"}]}},{"id":68,"name":"usesShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flag if this custom element uses native shadow dom instead of emulation"},"sources":[{"fileName":"aurelia-templating.d.ts","line":189,"character":15}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[86,70,66,67,64,71,79,69,65,63,68]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":159,"character":46}]},{"id":18,"name":"IStaticViewConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":20,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":79,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reflection","declaration":{"id":21,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":22,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Record","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"}]}]}]}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":79,"character":29}]}}]}},{"id":19,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":78,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[20,19]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":77,"character":42}]},{"id":134,"name":"IStaticViewStrategyConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":136,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":411,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reference","name":"__type"}]}},{"id":135,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":410,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[136,135]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":409,"character":50}]},{"id":8,"name":"ViewCreateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be created."},"children":[{"id":9,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Indicates that the view is being created by enhancing existing DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":54,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":10,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Specifies a key/value lookup of part replacements for the view being created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":59,"character":18}],"type":{"type":"reference","name":"Object"}}],"groups":[{"title":"Properties","kind":1024,"children":[9,10]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":49,"character":46}]},{"id":23,"name":"ViewEngineHooks","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"View engine hooks that enable a view resource to provide custom processing during the compilation or creation of a view."},"children":[{"id":30,"name":"afterCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a template is compiled.","tags":[{"tag":"param","text":"The view factory that was produced from the compilation process.\n","param":"viewFactory"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":99,"character":14}],"type":{"type":"reflection","declaration":{"id":31,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":32,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":33,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":747}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":99,"character":16}]}}},{"id":41,"name":"afterCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a view is created.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":114,"character":13}],"type":{"type":"reflection","declaration":{"id":42,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":43,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":44,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":114,"character":15}]}}},{"id":45,"name":"beforeBind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after the bindingContext and overrideContext are configured on the view but before the view is bound.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":12}],"type":{"type":"reflection","declaration":{"id":46,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":47,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":48,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":14}]}}},{"id":24,"name":"beforeCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a template is compiled.","tags":[{"tag":"param","text":"The DocumentFragment to compile.","param":"content"},{"tag":"param","text":"The resources to compile the view against.","param":"resources"},{"tag":"param","text":"The compilation instruction associated with the compilation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":93,"character":15}],"type":{"type":"reflection","declaration":{"id":25,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":26,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":27,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":28,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":567}},{"id":29,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":93,"character":17}]}}},{"id":34,"name":"beforeCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a view is created.","tags":[{"tag":"param","text":"The view factory that will be used to create the view.","param":"viewFactory"},{"tag":"param","text":"The DI container used during view creation.","param":"container"},{"tag":"param","text":"The cloned document fragment representing the view.","param":"content"},{"tag":"param","text":"The view creation instruction associated with this creation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":108,"character":14}],"type":{"type":"reflection","declaration":{"id":35,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":36,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":37,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":747}},{"id":38,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":39,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":40,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCreateInstruction","id":8}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":108,"character":16}]}}},{"id":49,"name":"beforeUnbind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before the view is unbind. The bindingContext and overrideContext are still available on the view.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":126,"character":14}],"type":{"type":"reflection","declaration":{"id":50,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":51,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":52,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":632}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":126,"character":16}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[30,41,45,24,34,49]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":85,"character":40}]},{"id":87,"name":"ViewNode","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the view hierarchy."},"children":[{"id":92,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":93,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":237,"character":10}]},{"id":88,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":89,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":90,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":91,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":232,"character":6}]},{"id":94,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":95,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":242,"character":10}]},{"id":96,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":97,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":247,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[92,88,94,96]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":225,"character":33}]},{"id":11,"name":"ViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Implemented by classes that describe how a view factory should be loaded."},"children":[{"id":12,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":14,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":821}},{"id":15,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":246}},{"id":16,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":236}},{"id":17,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":747}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":75,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[12]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":65,"character":37}]},{"id":1018,"name":"SwapStrategies","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1928,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1003,"name":"animationEvent","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"List the events that an Animator should raise."},"sources":[{"fileName":"aurelia-templating.d.ts","line":448,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1007,"name":"viewStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Decorator: Indicates that the decorated class/object is a view strategy."},"sources":[{"fileName":"aurelia-templating.d.ts","line":818,"character":33}],"type":{"type":"reference","name":"Function"}},{"id":1022,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1023,"name":"behavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a custom HtmlBehaviorResource instance or an object that overrides various implementation details of the default HtmlBehaviorResource."},"parameters":[{"id":1024,"name":"override","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The customized HtmlBehaviorResource or an object to override the default with.\n"},"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":922},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2006,"character":32}]},{"id":1036,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1037,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":1038,"name":"nameOrConfigOrTarget","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the property, or a configuration object.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}},{"id":1039,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":1040,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2033,"character":32}]},{"id":1015,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1016,"name":"child","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an immediate content child element that matches the provided selector."},"parameters":[{"id":1017,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1927,"character":29}]},{"id":1012,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1013,"name":"children","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an array of immediate content child elements that matches the provided selector."},"parameters":[{"id":1014,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1922,"character":32}]},{"id":1053,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1054,"name":"containerless","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should be rendered without its\nelement container."},"parameters":[{"id":1055,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2067,"character":37}]},{"id":1028,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1029,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":1030,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":1031,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound with .bind."},"type":{"type":"intrinsic","name":"number"}},{"id":1032,"name":"aliases","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The array of aliases to associate to the custom attribute.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2020,"character":39}]},{"id":1025,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1026,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":1027,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2012,"character":37}]},{"id":1041,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1042,"name":"dynamicOptions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that the decorated custom attribute has options that\nare dynamic, based on their presence in HTML and not statically known."},"parameters":[{"id":1043,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2039,"character":38}]},{"id":1074,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1075,"name":"elementConfig","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class provides element configuration\nto the EventManager for one or more Web Components."},"parameters":[{"id":1076,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2107,"character":37}]},{"id":1062,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1063,"name":"inlineView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a view template, directly inline, for the component. Be\nsure to wrap the markup in a template element."},"parameters":[{"id":1064,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"intrinsic","name":"string"}},{"id":1065,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A list of dependencies that the template has."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":1066,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A base url from which the dependencies will be loaded.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2088,"character":34}]},{"id":1067,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1068,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":1069,"name":"targetOrDependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Array","typeArguments":[{"type":"intrinsic","name":"any"}]}]}},{"id":1070,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2093,"character":30}]},{"id":1047,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1048,"name":"processAttributes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the attributes on an element before the framework inspects them."},"parameters":[{"id":1049,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a function which can provide custom processing of the content.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2051,"character":41}]},{"id":1050,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1051,"name":"processContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the content that is places inside the\ncustom element by its consumer."},"parameters":[{"id":1052,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Function"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2061,"character":38}]},{"id":1019,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1020,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":1021,"name":"instanceOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resource instance.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2000,"character":32}]},{"id":1033,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1034,"name":"templateController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Applied to custom attributes. Indicates that whatever element the\nattribute is placed on should be converted into a template and that this\nattribute controls the instantiation of the template."},"parameters":[{"id":1035,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2027,"character":42}]},{"id":1044,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1045,"name":"useShadowDOM","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should render its view in Shadow\nDOM. This decorator may change slightly when Aurelia updates to Shadow DOM v1."},"parameters":[{"id":1046,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2045,"character":36}]},{"id":1059,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1060,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":1061,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to the view.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2079,"character":31}]},{"id":1056,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1057,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":1058,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2073,"character":39}]},{"id":1008,"name":"validateBehaviorName","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1009,"name":"validateBehaviorName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1010,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":1011,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1073,"character":44}]},{"id":1071,"name":"view","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1072,"name":"view","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the element use static view"},"parameters":[{"id":1073,"name":"templateOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","name":"IStaticViewStrategyConfig","id":134}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2101,"character":28}]},{"id":1004,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1005,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1006,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":575,"character":39}]},{"id":1077,"name":"viewResources","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1078,"name":"viewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides the ability to add resources to the related View\nSame as: "},"parameters":[{"id":1079,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"Either: strings with moduleIds, Objects with 'src' and optionally 'as' properties or one of the classes of the module to be included.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2114,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[143,255,883,906,419,729,960,186,172,178,857,347,974,211,922,380,810,358,446,334,793,236,778,538,492,436,392,292,369,987,632,246,768,821,193,747,408,567,674]},{"title":"Interfaces","kind":256,"children":[108,103,98,111,114,120,117,137,2,53,62,18,134,8,23,87,11]},{"title":"Variables","kind":32,"children":[1018,1003,1007]},{"title":"Functions","kind":64,"children":[1022,1036,1015,1012,1053,1028,1025,1041,1074,1062,1067,1047,1050,1019,1033,1044,1059,1056,1008,1071,1004,1077]}]} \ No newline at end of file +{"name":"aurelia-templating","children":[{"id":156,"name":"Animator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract class representing a mechanism for animating the DOM during various DOM state transitions."},"children":[{"id":167,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":168,"name":"addClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":169,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":170,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":510,"character":10}]},{"id":171,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":172,"name":"animate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":173,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"union","types":[{"type":"reference","name":"HTMLElement"},{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"HTMLElement"}]}]}},{"id":174,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use. For css animators this represents the className to be added and removed right after the animation is done."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":519,"character":9}]},{"id":157,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":158,"name":"enter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute an 'enter' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":159,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":487,"character":7}]},{"id":160,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":161,"name":"leave","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a 'leave' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":162,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":494,"character":7}]},{"id":178,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":179,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":180,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect"},"type":{"type":"intrinsic","name":"string"}},{"id":181,"name":"properties","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Object with properties for the effect\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":534,"character":16}]},{"id":163,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":164,"name":"removeClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":165,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":166,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":502,"character":13}]},{"id":175,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":176,"name":"runSequence","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Run a sequence of animations one after the other.\nfor example: animator.runSequence(\"fadeIn\",\"callout\")","returns":"Resolved when all animations are done\n"},"parameters":[{"id":177,"name":"animations","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":527,"character":13}]},{"id":182,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":183,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":184,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":540,"character":18}]}],"groups":[{"title":"Methods","kind":2048,"children":[167,171,157,160,178,163,175,182]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":480,"character":29}]},{"id":268,"name":"BehaviorInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Indicates how a custom attribute or element should be instantiated in a view."},"children":[{"id":277,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":281,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":712,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":279,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":710,"character":12}],"type":{"type":"reference","name":"Object"}},{"id":275,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":706,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":270,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":701,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":278,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":709,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":282,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":713,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":269,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":700,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":273,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":704,"character":18}],"type":{"type":"intrinsic","name":"string"}},{"id":271,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":702,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":274,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":705,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":280,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":711,"character":6}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":272,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":703,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":276,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":707,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":283,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"A default behavior used in scenarios where explicit configuration isn't available."},"sources":[{"fileName":"aurelia-templating.d.ts","line":718,"character":15}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":294,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":295,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":296,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":297,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":748,"character":18}]},{"id":298,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":299,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":300,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":301,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":302,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A view factory used in generating the component's view."},"type":{"type":"reference","name":"ViewFactory","id":764}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":757,"character":16}]},{"id":290,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":291,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":292,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":293,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":740,"character":16}]},{"id":284,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":285,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for element enhancement.","returns":"The created instruction.\n"},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":724,"character":16}]},{"id":286,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":287,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":288,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":289,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes for the behaior."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":732,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[277,281,279,275,270,278,282,269,273,271,274,280,272,276,283]},{"title":"Methods","kind":2048,"children":[294,298,290,284,286]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":699,"character":40}]},{"id":900,"name":"BehaviorPropertyObserver","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An implementation of Aurelia's Observer interface that is used to back bindable properties defined on a behavior."},"children":[{"id":901,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":902,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":903,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":904,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":905,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"intrinsic","name":"string"}},{"id":906,"name":"selfSubscriber","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The callback function that notifies the object which defines the properties, if present."},"type":{"type":"reference","name":"Function"}},{"id":907,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The initial value of the property.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":900}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1817,"character":47}]},{"id":913,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":914,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1843,"character":6}]},{"id":908,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":909,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1832,"character":10}]},{"id":910,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":911,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":912,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new value to set.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1838,"character":10}]},{"id":915,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":916,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":917,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A context object to pass along to the subscriber when it's called."},"type":{"type":"intrinsic","name":"any"}},{"id":918,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function or object with a \"call\" method to be invoked for delivery of changes.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1850,"character":11}]},{"id":919,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":920,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":921,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"intrinsic","name":"any"}},{"id":922,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callable that was originally subscribed with.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1857,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[901]},{"title":"Methods","kind":2048,"children":[913,908,910,915,919]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1817,"character":45}]},{"id":923,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":924,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":925,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":926,"name":"nameOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property or a cofiguration object.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"BindableProperty","id":923}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1863,"character":39}]},{"id":936,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":937,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":938,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view model instance on which to create the observer."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":900}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1891,"character":16}]},{"id":932,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":933,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":934,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":935,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1884,"character":10}]},{"id":927,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":928,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":929,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":930,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":931,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The property descriptor for this property.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1877,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[924]},{"title":"Methods","kind":2048,"children":[936,932,927]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1863,"character":37}]},{"id":432,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":439,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":440,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":441,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":442,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":443,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":444,"name":"existingInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A previously created instruction for this attribute."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1061,"character":28}]},{"id":445,"name":"createLetExpressions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":446,"name":"createLetExpressions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates let expressions from a element","returns":"the expression array created from the element\n"},"parameters":[{"id":447,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled"},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":448,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"the let element in the view template"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"array","elementType":{"type":"reference","name":"LetExpression","id":23}}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1070,"character":22}]},{"id":433,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":434,"name":"inspectAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inspects an attribute for bindings.","returns":"An info object with the results of the inspection.\n"},"parameters":[{"id":435,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":436,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":437,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":438,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1051,"character":18}]},{"id":449,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":450,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":451,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":452,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value of the text to parse."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1078,"character":20}]}],"groups":[{"title":"Methods","kind":2048,"children":[439,445,433,449]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1041,"character":36}]},{"id":746,"name":"BoundViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances, bound to a location within another view hierarchy."},"children":[{"id":747,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":748,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":749,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":750,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":751,"name":"partReplacements","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Part replacement overrides for the internal factory.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BoundViewFactory","id":746}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1477,"character":39}]},{"id":754,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1496,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":752,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":753,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1491,"character":8}]},{"id":759,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":760,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1509,"character":15}]},{"id":761,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":762,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":763,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1515,"character":19}]},{"id":755,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":756,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":757,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"string"}]}},{"id":758,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1503,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[747]},{"title":"Properties","kind":1024,"children":[754]},{"title":"Methods","kind":2048,"children":[752,759,761,755]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1477,"character":37}]},{"id":977,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":978,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":979,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":980,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":981,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":421}}],"type":{"type":"reference","name":"CompositionEngine","id":977}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1983,"character":40}]},{"id":988,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":989,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes a component.","returns":"A Promise for the View or the Controller that results from the dynamic composition.\n"},"parameters":[{"id":990,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext providing information on how the composition should occur."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Controller","id":874}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2010,"character":9}]},{"id":982,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":983,"name":"createController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a controller instance for the component described in the context.","returns":"A Promise for the Controller.\n"},"parameters":[{"id":984,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":874}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1996,"character":18}]},{"id":985,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":986,"name":"ensureViewModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Ensures that the view model and its resource are loaded for this context.","returns":"A Promise for the context.\n"},"parameters":[{"id":987,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext to load the view model and its resource for."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":133}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2003,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[978]},{"title":"Methods","kind":2048,"children":[988,982,985]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1983,"character":38}]},{"id":199,"name":"CompositionTransaction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables an initiator of a view composition to track any internal async rendering processes for completion."},"children":[{"id":200,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":201,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":199}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":45}]},{"id":204,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":205,"name":"enlist","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enlist an async render operation into the transaction.","returns":"A completion notifier.\n"},"type":{"type":"reference","name":"CompositionTransactionNotifier","id":185}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":593,"character":8}]},{"id":202,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":203,"name":"tryCapture","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attempt to take ownership of the composition transaction.","returns":"An ownership token if successful, otherwise null.\n"},"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":191}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":587,"character":12}]}],"groups":[{"title":"Constructors","kind":512,"children":[200]},{"title":"Methods","kind":2048,"children":[204,202]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":43}]},{"id":185,"name":"CompositionTransactionNotifier","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A mechanism by which an enlisted async render operation can notify the owning transaction when its work is done."},"children":[{"id":186,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":187,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":188,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":185}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":53}]},{"id":189,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":190,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":552,"character":6}]}],"groups":[{"title":"Constructors","kind":512,"children":[186]},{"title":"Methods","kind":2048,"children":[189]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":51}]},{"id":191,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":192,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":193,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":194,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":191}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":558,"character":59}]},{"id":197,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":198,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":570,"character":9}]},{"id":195,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":196,"name":"waitForCompositionComplete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the transaction owner to wait for the completion of all child compositions.","returns":"A promise that resolves when all child compositions are done.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":565,"character":28}]}],"groups":[{"title":"Constructors","kind":512,"children":[192]},{"title":"Methods","kind":2048,"children":[197,195]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":558,"character":57}]},{"id":874,"name":"Controller","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls a view model (and optionally its view), according to a particular behavior and by following a set of instructions."},"children":[{"id":878,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":879,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":880,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":881,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":882,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":883,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container that the controller's view was created from.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Controller","id":874}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1767,"character":13}]},{"id":875,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1756,"character":10}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":877,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view associated with the component being controlled by this controller.\nNote: Not all components will have a view, so the value may be null."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1767,"character":6}],"type":{"type":"reference","name":"View","id":649}},{"id":876,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1761,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":896,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":897,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1806,"character":10}]},{"id":887,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":888,"name":"automate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.\nThis should be considered a semi-private API and is subject to change without notice, even across minor or patch releases."},"parameters":[{"id":889,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":890,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1790,"character":10}]},{"id":891,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":892,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":893,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1796,"character":6}]},{"id":884,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":885,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":886,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1782,"character":9}]},{"id":898,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":899,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1811,"character":10}]},{"id":894,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":895,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1801,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[878]},{"title":"Properties","kind":1024,"children":[875,877,876]},{"title":"Methods","kind":2048,"children":[896,887,891,884,898,894]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1751,"character":31}]},{"id":360,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":361,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":362,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":363,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":421}},{"id":364,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The origin of the view model to conventionally load the view for.\n"},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ConventionalViewStrategy","id":360}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":889,"character":47}]},{"id":365,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":366,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":367,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":368,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":369,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":370,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":906,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[361]},{"title":"Methods","kind":2048,"children":[365]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":889,"character":45}]},{"id":991,"name":"ElementConfigResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that configures the EventManager with information\nabout how events relate to properties for the purpose of two-way data-binding\nto Web Components."},"children":[{"id":992,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":993,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":994,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":995,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2026,"character":12}]},{"id":1000,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1001,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":1002,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":1003,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2043,"character":6}]},{"id":996,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":997,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":998,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":999,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2035,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[992,1000,996]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2018,"character":42}]},{"id":224,"name":"ElementEvents","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Dispatches subscribets to and publishes events in the DOM.","tags":[{"tag":"param","text":"\n","param":"element"}]},"children":[{"id":225,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":226,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":227,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"EventTarget"}}],"type":{"type":"reference","name":"ElementEvents","id":224}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":612,"character":36}]},{"id":244,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":245,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":246,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":640,"character":9}]},{"id":247,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":248,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":645,"character":12}]},{"id":228,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":229,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":230,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"intrinsic","name":"string"}},{"id":231,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":232,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"boolean"}},{"id":233,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":622,"character":9}]},{"id":234,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":235,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and Event Listener on the context element.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":236,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":237,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":238,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":628,"character":11}]},{"id":239,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":240,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an Event Listener on the context element, that will be disposed on the first trigger.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":241,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":242,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":243,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":634,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[225]},{"title":"Methods","kind":2048,"children":[244,247,228,234,239]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":612,"character":34}]},{"id":939,"name":"HtmlBehaviorResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that implements custom element or custom\nattribute functionality."},"children":[{"id":940,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":941,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1898,"character":43}]},{"id":946,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":947,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":948,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1916,"character":17}]},{"id":964,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":965,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs into the compiler and enables custom processing of the node on which this behavior is located.","returns":"The current node.\n"},"parameters":[{"id":966,"name":"compiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The compiler that is currently compiling the view that this behavior exists within."},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":967,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources for the view that this behavior exists within."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":968,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":969,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":970,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The parent node of the current node."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1956,"character":9}]},{"id":971,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":972,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instance of this behavior.","returns":"The Controller of this behavior.\n"},"parameters":[{"id":973,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":974,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction for this behavior that was constructed during compilation."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":975,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":976,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The bindings that are associated with the view in which this behavior exists."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}}],"type":{"type":"reference","name":"Controller","id":874}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1966,"character":8}]},{"id":949,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":950,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":951,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":952,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1924,"character":12}]},{"id":957,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":958,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":959,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":960,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":961,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context object provided by the view engine."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":962,"name":"viewStrategy","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A view strategy to overload the default strategy defined by the resource."},"type":{"type":"reference","name":"ViewStrategy","id":11}},{"id":963,"name":"transientView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicated whether the view strategy is transient or\npermanently tied to this component.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HtmlBehaviorResource","id":939}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1945,"character":6}]},{"id":953,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":954,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":955,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":956,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1933,"character":10}]},{"id":942,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":943,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":944,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"intrinsic","name":"string"}},{"id":945,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An already existing resource that may need a convention name applied.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1910,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[940]},{"title":"Methods","kind":2048,"children":[946,964,971,949,957,953,942]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1898,"character":41}]},{"id":393,"name":"InlineViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that allows the component author to inline the html for the view."},"children":[{"id":394,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":395,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":396,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The markup for the view. Be sure to include the wrapping template tag."},"type":{"type":"intrinsic","name":"string"}},{"id":397,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":398,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"InlineViewStrategy","id":393}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":959,"character":41}]},{"id":399,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":400,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":401,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":402,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":403,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":404,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":977,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[394]},{"title":"Methods","kind":2048,"children":[399]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":959,"character":39}]},{"id":827,"name":"ModuleAnalyzer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Analyzes a module in order to discover the view resources that it exports."},"children":[{"id":828,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":829,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":827}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1658,"character":37}]},{"id":833,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":834,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":835,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"intrinsic","name":"string"}},{"id":836,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"intrinsic","name":"any"}},{"id":837,"name":"mainResourceKey","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the main resource."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":795}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1679,"character":9}]},{"id":830,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":831,"name":"getAnalysis","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the ResourceModule analysis for a previously analyzed module.","returns":"The ResouceModule if found, undefined otherwise.\n"},"parameters":[{"id":832,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":795}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1670,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[828]},{"title":"Methods","kind":2048,"children":[833,830]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1658,"character":35}]},{"id":371,"name":"NoViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that indicates that the component has no view that the templating engine needs to manage.\nTypically used when the component author wishes to take over fine-grained rendering control."},"children":[{"id":372,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"signatures":[{"id":373,"name":"new NoViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"parameters":[{"id":374,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":375,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"NoViewStrategy","id":371}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":37}]},{"id":376,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":377,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":378,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":379,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":380,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":381,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":930,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[372]},{"title":"Methods","kind":2048,"children":[376]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":35}]},{"id":463,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":464,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":465,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":466,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":467,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":468,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":469,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":463}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1085,"character":38}]},{"id":470,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1087,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":480,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":481,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":482,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":483,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":484,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":485,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1090,"character":9}]},{"id":503,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":504,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1096,"character":10}]},{"id":500,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":501,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":502,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1095,"character":6}]},{"id":497,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":498,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":499,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1094,"character":9}]},{"id":505,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":506,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1097,"character":10}]},{"id":477,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":478,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":479,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1089,"character":15}]},{"id":493,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":494,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":495,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":496,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1093,"character":13}]},{"id":490,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":491,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":492,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1092,"character":11}]},{"id":486,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":487,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":488,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":489,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1091,"character":12}]},{"id":471,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":472,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":473,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":474,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":475,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":476,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1088,"character":23}]},{"id":507,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":508,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1098,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[464]},{"title":"Properties","kind":1024,"children":[470]},{"title":"Methods","kind":2048,"children":[480,503,500,497,505,477,493,490,486,471,507]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1085,"character":36}]},{"id":347,"name":"RelativeViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that loads a view relative to its associated view-model."},"children":[{"id":348,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":349,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":350,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The relative path to the view.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"RelativeViewStrategy","id":347}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":861,"character":43}]},{"id":351,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":352,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":353,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":354,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":355,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":356,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":877,"character":17}]},{"id":357,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":358,"name":"makeRelativeTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the view loaded by this strategy relative to the provided file path."},"parameters":[{"id":359,"name":"file","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to load the view relative to.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":883,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[348]},{"title":"Methods","kind":2048,"children":[351,357]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":861,"character":41}]},{"id":810,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":811,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":812,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":813,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"intrinsic","name":"string"}},{"id":814,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"intrinsic","name":"any"}},{"id":815,"name":"resourceTypeMeta","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The metadata located on the resource.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"ResourceDescription","id":810}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1623,"character":42}]},{"id":816,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":817,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":818,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1637,"character":12}]},{"id":823,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":824,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resource.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":825,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":826,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1652,"character":6}]},{"id":819,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":820,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":821,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":822,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the resource.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1644,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[811]},{"title":"Methods","kind":2048,"children":[816,823,819]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1623,"character":40}]},{"id":249,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":251,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":252,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":23}]},{"id":250,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":253,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":254,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":255,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the dependency.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":663,"character":15}]},{"id":256,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":257,"name":"hasDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks if the current context includes a load of the specified url.","returns":"True if the url is being loaded in the context; false otherwise.\n"},"parameters":[{"id":258,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":669,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[251]},{"title":"Properties","kind":1024,"children":[250]},{"title":"Methods","kind":2048,"children":[253,256]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":651,"character":40}]},{"id":795,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":796,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":797,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":798,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The id of the module that contains view resources.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":795}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1590,"character":37}]},{"id":799,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":800,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":801,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1602,"character":12}]},{"id":806,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":807,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resources within this module.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":808,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":809,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1617,"character":6}]},{"id":802,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":803,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":804,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":805,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the default resource.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1609,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[796]},{"title":"Methods","kind":2048,"children":[799,806,802]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1590,"character":35}]},{"id":555,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":556,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1116,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":576,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":577,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":578,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":579,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":580,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":581,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":582,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":583,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1121,"character":24}]},{"id":560,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":561,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":562,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":563,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":564,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":565,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":566,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1118,"character":23}]},{"id":557,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":558,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":559,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1117,"character":20}]},{"id":572,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":573,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":574,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":575,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1120,"character":24}]},{"id":567,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":568,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":569,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":570,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":571,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1119,"character":25}]}],"groups":[{"title":"Properties","kind":1024,"children":[556]},{"title":"Methods","kind":2048,"children":[576,560,557,572,567]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1115,"character":30}]},{"id":509,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":510,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":511,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":512,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":513,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":514,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":509}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1100,"character":33}]},{"id":515,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1102,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":516,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":517,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":518,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":519,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":520,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":521,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":522,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1103,"character":9}]},{"id":549,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1111,"character":10}]},{"id":546,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":547,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":548,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1110,"character":6}]},{"id":543,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":544,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":545,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1109,"character":9}]},{"id":551,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":552,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1112,"character":10}]},{"id":533,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":534,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":535,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":536,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1107,"character":13}]},{"id":530,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":531,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":532,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1106,"character":11}]},{"id":527,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":528,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":529,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1105,"character":11}]},{"id":523,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":524,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":525,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":526,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1104,"character":12}]},{"id":537,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":538,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":539,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":540,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":541,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":542,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1108,"character":23}]},{"id":553,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":554,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1113,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[510]},{"title":"Properties","kind":1024,"children":[515]},{"title":"Methods","kind":2048,"children":[516,549,546,543,551,533,530,527,523,537,553]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1100,"character":31}]},{"id":453,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":456,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":457,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":458,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":453}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1081,"character":23}]},{"id":459,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":460,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":461,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":462,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1083,"character":14}]},{"id":454,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":455,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1081,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[456]},{"title":"Methods","kind":2048,"children":[459,454]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1080,"character":40}]},{"id":405,"name":"StaticViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":412,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":413,"name":"new StaticViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":414,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","name":"IStaticViewConfig","id":18}]}}],"type":{"type":"reference","name":"StaticViewStrategy","id":405}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":23}]},{"id":407,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":985,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reflection","declaration":{"id":408,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":409,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Record","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"}]}]}]}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":985,"character":28}]}}]}},{"id":411,"name":"factory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":9}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":410,"name":"factoryIsReady","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":986,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":406,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":982,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}},{"id":415,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":416,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":417,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":418,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":419,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":420,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":998,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[412]},{"title":"Properties","kind":1024,"children":[407,411,410,406]},{"title":"Methods","kind":2048,"children":[415]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":979,"character":39}]},{"id":303,"name":"TargetInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Provides all the instructions for how a target element should be enhanced inside of a view."},"children":[{"id":315,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":783,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":312,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":780,"character":22}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":268}]}},{"id":309,"name":"contentExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates if this instruction is targeting a text node"},"sources":[{"fileName":"aurelia-templating.d.ts","line":773,"character":19}],"type":{"type":"intrinsic","name":"any"}},{"id":316,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":784,"character":20}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":311,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":779,"character":13}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":304,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":764,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":310,"name":"letElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates if this instruction is a let element instruction"},"sources":[{"fileName":"aurelia-templating.d.ts","line":778,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":317,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":785,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":305,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":765,"character":18}],"type":{"type":"intrinsic","name":"number"}},{"id":313,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":781,"character":11}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":306,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":766,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":308,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":768,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":307,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":767,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":318,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":786,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":314,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":782,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":319,"name":"noExpressions","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"An empty array used to represent a target with no binding expressions."},"sources":[{"fileName":"aurelia-templating.d.ts","line":791,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":323,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":324,"name":"contentExpression","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a binding expression in the content of an element.","returns":"The created instruction.\n"},"parameters":[{"id":325,"name":"expression","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The binding expression."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":805,"character":26}]},{"id":326,"name":"letElement","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":327,"name":"letElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":328,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":817,"character":19}]},{"id":329,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":330,"name":"lifting","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents content that was lifted out of the DOM and into a ViewFactory.","returns":"The created instruction.\n"},"parameters":[{"id":331,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":332,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":825,"character":16}]},{"id":333,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":334,"name":"normal","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":335,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":336,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":337,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":338,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":268}]}},{"id":339,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":340,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":837,"character":15}]},{"id":320,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":321,"name":"shadowSlot","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a shadow dom slot.","returns":"The created instruction.\n"},"parameters":[{"id":322,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":798,"character":19}]},{"id":341,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":342,"name":"surrogate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents the surrogate behaviors and bindings for an element.","returns":"The created instruction.\n"},"parameters":[{"id":343,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":344,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":268}]}},{"id":345,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":346,"name":"values","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes to transplant."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":847,"character":18}]}],"groups":[{"title":"Properties","kind":1024,"children":[315,312,309,316,311,304,310,317,305,313,306,308,307,318,314,319]},{"title":"Methods","kind":2048,"children":[323,326,329,333,320,341]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":763,"character":38}]},{"id":382,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":383,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":384,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":385,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"intrinsic","name":"string"}},{"id":386,"name":"entry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The template registry entry used in loading the view factory.\n"},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","name":"TemplateRegistryViewStrategy","id":382}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":936,"character":51}]},{"id":387,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":388,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":389,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":390,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":391,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":392,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":953,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[383]},{"title":"Methods","kind":2048,"children":[387]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":936,"character":49}]},{"id":1004,"name":"TemplatingEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A facade of the templating engine capabilties which provides a more user friendly API for common use cases."},"children":[{"id":1005,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":1006,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":1007,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":1008,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":827}},{"id":1009,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":1010,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":977}}],"type":{"type":"reference","name":"TemplatingEngine","id":1004}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2173,"character":39}]},{"id":1014,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1015,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes components and views.","returns":"A promise for the resulting Controller or View. Consumers of this API\nare responsible for enforcing the Controller/View lifecycle.\n"},"parameters":[{"id":1016,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The composition context to use."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Controller","id":874}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2196,"character":9}]},{"id":1011,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1012,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":1013,"name":"animator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","name":"Animator","id":156}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2188,"character":19}]},{"id":1017,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1018,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enhances existing DOM with behaviors and bindings.","returns":"A View representing the enhanced UI. Consumers of this API\nare responsible for enforcing the View lifecycle.\n"},"parameters":[{"id":1019,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element to enhance or a set of instructions for the enhancement process."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"EnhanceInstruction","id":150}]}}],"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2204,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[1005]},{"title":"Methods","kind":2048,"children":[1014,1011,1017]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2173,"character":37}]},{"id":649,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":656,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":657,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":658,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":659,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":660,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":661,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Controller","id":874}}},{"id":662,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}},{"id":663,"name":"children","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"array","elementType":{"type":"reference","name":"ViewNode","id":100}}},{"id":664,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1296,"character":25}]},{"id":653,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The primary binding context that this view is data-bound to."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1286,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":650,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Dependency Injection Container that was used to create this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1271,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":655,"name":"controller","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Controller instance that owns this View."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1296,"character":12}],"type":{"type":"reference","name":"Controller","id":874}},{"id":652,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Contains the DOM Nodes which represent this View. If the view was created via the \"enhance\" API, this will be an Element, otherwise it will be a DocumentFragment. If not created via \"enhance\" then the fragment will only contain nodes when the View is detached from the DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1281,"character":10}],"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":654,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The override context which contains properties capable of overriding those found on the binding context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1291,"character":17}],"type":{"type":"reference","name":"Object"}},{"id":651,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The ViewFactory that built this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1276,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":674,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":675,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":676,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1330,"character":12}]},{"id":682,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":683,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":684,"name":"parent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The parent element to append this view's nodes to.\n"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1347,"character":15}]},{"id":687,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":688,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1357,"character":10}]},{"id":669,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":670,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":671,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":672,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}},{"id":673,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1324,"character":6}]},{"id":667,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":668,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the created callback for this view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1317,"character":9}]},{"id":689,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":690,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1362,"character":10}]},{"id":679,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":680,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":681,"name":"refNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to insert this view's nodes before.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1341,"character":19}]},{"id":685,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":686,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1352,"character":13}]},{"id":665,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":666,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1312,"character":15}]},{"id":677,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":678,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1335,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[656]},{"title":"Properties","kind":1024,"children":[653,650,655,652,654,651]},{"title":"Methods","kind":2048,"children":[674,682,687,669,667,689,679,685,665,677]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1266,"character":25}]},{"id":259,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":264,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":265,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":266,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"intrinsic","name":"boolean"}},{"id":267,"name":"compileSurrogate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation also include surrogate bindings and behaviors.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":683,"character":40}]},{"id":262,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":678,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":261,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":677,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":260,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":676,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":263,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The normal configuration for view compilation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":683,"character":15}],"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"groups":[{"title":"Constructors","kind":512,"children":[264]},{"title":"Properties","kind":1024,"children":[262,261,260,263]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":675,"character":43}]},{"id":785,"name":"ViewCompiler","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views."},"children":[{"id":786,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":787,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":788,"name":"bindingLanguage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The default data binding language and syntax used during view compilation."},"type":{"type":"reference","name":"BindingLanguage","id":432}},{"id":789,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The global resources used during compilation when none are provided for compilation.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"reference","name":"ViewCompiler","id":785}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1568,"character":35}]},{"id":790,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":791,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Compiles an html template, dom fragment or string into ViewFactory instances, capable of instantiating Views.","returns":"The compiled ViewFactory.\n"},"parameters":[{"id":792,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template, fragment or string to compile."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"DocumentFragment"},{"type":"intrinsic","name":"string"}]}},{"id":793,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":794,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A set of instructions that customize how compilation occurs."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"type":{"type":"reference","name":"ViewFactory","id":764}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1584,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[786]},{"title":"Methods","kind":2048,"children":[790]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1568,"character":33}]},{"id":838,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":840,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":841,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":842,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":843,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":844,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":845,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":827}},{"id":846,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"reference","name":"ViewEngine","id":838}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1690,"character":42}]},{"id":839,"name":"viewModelRequireMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing requires declared in a ViewModel."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1690,"character":36}],"type":{"type":"intrinsic","name":"any"}},{"id":847,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":848,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":849,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"intrinsic","name":"string"}},{"id":850,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The plugin implementation that handles the resource type.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1707,"character":19}]},{"id":863,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":864,"name":"importViewModelResource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view model as a resource.","returns":"A promise for the ResourceDescription.\n"},"parameters":[{"id":865,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"intrinsic","name":"string"}},{"id":866,"name":"moduleMember","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The export from the module to generate the resource for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ResourceDescription","id":810}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1735,"character":25}]},{"id":867,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":868,"name":"importViewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Imports the specified resources with the specified names into the view resources object.","returns":"A promise for the ViewResources.\n"},"parameters":[{"id":869,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":870,"name":"names","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The names associated with resource modules to import."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":871,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":872,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compilation instruction associated with the resource imports."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":873,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":584}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1745,"character":21}]},{"id":857,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":858,"name":"loadTemplateResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads all the resources specified by the registry entry.","returns":"A promise of ViewResources for the registry entry.\n"},"parameters":[{"id":859,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":860,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":861,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":862,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":584}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1727,"character":23}]},{"id":851,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":852,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads and compiles a ViewFactory from a url or template registry entry.","returns":"A promise for the compiled view factory.\n"},"parameters":[{"id":853,"name":"urlOrRegistryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A url or template registry entry to generate the view factory for."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"TemplateRegistryEntry"}]}},{"id":854,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Instructions detailing how the factory should be compiled."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":855,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this factory load is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":856,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1717,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[840]},{"title":"Properties","kind":1024,"children":[839]},{"title":"Methods","kind":2048,"children":[847,863,867,857,851]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1685,"character":31}]},{"id":206,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":207,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":208,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"ViewEngineHooksResource","id":206}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":46}]},{"id":209,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":210,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":211,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":212,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":597,"character":12}]},{"id":217,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":218,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":219,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":220,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":599,"character":6}]},{"id":213,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":214,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":215,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":216,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":598,"character":10}]},{"id":221,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":222,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":223,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":600,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[207]},{"title":"Methods","kind":2048,"children":[209,217,213,221]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":44}]},{"id":764,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":766,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":767,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":768,"name":"template","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The document fragment that serves as a template for the view to be created."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":769,"name":"instructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions to be applied ot the template during the creation of a view."},"type":{"type":"reference","name":"Object"}},{"id":770,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"reference","name":"ViewFactory","id":764}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1526,"character":17}]},{"id":765,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1526,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":780,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":781,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"parameters":[{"id":782,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":783,"name":"createInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction used to customize view creation."},"type":{"type":"reference","name":"ViewCreateInstruction","id":8}},{"id":784,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The custom element that hosts the view."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1562,"character":8}]},{"id":775,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":776,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1547,"character":15}]},{"id":777,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":778,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":779,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1553,"character":19}]},{"id":771,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":772,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":773,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"string"}]}},{"id":774,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1541,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[766]},{"title":"Properties","kind":1024,"children":[765]},{"title":"Methods","kind":2048,"children":[780,775,777,771]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1521,"character":32}]},{"id":421,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":422,"name":"viewStrategyMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing/finding view strategies associated with an class/object."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1009,"character":32}],"type":{"type":"intrinsic","name":"any"}},{"id":429,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":430,"name":"convertOriginToViewUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Conventionally converts a view model origin to a view url.\nUsed by the ConventionalViewStrategy.","returns":"The view url.\n"},"parameters":[{"id":431,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to convert."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1032,"character":24}]},{"id":426,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":427,"name":"createFallbackViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a fallback View Strategy. Used when unable to locate a configured strategy.\nThe default implementation returns and instance of ConventionalViewStrategy.","returns":"The fallback ViewStrategy.\n"},"parameters":[{"id":428,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to return the strategy for."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ViewStrategy","id":11}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1024,"character":28}]},{"id":423,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":424,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the view strategy for the value.","returns":"The located ViewStrategy instance.\n"},"parameters":[{"id":425,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value to locate the view strategy for."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"ViewStrategy","id":11}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1016,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[422]},{"title":"Methods","kind":2048,"children":[429,426,423]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1004,"character":32}]},{"id":584,"name":"ViewResources","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a collection of resources used during the compilation of a view.\nWill optinally add information to an existing HtmlBehaviorResource if given"},"children":[{"id":590,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":591,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":592,"name":"parent","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The parent resources. This resources can override them, but if a resource is not found, it will be looked up in the parent."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":593,"name":"viewUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The url of the view to which these resources apply.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ViewResources","id":584}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1141,"character":23}]},{"id":589,"name":"bindingLanguage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A custom binding language used in the view."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1141,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":645,"name":"autoRegister","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":646,"name":"autoRegister","kind":4096,"kindString":"Call signature","flags":{},"comment":{"returns":"\n","tags":[{"tag":"internal","text":"\nNot supported for public use. Can be changed without warning.\n\nAuto register a resources based on its metadata or convention\nWill fallback to custom element if no metadata found and all conventions fail"}]},"parameters":[{"id":647,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":648,"name":"impl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1264,"character":14}]},{"id":621,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":622,"name":"getAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML attribute behavior.","returns":"The HtmlBehaviorResource for the attribute or null.\n"},"parameters":[{"id":623,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1210,"character":14}]},{"id":635,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":636,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":637,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1238,"character":20}]},{"id":597,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":598,"name":"getBindingLanguage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the binding language associated with these resources, or return the provided fallback implementation.","returns":"The binding language.\n"},"parameters":[{"id":599,"name":"bindingLanguageFallback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The fallback binding language implementation to use if no binding language is configured locally."},"type":{"type":"reference","name":"BindingLanguage","id":432}}],"type":{"type":"reference","name":"BindingLanguage","id":432}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1161,"character":20}]},{"id":610,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":611,"name":"getElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML element behavior.","returns":"The HtmlBehaviorResource for the tag name or null.\n"},"parameters":[{"id":612,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag name to search for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1188,"character":12}]},{"id":642,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":643,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":644,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1252,"character":10}]},{"id":628,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":629,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":630,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1224,"character":19}]},{"id":613,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":614,"name":"mapAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the known attribute name based on the local attribute name.","returns":"The known name.\n"},"parameters":[{"id":615,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The local attribute name to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1195,"character":14}]},{"id":600,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":601,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":602,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1167,"character":15}]},{"id":616,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":617,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":618,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":619,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":620,"name":"knownAttribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The well-known name of the attribute (in lieu of the local name).\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1203,"character":19}]},{"id":631,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":632,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":633,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}},{"id":634,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1231,"character":25}]},{"id":606,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":607,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":608,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"intrinsic","name":"string"}},{"id":609,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1181,"character":17}]},{"id":638,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":639,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":640,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}},{"id":641,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1245,"character":15}]},{"id":624,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":625,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":626,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}},{"id":627,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1217,"character":24}]},{"id":594,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":595,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":596,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","name":"ViewEngineHooks","id":36}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1154,"character":25}]},{"id":603,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":604,"name":"relativeToView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a path relative to the associated view's origin.","returns":"The calcualted path.\n"},"parameters":[{"id":605,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1174,"character":16}]},{"id":585,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":586,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided class contains any resource conventions"},"parameters":[{"id":587,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Target class to extract metadata based on convention"},"type":{"type":"reference","name":"Function"}},{"id":588,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If supplied, all custom element / attribute metadata extracted from convention will be apply to this instance\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":939},{"type":"reference","name":"ValueConverterResource"},{"type":"reference","name":"BindingBehaviorResource"},{"type":"reference","name":"ViewEngineHooksResource","id":206}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1136,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[590]},{"title":"Properties","kind":1024,"children":[589]},{"title":"Methods","kind":2048,"children":[645,621,635,597,610,642,628,613,600,616,631,606,638,624,594,603,585]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1129,"character":34}]},{"id":691,"name":"ViewSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a slot or location within the DOM to which views can be added and removed.\nManages the view lifecycle for its children."},"children":[{"id":692,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":693,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":694,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM node which will server as the anchor or container for insertion."},"type":{"type":"reference","name":"Node"}},{"id":695,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"intrinsic","name":"boolean"}},{"id":696,"name":"animator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The animator that will controll enter/leave transitions for this slot.\n"},"type":{"type":"reference","name":"Animator","id":156}}],"type":{"type":"reference","name":"ViewSlot","id":691}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1369,"character":31}]},{"id":709,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":710,"name":"add","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a view to the slot.","returns":"May return a promise if the view addition triggered an animation.\n"},"parameters":[{"id":711,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1410,"character":5}]},{"id":697,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":698,"name":"animateView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":" Runs the animator against the first animatable element found within the view's fragment\n @param view The view to use when searching for the element.\n @param direction The animation direction enter|leave.\n @returns An animation complete Promise or undefined if no animation was run."},"parameters":[{"id":699,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}},{"id":700,"name":"direction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1385,"character":13}]},{"id":739,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":740,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1465,"character":10}]},{"id":703,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":704,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":705,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":706,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1398,"character":6}]},{"id":741,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":742,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1470,"character":10}]},{"id":712,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":713,"name":"insert","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts a view into the slot.","returns":"May return a promise if the view insertion triggered an animation.\n"},"parameters":[{"id":714,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":715,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1418,"character":8}]},{"id":716,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":717,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":718,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"intrinsic","name":"any"}},{"id":719,"name":"targetIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index to insert the view at.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1425,"character":6}]},{"id":743,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":744,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":745,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1471,"character":11}]},{"id":720,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":721,"name":"remove","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":722,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":649}},{"id":723,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":724,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":649}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1434,"character":8}]},{"id":735,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":736,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all views from the slot.","returns":"May return a promise if the view removals triggered an animation.\n"},"parameters":[{"id":737,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":738,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1460,"character":11}]},{"id":730,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":731,"name":"removeAt","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view an a specified index from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":732,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":733,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":734,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":649}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1452,"character":10}]},{"id":725,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":726,"name":"removeMany","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes many views from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":727,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"array","elementType":{"type":"reference","name":"View","id":649}}},{"id":728,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the views be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":729,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1443,"character":12}]},{"id":701,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":702,"name":"transformChildNodesIntoView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Takes the child nodes of an existing element that has been converted into a ViewSlot\nand makes those nodes into a View within the slot."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1391,"character":29}]},{"id":707,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":708,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1403,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[692]},{"title":"Methods","kind":2048,"children":[709,697,739,703,741,712,716,743,720,735,730,725,701,707]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1369,"character":29}]},{"id":121,"name":"ComponentAttached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the attached convention."},"children":[{"id":122,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":123,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when the component is attached to the DOM (in document)."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":320,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[122]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":315,"character":42}]},{"id":116,"name":"ComponentBind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the bind convention."},"children":[{"id":117,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":118,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when databinding is activated on the view and view-model.\nThe \"binding context\" to which the component is being bound will be passed first.\nAn \"override context\" will be passed second. The override context contains information used to traverse\nthe parent hierarchy and can also be used to add any contextual properties that the component wants to add."},"parameters":[{"id":119,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":120,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":306,"character":6}]}],"groups":[{"title":"Methods","kind":2048,"children":[117]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":298,"character":38}]},{"id":111,"name":"ComponentCreated","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the created convention."},"children":[{"id":112,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":113,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the constructor has been called.\nAt this point in time, the view has also been created and both the view-model and the view\nare connected to their controller. The hook will recieve the instance of the \"owningView\".\nThis is the view that the component is declared inside of. If the component itself has a view,\nthis will be passed second."},"parameters":[{"id":114,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}},{"id":115,"name":"myView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":289,"character":9}]}],"groups":[{"title":"Methods","kind":2048,"children":[112]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":280,"character":41}]},{"id":124,"name":"ComponentDetached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the detached convention."},"children":[{"id":125,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":126,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic if/when the component is removed from the the DOM."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":334,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[125]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":329,"character":42}]},{"id":127,"name":"ComponentUnbind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the unbind convention."},"children":[{"id":128,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":129,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the component is detached and unbound."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":348,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[128]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":343,"character":40}]},{"id":133,"name":"CompositionContext","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the composition engine how to dynamically compose a component."},"children":[{"id":136,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The context in which the view model is executed in."},"sources":[{"fileName":"aurelia-templating.d.ts","line":383,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":135,"name":"childContainer","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The child Container for the component creation. One will be created from the parent if not provided."},"sources":[{"fileName":"aurelia-templating.d.ts","line":378,"character":16}],"type":{"type":"reference","name":"Container"}},{"id":134,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent Container for the component creation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":373,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":146,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The element that will parent the dynamic component.\nIt will be registered in the child container of this composition."},"sources":[{"fileName":"aurelia-templating.d.ts","line":434,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":139,"name":"model","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Data to be passed to the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":398,"character":7}],"type":{"type":"intrinsic","name":"any"}},{"id":137,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":388,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":142,"name":"owningView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view inside which this composition is happening."},"sources":[{"fileName":"aurelia-templating.d.ts","line":413,"character":12}],"type":{"type":"reference","name":"View","id":649}},{"id":145,"name":"skipActivation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Should the composition system skip calling the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":428,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":143,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view url or view strategy to override the default view location convention."},"sources":[{"fileName":"aurelia-templating.d.ts","line":418,"character":6}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ViewStrategy","id":11}]}},{"id":138,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view model url or instance for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":393,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":140,"name":"viewModelResource","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The HtmlBehaviorResource for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":403,"character":19}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":141,"name":"viewResources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view resources for the view in which the component should be created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":408,"character":15}],"type":{"type":"reference","name":"ViewResources","id":584}},{"id":144,"name":"viewSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The slot to push the dynamically composed component into."},"sources":[{"fileName":"aurelia-templating.d.ts","line":423,"character":10}],"type":{"type":"reference","name":"ViewSlot","id":691}}],"groups":[{"title":"Properties","kind":1024,"children":[136,135,134,146,139,137,142,145,143,138,140,141,144]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":368,"character":43}]},{"id":130,"name":"DynamicComponentGetViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the getViewStrategy convention for dynamic components (used with the compose element or the router)."},"children":[{"id":131,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":132,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to provide custom view strategy when this component is used with the compose element or the router."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ViewStrategy","id":11}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":362,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[131]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":357,"character":56}]},{"id":150,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":154,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A binding context for the enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":464,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":151,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The DI container to use as the root for UI enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":449,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":152,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The element to enhance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":454,"character":9}],"type":{"type":"reference","name":"Element"}},{"id":155,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":469,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":153,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resources available for enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":459,"character":11}],"type":{"type":"reference","name":"ViewResources","id":584}}],"groups":[{"title":"Properties","kind":1024,"children":[154,151,152,155,153]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":444,"character":43}]},{"id":2,"name":"EventHandler","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4,"name":"bubbles","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":42,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":5,"name":"capture","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":43,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":6,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":44,"character":9}],"type":{"type":"reference","name":"Function"}},{"id":3,"name":"eventName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":41,"character":11}],"type":{"type":"intrinsic","name":"string"}},{"id":7,"name":"handler","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":45,"character":9}],"type":{"type":"reference","name":"Function"}}],"groups":[{"title":"Properties","kind":1024,"children":[4,5,6,3,7]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":40,"character":37}]},{"id":66,"name":"IBindablePropertyConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":{"id":73,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":74,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}},"children":[{"id":68,"name":"attribute","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":161,"character":11}],"type":{"type":"intrinsic","name":"string"}},{"id":70,"name":"changeHandler","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The name of a view model method to invoke when the property is updated."},"sources":[{"fileName":"aurelia-templating.d.ts","line":171,"character":15}],"type":{"type":"intrinsic","name":"string"}},{"id":69,"name":"defaultBindingMode","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The default binding mode of the property. If given string, will use to lookup"},"sources":[{"fileName":"aurelia-templating.d.ts","line":166,"character":20}],"type":{"type":"union","types":[{"type":"reference","name":"bindingMode"},{"type":"stringLiteral","value":"oneTime"},{"type":"stringLiteral","value":"oneWay"},{"type":"stringLiteral","value":"twoWay"},{"type":"stringLiteral","value":"fromView"},{"type":"stringLiteral","value":"toView"}]}},{"id":71,"name":"defaultValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A default value for the property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":176,"character":14}],"type":{"type":"intrinsic","name":"any"}},{"id":67,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The name of the property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":160,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":72,"name":"primaryProperty","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Designates the property as the default bindable property among all the other bindable properties when used in a custom attribute with multiple bindable properties."},"sources":[{"fileName":"aurelia-templating.d.ts","line":181,"character":17}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[68,70,69,71,67,72]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":155,"character":48}]},{"id":75,"name":"IStaticResourceConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":99,"name":"bindables","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"List of bindable properties of this custom element / custom attribute, by name or full config object"},"sources":[{"fileName":"aurelia-templating.d.ts","line":245,"character":11}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"reference","name":"IBindablePropertyConfig","id":66}}]}},{"id":83,"name":"containerless","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flag a custom element as containerless. Which will remove their render target"},"sources":[{"fileName":"aurelia-templating.d.ts","line":226,"character":15}],"type":{"type":"intrinsic","name":"boolean"}},{"id":79,"name":"defaultBindingMode","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Used to set default binding mode of default custom attribute view model \"value\" property"},"sources":[{"fileName":"aurelia-templating.d.ts","line":206,"character":20}],"type":{"type":"union","types":[{"type":"reference","name":"bindingMode"},{"type":"stringLiteral","value":"oneTime"},{"type":"stringLiteral","value":"oneWay"},{"type":"stringLiteral","value":"twoWay"},{"type":"stringLiteral","value":"fromView"},{"type":"stringLiteral","value":"toView"}]}},{"id":80,"name":"hasDynamicOptions","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flags a custom attribute has dynamic options"},"sources":[{"fileName":"aurelia-templating.d.ts","line":211,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":77,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Name of this resource. Reccommended to explicitly set to works better with minifier"},"sources":[{"fileName":"aurelia-templating.d.ts","line":196,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":84,"name":"processAttributes","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Custom processing of the attributes on an element before the framework inspects them."},"sources":[{"fileName":"aurelia-templating.d.ts","line":231,"character":19}],"type":{"type":"reflection","declaration":{"id":85,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":86,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":87,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":88,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":89,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":90,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NamedNodeMap"}},{"id":91,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":231,"character":21}]}}},{"id":92,"name":"processContent","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Enables custom processing of the content that is places inside the custom element by its consumer.\nPass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content."},"sources":[{"fileName":"aurelia-templating.d.ts","line":240,"character":16}],"type":{"type":"reflection","declaration":{"id":93,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":94,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":95,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":96,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":97,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":98,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":240,"character":18}]}}},{"id":82,"name":"shadowDOMOptions","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Options that will be used if the element is flagged with usesShadowDOM"},"sources":[{"fileName":"aurelia-templating.d.ts","line":221,"character":18}],"type":{"type":"reference","name":"ShadowRootInit"}},{"id":78,"name":"templateController","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Used to tell if a custom attribute is a template controller"},"sources":[{"fileName":"aurelia-templating.d.ts","line":201,"character":20}],"type":{"type":"intrinsic","name":"boolean"}},{"id":76,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Resource type of this class, omit equals to custom element"},"sources":[{"fileName":"aurelia-templating.d.ts","line":191,"character":6}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"element"},{"type":"stringLiteral","value":"attribute"},{"type":"stringLiteral","value":"valueConverter"},{"type":"stringLiteral","value":"bindingBehavior"},{"type":"stringLiteral","value":"viewEngineHooks"}]}},{"id":81,"name":"usesShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flag if this custom element uses native shadow dom instead of emulation"},"sources":[{"fileName":"aurelia-templating.d.ts","line":216,"character":15}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[99,83,79,80,77,84,92,82,78,76,81]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":186,"character":46}]},{"id":18,"name":"IStaticViewConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":20,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":81,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reflection","declaration":{"id":21,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":22,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Record","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"}]}]}]}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":81,"character":29}]}}]}},{"id":19,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":80,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[20,19]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":79,"character":42}]},{"id":147,"name":"IStaticViewStrategyConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":149,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":438,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reference","name":"__type"}]}},{"id":148,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":437,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[149,148]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":436,"character":50}]},{"id":26,"name":"LetBinding","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":27,"name":"sourceExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The expression to access/assign/connect the binding source property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":91,"character":18}],"type":{"type":"reference","name":"Expression"}},{"id":31,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":32,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Connects the binding to a scope."},"parameters":[{"id":33,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Scope"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":101,"character":6}]},{"id":34,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":35,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Disconnects the binding from a scope."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":106,"character":8}]},{"id":28,"name":"updateTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":29,"name":"updateTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Assigns a value to the target."},"parameters":[{"id":30,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":96,"character":14}]}],"groups":[{"title":"Properties","kind":1024,"children":[27]},{"title":"Methods","kind":2048,"children":[31,34,28]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":86,"character":35}]},{"id":23,"name":"LetExpression","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":24,"name":"createBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":25,"name":"createBinding","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"LetBinding","id":26}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":84,"character":15}]}],"groups":[{"title":"Methods","kind":2048,"children":[24]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":83,"character":38}]},{"id":8,"name":"ViewCreateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be created."},"children":[{"id":9,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Indicates that the view is being created by enhancing existing DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":56,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":10,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Specifies a key/value lookup of part replacements for the view being created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":61,"character":18}],"type":{"type":"reference","name":"Object"}}],"groups":[{"title":"Properties","kind":1024,"children":[9,10]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":51,"character":46}]},{"id":36,"name":"ViewEngineHooks","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"View engine hooks that enable a view resource to provide custom processing during the compilation or creation of a view."},"children":[{"id":43,"name":"afterCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a template is compiled.","tags":[{"tag":"param","text":"The view factory that was produced from the compilation process.\n","param":"viewFactory"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":126,"character":14}],"type":{"type":"reflection","declaration":{"id":44,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":45,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":46,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":764}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":126,"character":16}]}}},{"id":54,"name":"afterCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a view is created.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":141,"character":13}],"type":{"type":"reflection","declaration":{"id":55,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":56,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":57,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":141,"character":15}]}}},{"id":58,"name":"beforeBind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after the bindingContext and overrideContext are configured on the view but before the view is bound.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":147,"character":12}],"type":{"type":"reflection","declaration":{"id":59,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":60,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":61,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":147,"character":14}]}}},{"id":37,"name":"beforeCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a template is compiled.","tags":[{"tag":"param","text":"The DocumentFragment to compile.","param":"content"},{"tag":"param","text":"The resources to compile the view against.","param":"resources"},{"tag":"param","text":"The compilation instruction associated with the compilation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":15}],"type":{"type":"reflection","declaration":{"id":38,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":39,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":40,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":41,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":42,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":17}]}}},{"id":47,"name":"beforeCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a view is created.","tags":[{"tag":"param","text":"The view factory that will be used to create the view.","param":"viewFactory"},{"tag":"param","text":"The DI container used during view creation.","param":"container"},{"tag":"param","text":"The cloned document fragment representing the view.","param":"content"},{"tag":"param","text":"The view creation instruction associated with this creation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":135,"character":14}],"type":{"type":"reflection","declaration":{"id":48,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":49,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":50,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":51,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":52,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":53,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCreateInstruction","id":8}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":135,"character":16}]}}},{"id":62,"name":"beforeUnbind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before the view is unbind. The bindingContext and overrideContext are still available on the view.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":153,"character":14}],"type":{"type":"reflection","declaration":{"id":63,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":64,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":65,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":153,"character":16}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[43,54,58,37,47,62]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":112,"character":40}]},{"id":100,"name":"ViewNode","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the view hierarchy."},"children":[{"id":105,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":106,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":264,"character":10}]},{"id":101,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":102,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":103,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":104,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":259,"character":6}]},{"id":107,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":108,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":269,"character":10}]},{"id":109,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":274,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[105,101,107,109]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":252,"character":33}]},{"id":11,"name":"ViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Implemented by classes that describe how a view factory should be loaded."},"children":[{"id":12,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":14,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":15,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":16,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":17,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":77,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[12]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":67,"character":37}]},{"id":1035,"name":"SwapStrategies","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1978,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1020,"name":"animationEvent","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"List the events that an Animator should raise."},"sources":[{"fileName":"aurelia-templating.d.ts","line":475,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1024,"name":"viewStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Decorator: Indicates that the decorated class/object is a view strategy."},"sources":[{"fileName":"aurelia-templating.d.ts","line":856,"character":33}],"type":{"type":"reference","name":"Function"}},{"id":1039,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1040,"name":"behavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a custom HtmlBehaviorResource instance or an object that overrides various implementation details of the default HtmlBehaviorResource."},"parameters":[{"id":1041,"name":"override","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The customized HtmlBehaviorResource or an object to override the default with.\n"},"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":939},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2056,"character":32}]},{"id":1053,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1054,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":1055,"name":"nameOrConfigOrTarget","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the property, or a configuration object.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}},{"id":1056,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":1057,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2083,"character":32}]},{"id":1032,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1033,"name":"child","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an immediate content child element that matches the provided selector."},"parameters":[{"id":1034,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1977,"character":29}]},{"id":1029,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1030,"name":"children","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an array of immediate content child elements that matches the provided selector."},"parameters":[{"id":1031,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1972,"character":32}]},{"id":1070,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1071,"name":"containerless","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should be rendered without its\nelement container."},"parameters":[{"id":1072,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2117,"character":37}]},{"id":1045,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1046,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":1047,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":1048,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound with .bind."},"type":{"type":"intrinsic","name":"number"}},{"id":1049,"name":"aliases","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The array of aliases to associate to the custom attribute.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2070,"character":39}]},{"id":1042,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1043,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":1044,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2062,"character":37}]},{"id":1058,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1059,"name":"dynamicOptions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that the decorated custom attribute has options that\nare dynamic, based on their presence in HTML and not statically known."},"parameters":[{"id":1060,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2089,"character":38}]},{"id":1091,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1092,"name":"elementConfig","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class provides element configuration\nto the EventManager for one or more Web Components."},"parameters":[{"id":1093,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2157,"character":37}]},{"id":1079,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1080,"name":"inlineView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a view template, directly inline, for the component. Be\nsure to wrap the markup in a template element."},"parameters":[{"id":1081,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"intrinsic","name":"string"}},{"id":1082,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A list of dependencies that the template has."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":1083,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A base url from which the dependencies will be loaded.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2138,"character":34}]},{"id":1084,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1085,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":1086,"name":"targetOrDependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Array","typeArguments":[{"type":"intrinsic","name":"any"}]}]}},{"id":1087,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2143,"character":30}]},{"id":1064,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1065,"name":"processAttributes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the attributes on an element before the framework inspects them."},"parameters":[{"id":1066,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a function which can provide custom processing of the content.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2101,"character":41}]},{"id":1067,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1068,"name":"processContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the content that is places inside the\ncustom element by its consumer."},"parameters":[{"id":1069,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Function"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2111,"character":38}]},{"id":1036,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1037,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":1038,"name":"instanceOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resource instance.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2050,"character":32}]},{"id":1050,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1051,"name":"templateController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Applied to custom attributes. Indicates that whatever element the\nattribute is placed on should be converted into a template and that this\nattribute controls the instantiation of the template."},"parameters":[{"id":1052,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2077,"character":42}]},{"id":1061,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1062,"name":"useShadowDOM","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should render its view in Shadow\nDOM. This decorator may change slightly when Aurelia updates to Shadow DOM v1."},"parameters":[{"id":1063,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2095,"character":36}]},{"id":1076,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1077,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":1078,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to the view.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2129,"character":31}]},{"id":1073,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1074,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":1075,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2123,"character":39}]},{"id":1025,"name":"validateBehaviorName","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1026,"name":"validateBehaviorName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1027,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":1028,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1123,"character":44}]},{"id":1088,"name":"view","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1089,"name":"view","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the element use static view"},"parameters":[{"id":1090,"name":"templateOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","name":"IStaticViewStrategyConfig","id":147}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2151,"character":28}]},{"id":1021,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1022,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1023,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":602,"character":39}]},{"id":1094,"name":"viewResources","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1095,"name":"viewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides the ability to add resources to the related View\nSame as: "},"parameters":[{"id":1096,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"Either: strings with moduleIds, Objects with 'src' and optionally 'as' properties or one of the classes of the module to be included.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2164,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[156,268,900,923,432,746,977,199,185,191,874,360,991,224,939,393,827,371,463,347,810,249,795,555,509,453,405,303,382,1004,649,259,785,838,206,764,421,584,691]},{"title":"Interfaces","kind":256,"children":[121,116,111,124,127,133,130,150,2,66,75,18,147,26,23,8,36,100,11]},{"title":"Variables","kind":32,"children":[1035,1020,1024]},{"title":"Functions","kind":64,"children":[1039,1053,1032,1029,1070,1045,1042,1058,1091,1079,1084,1064,1067,1036,1050,1061,1076,1073,1025,1088,1021,1094]}]} \ No newline at end of file diff --git a/package.json b/package.json index 9f83b2e7..525c41e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "1.9.0", + "version": "1.10.0", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia",