diff --git a/core.567.!opt!google!chrome!chrome b/core.567.!opt!google!chrome!chrome new file mode 100644 index 00000000..0f5ce0cf Binary files /dev/null and b/core.567.!opt!google!chrome!chrome differ diff --git a/core.618.!opt!google!chrome!chrome b/core.618.!opt!google!chrome!chrome new file mode 100644 index 00000000..6c444283 Binary files /dev/null and b/core.618.!opt!google!chrome!chrome differ diff --git a/core.638.!opt!google!chrome!chrome b/core.638.!opt!google!chrome!chrome new file mode 100644 index 00000000..ab4280d5 Binary files /dev/null and b/core.638.!opt!google!chrome!chrome differ diff --git a/dist/amd/aurelia-templating.js b/dist/amd/aurelia-templating.js index bc46d244..1c3ad57f 100644 --- a/dist/amd/aurelia-templating.js +++ b/dist/amd/aurelia-templating.js @@ -73,7 +73,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _dec7, _class14, _dec8, _class15, _class16, _temp5, _dec9, _class17, _dec10, _class18, _dec11, _class19; + var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _class14, _temp5, _dec7, _class15, _dec8, _class16, _dec9, _class17; @@ -945,7 +945,9 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this.destinationName = destinationName; this.fallbackFactory = fallbackFactory; this.destinationSlot = null; + this.projections = 0; + this.contentView = null; var attr = new SlotCustomAttribute(this.anchor); @@ -1056,6 +1058,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this.fallbackFactory = fallbackFactory; this.contentView = null; this.projections = 0; + this.children = []; this.projectFromAnchors = null; this.destinationSlots = null; @@ -1101,6 +1104,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }); if (found) { var _children = found.auProjectionChildren; + var ownChildren = this.children; for (var i = 0, ii = _children.length; i < ii; ++i) { var _child = _children[i]; @@ -1109,7 +1113,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli _children.splice(i, 1); view.fragment.appendChild(_child); i--;ii--; + this.projections--; + var idx = ownChildren.indexOf(_child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } } @@ -1132,10 +1141,17 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (found) { var _children2 = found.auProjectionChildren; + var ownChildren = this.children; + for (var i = 0, ii = _children2.length; i < ii; ++i) { var _child2 = _children2[i]; _child2.auOwnerView.fragment.appendChild(_child2); + this.projections--; + var idx = ownChildren.indexOf(_child2); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } found.auProjectionChildren = []; @@ -2772,7 +2788,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var defaultLetHandler = BindingLanguage.prototype.createLetExpressions; - var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class14 = function () { + var ViewCompiler = exports.ViewCompiler = function () { + ViewCompiler.inject = function inject() { + return [BindingLanguage, ViewResources]; + }; + function ViewCompiler(bindingLanguage, resources) { @@ -3189,7 +3209,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return ViewCompiler; - }()) || _class14); + }(); var ResourceModule = exports.ResourceModule = function () { function ResourceModule(moduleId) { @@ -3478,7 +3498,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var auSlotBehavior = null; - var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () { + var ViewEngine = exports.ViewEngine = (_temp5 = _class14 = function () { + ViewEngine.inject = function inject() { + return [_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources]; + }; + function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3667,7 +3691,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return ViewEngine; - }(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15); + }(), _class14.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5); var Controller = exports.Controller = function () { function Controller(behavior, instruction, viewModel, container) { @@ -3840,7 +3864,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return Controller; }(); - var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class17 = function () { + var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec7 = (0, _aureliaBinding.subscriberCollection)(), _dec7(_class15 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -3902,7 +3926,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return BehaviorPropertyObserver; - }()) || _class17); + }()) || _class15); function getObserver(instance, name) { @@ -4833,7 +4857,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return context.viewModel.activate(context.model) || Promise.resolve(); } - var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class18 = function () { + var CompositionEngine = exports.CompositionEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec8(_class16 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -4999,7 +5023,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return CompositionEngine; - }()) || _class18); + }()) || _class16); var ElementConfigResource = exports.ElementConfigResource = function () { function ElementConfigResource() { @@ -5211,7 +5235,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; } - var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () { + var TemplatingEngine = exports.TemplatingEngine = (_dec9 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec9(_class17 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -5255,5 +5279,5 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return TemplatingEngine; - }()) || _class19); + }()) || _class17); }); \ No newline at end of file diff --git a/dist/aurelia-templating.d.ts b/dist/aurelia-templating.d.ts index a60f2f17..f18f3845 100644 --- a/dist/aurelia-templating.d.ts +++ b/dist/aurelia-templating.d.ts @@ -242,7 +242,7 @@ export declare interface IStaticResourceConfig { /** * List of bindable properties of this custom element / custom attribute, by name or full config object */ - bindables?: string | IBindablePropertyConfig[]; + bindables?: Array; } /* eslint no-unused-vars: 0, no-constant-condition: 0 */ @@ -1085,14 +1085,58 @@ export declare class SlotCustomAttribute { } export declare class PassThroughSlot { constructor(anchor?: any, name?: any, destinationName?: any, fallbackFactory?: any); + + /** + * Indicate whether this slot should render fallback default slot content + */ needsFallbackRendering: any; + + /** + * @param {View} view + * @param {Node[]} nodes + * @param {ViewSlot} projectionSource + * @param {number} index + */ renderFallbackContent(view?: any, nodes?: any, projectionSource?: any, index?: any): any; + + /** + * @param {PassThroughSlot | ShadowSlot} destinationSlot + */ passThroughTo(destinationSlot?: any): any; + + /** + * @param {View} view + * @param {Node} node + * @param {ViewSlot} projectionSource + * @param {number} index + */ addNode(view?: any, node?: any, projectionSource?: any, index?: any): any; + + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ removeView(view?: any, projectionSource?: any): any; + + /** + * @param {ViewSlot} projectionSource + */ removeAll(projectionSource?: any): any; + + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ projectFrom(view?: any, projectionSource?: any): any; + + /** + * @param {View} ownerView + */ created(ownerView?: any): any; + + /** + * @param {View} view + */ bind(view?: any): any; attached(): any; detached(): any; @@ -1101,13 +1145,54 @@ export declare class PassThroughSlot { export declare class ShadowSlot { constructor(anchor?: any, name?: any, fallbackFactory?: any); needsFallbackRendering: any; + + /** + * @param {View} view + * @param {Node} node + * @param {ViewSlot} projectionSource + * @param {number} index + * @param {string} destination + */ addNode(view?: any, node?: any, projectionSource?: any, index?: any, destination?: any): any; + + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ removeView(view?: any, projectionSource?: any): any; + + /** + * @param {ViewSlot} projectionSource + */ removeAll(projectionSource?: any): any; + + /** + * @param {Record} slots + */ projectTo(slots?: any): any; + + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ projectFrom(view?: any, projectionSource?: any): any; + + /** + * @param {View} view + * @param {Node[]} nodes + * @param {ViewSlot} projectionSource + * @param {number} index + */ renderFallbackContent(view?: any, nodes?: any, projectionSource?: any, index?: any): any; + + /** + * @param {View} ownerView + */ created(ownerView?: any): any; + + /** + * @param {View} view + */ bind(view?: any): any; attached(): any; detached(): any; @@ -1116,9 +1201,38 @@ export declare class ShadowSlot { export declare class ShadowDOM { static defaultSlotKey: any; static getSlotName(node?: any): any; + + /** + * @param {View} view + * @param {Record} slots + * @param {ViewSlot} projectionSource + * @param {number} index + * @param {string} destinationOverride + */ static distributeView(view?: any, slots?: any, projectionSource?: any, index?: any, destinationOverride?: any): any; + + /** + * @param {View} view + * @param {Record} slots + * @param {ViewSlot} projectionSource + */ static undistributeView(view?: any, slots?: any, projectionSource?: any): any; + + /** + * @param {Record} slots + * @param {ViewSlot} projectionSource + */ static undistributeAll(slots?: any, projectionSource?: any): any; + + /** + * Distrbiute nodes of a projected view based on + * @param {View} view + * @param {Node[]} nodes + * @param {Record} slots + * @param {ViewSlot} projectionSource + * @param {number} index + * @param {string} destinationOverride + */ static distributeNodes(view?: any, nodes?: any, slots?: any, projectionSource?: any, index?: any, destinationOverride?: any): any; } export declare function validateBehaviorName(name: string, type: string): any; @@ -1567,6 +1681,7 @@ export declare class ViewFactory { * Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views. */ export declare class ViewCompiler { + static inject(): any; /** * Creates an instance of ViewCompiler. @@ -1684,6 +1799,7 @@ export declare class ModuleAnalyzer { * Controls the view resource loading pipeline. */ export declare class ViewEngine { + static inject(): any; /** * The metadata key for storing requires declared in a ViewModel. diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js index 01b2c028..92002867 100644 --- a/dist/aurelia-templating.js +++ b/dist/aurelia-templating.js @@ -1290,17 +1290,30 @@ export class PassThroughSlot { this.destinationName = destinationName; this.fallbackFactory = fallbackFactory; this.destinationSlot = null; + /** + * The number of Node that has been projected by this slot + */ this.projections = 0; + /**@type {View} */ this.contentView = null; let attr = new SlotCustomAttribute(this.anchor); attr.value = this.destinationName; } + /** + * Indicate whether this slot should render fallback default slot content + */ get needsFallbackRendering() { return this.fallbackFactory && this.projections === 0; } + /** + * @param {View} view + * @param {Node[]} nodes + * @param {ViewSlot} projectionSource + * @param {number} index + */ renderFallbackContent(view, nodes, projectionSource, index) { if (this.contentView === null) { this.contentView = this.fallbackFactory.create(this.ownerView.container); @@ -1313,10 +1326,19 @@ export class PassThroughSlot { } } + /** + * @param {PassThroughSlot | ShadowSlot} destinationSlot + */ passThroughTo(destinationSlot) { this.destinationSlot = destinationSlot; } + /** + * @param {View} view + * @param {Node} node + * @param {ViewSlot} projectionSource + * @param {number} index + */ addNode(view, node, projectionSource, index) { if (this.contentView !== null) { this.contentView.removeNodes(); @@ -1334,6 +1356,10 @@ export class PassThroughSlot { this.destinationSlot.addNode(view, node, projectionSource, index); } + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ removeView(view, projectionSource) { this.projections--; this.destinationSlot.removeView(view, projectionSource); @@ -1343,6 +1369,9 @@ export class PassThroughSlot { } } + /** + * @param {ViewSlot} projectionSource + */ removeAll(projectionSource) { this.projections = 0; this.destinationSlot.removeAll(projectionSource); @@ -1352,14 +1381,24 @@ export class PassThroughSlot { } } + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ projectFrom(view, projectionSource) { this.destinationSlot.projectFrom(view, projectionSource); } + /** + * @param {View} ownerView + */ created(ownerView) { this.ownerView = ownerView; } + /** + * @param {View} view + */ bind(view) { if (this.contentView) { this.contentView.bind(view.bindingContext, view.overrideContext); @@ -1394,6 +1433,10 @@ export class ShadowSlot { this.fallbackFactory = fallbackFactory; this.contentView = null; this.projections = 0; + /** + * A list of nodes that keeps track of projected nodes through this shadow slot + * @type {Node[]} + */ this.children = []; this.projectFromAnchors = null; this.destinationSlots = null; @@ -1403,6 +1446,13 @@ export class ShadowSlot { return this.fallbackFactory && this.projections === 0; } + /** + * @param {View} view + * @param {Node} node + * @param {ViewSlot} projectionSource + * @param {number} index + * @param {string} destination + */ addNode(view, node, projectionSource, index, destination) { if (this.contentView !== null) { this.contentView.removeNodes(); @@ -1432,15 +1482,21 @@ export class ShadowSlot { } } + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ removeView(view, projectionSource) { if (this.destinationSlots !== null) { ShadowDOM.undistributeView(view, this.destinationSlots, this); } else if (this.contentView && this.contentView.hasSlots) { ShadowDOM.undistributeView(view, this.contentView.slots, projectionSource); } else { + // find the anchor associated with the viewslot of this shadow slot let found = this.children.find(x => x.auSlotProjectFrom === projectionSource); if (found) { let children = found.auProjectionChildren; + let ownChildren = this.children; for (let i = 0, ii = children.length; i < ii; ++i) { let child = children[i]; @@ -1449,7 +1505,14 @@ export class ShadowSlot { children.splice(i, 1); view.fragment.appendChild(child); i--; ii--; + + // remove track of "unprojected" child + // thanks to Thomas Darling https://github.com/aurelia/templating-resources/issues/392 this.projections--; + let idx = ownChildren.indexOf(child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } } @@ -1460,6 +1523,9 @@ export class ShadowSlot { } } + /** + * @param {ViewSlot} projectionSource + */ removeAll(projectionSource) { if (this.destinationSlots !== null) { ShadowDOM.undistributeAll(this.destinationSlots, this); @@ -1469,11 +1535,21 @@ export class ShadowSlot { let found = this.children.find(x => x.auSlotProjectFrom === projectionSource); if (found) { + /**@type {Node} */ let children = found.auProjectionChildren; + let ownChildren = this.children; + for (let i = 0, ii = children.length; i < ii; ++i) { let child = children[i]; child.auOwnerView.fragment.appendChild(child); + + // remove track of "unprojected" child + // thanks to Thomas Darling https://github.com/aurelia/templating-resources/issues/392 this.projections--; + let idx = ownChildren.indexOf(child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } found.auProjectionChildren = []; @@ -1485,9 +1561,15 @@ export class ShadowSlot { } } + /** + * @param {View} view + * @param {Node} node + * @param {ViewSlot} projectionSource + * @param {number} index + */ _findAnchor(view, node, projectionSource, index) { if (projectionSource) { - //find the anchor associated with the projected view slot + // find the anchor associated with the projected view slot let found = this.children.find(x => x.auSlotProjectFrom === projectionSource); if (found) { if (index !== undefined) { @@ -1518,10 +1600,17 @@ export class ShadowSlot { return this.anchor; } + /** + * @param {Record} slots + */ projectTo(slots) { this.destinationSlots = slots; } + /** + * @param {View} view + * @param {ViewSlot} projectionSource + */ projectFrom(view, projectionSource) { let anchor = DOM.createComment('anchor'); let parent = this.anchor.parentNode; @@ -1538,6 +1627,12 @@ export class ShadowSlot { this.projectFromAnchors.push(anchor); } + /** + * @param {View} view + * @param {Node[]} nodes + * @param {ViewSlot} projectionSource + * @param {number} index + */ renderFallbackContent(view, nodes, projectionSource, index) { if (this.contentView === null) { this.contentView = this.fallbackFactory.create(this.ownerView.container); @@ -1565,10 +1660,16 @@ export class ShadowSlot { } } + /** + * @param {View} ownerView + */ created(ownerView) { this.ownerView = ownerView; } + /** + * @param {View} view + */ bind(view) { if (this.contentView) { this.contentView.bind(view.bindingContext, view.overrideContext); @@ -1605,6 +1706,13 @@ export class ShadowDOM { return node.auSlotAttribute.value; } + /** + * @param {View} view + * @param {Record} slots + * @param {ViewSlot} projectionSource + * @param {number} index + * @param {string} destinationOverride + */ static distributeView(view, slots, projectionSource, index, destinationOverride) { let nodes; @@ -1630,18 +1738,36 @@ export class ShadowDOM { ); } + /** + * @param {View} view + * @param {Record} slots + * @param {ViewSlot} projectionSource + */ static undistributeView(view, slots, projectionSource) { for (let slotName in slots) { slots[slotName].removeView(view, projectionSource); } } + /** + * @param {Record} slots + * @param {ViewSlot} projectionSource + */ static undistributeAll(slots, projectionSource) { for (let slotName in slots) { slots[slotName].removeAll(projectionSource); } } + /** + * Distrbiute nodes of a projected view based on + * @param {View} view + * @param {Node[]} nodes + * @param {Record} slots + * @param {ViewSlot} projectionSource + * @param {number} index + * @param {string} destinationOverride + */ static distributeNodes(view, nodes, slots, projectionSource, index, destinationOverride) { for (let i = 0, ii = nodes.length; i < ii; ++i) { let currentNode = nodes[i]; @@ -1819,7 +1945,7 @@ interface IStaticResourceConfig { /** * List of bindable properties of this custom element / custom attribute, by name or full config object */ - bindables?: (string | IBindablePropertyConfig)[]; + bindables?: Array; } export function validateBehaviorName(name: string, type: string) { @@ -3028,6 +3154,9 @@ export class ViewSlot { this.children.forEach(view => ShadowDOM.distributeView(view, slots, this)); } + /** + * @param {View} view + */ _projectionAdd(view) { ShadowDOM.distributeView(view, this.projectToSlots, this); @@ -3038,6 +3167,10 @@ export class ViewSlot { } } + /** + * @param {number} index + * @param {View} view + */ _projectionInsert(index, view) { if ((index === 0 && !this.children.length) || index >= this.children.length) { this.add(view); @@ -3052,6 +3185,10 @@ export class ViewSlot { } } + /** + * @param {number} sourceIndex + * @param {number} targetIndex + */ _projectionMove(sourceIndex, targetIndex) { if (sourceIndex === targetIndex) { return; @@ -3067,6 +3204,10 @@ export class ViewSlot { children.splice(targetIndex, 0, view); } + /** + * @param {View} view + * @param {boolean} returnToCache + */ _projectionRemove(view, returnToCache) { ShadowDOM.undistributeView(view, this.projectToSlots, this); this.children.splice(this.children.indexOf(view), 1); @@ -3079,6 +3220,10 @@ export class ViewSlot { } } + /** + * @param {number} index + * @param {boolean} returnToCache + */ _projectionRemoveAt(index, returnToCache) { let view = this.children[index]; @@ -3093,10 +3238,17 @@ export class ViewSlot { } } + /** + * @param {View[]} viewsToRemove + * @param {boolean} returnToCache + */ _projectionRemoveMany(viewsToRemove, returnToCache?) { viewsToRemove.forEach(view => this.remove(view, returnToCache)); } + /** + * @param {boolean} returnToCache + */ _projectionRemoveAll(returnToCache) { ShadowDOM.undistributeAll(this.projectToSlots, this); @@ -3649,8 +3801,12 @@ const defaultLetHandler = BindingLanguage.prototype.createLetExpressions; /** * Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views. */ -@inject(BindingLanguage, ViewResources) export class ViewCompiler { + + static inject() { + return [BindingLanguage, ViewResources]; + } + /** * Creates an instance of ViewCompiler. * @param bindingLanguage The default data binding language and syntax used during view compilation. @@ -4440,8 +4596,12 @@ let auSlotBehavior = null; /** * Controls the view resource loading pipeline. */ -@inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources) export class ViewEngine { + + static inject() { + return [Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources]; + } + /** * The metadata key for storing requires declared in a ViewModel. */ @@ -5659,6 +5819,7 @@ export class HtmlBehaviorResource { let behavior; let derived = target; + // eslint-disable-next-line no-constant-condition while (true) { let proto = Object.getPrototypeOf(target.prototype); target = proto && proto.constructor; diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js index 4bcf1a90..81ae5059 100644 --- a/dist/commonjs/aurelia-templating.js +++ b/dist/commonjs/aurelia-templating.js @@ -9,7 +9,7 @@ var _createClass = function () { function defineProperties(target, props) { for var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; -var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _dec7, _class14, _dec8, _class15, _class16, _temp5, _dec9, _class17, _dec10, _class18, _dec11, _class19; +var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _class14, _temp5, _dec7, _class15, _dec8, _class16, _dec9, _class17; exports._hyphenate = _hyphenate; exports._isAllWhitespace = _isAllWhitespace; @@ -926,7 +926,9 @@ var PassThroughSlot = exports.PassThroughSlot = function () { this.destinationName = destinationName; this.fallbackFactory = fallbackFactory; this.destinationSlot = null; + this.projections = 0; + this.contentView = null; var attr = new SlotCustomAttribute(this.anchor); @@ -1037,6 +1039,7 @@ var ShadowSlot = exports.ShadowSlot = function () { this.fallbackFactory = fallbackFactory; this.contentView = null; this.projections = 0; + this.children = []; this.projectFromAnchors = null; this.destinationSlots = null; @@ -1082,6 +1085,7 @@ var ShadowSlot = exports.ShadowSlot = function () { }); if (found) { var _children = found.auProjectionChildren; + var ownChildren = this.children; for (var i = 0, ii = _children.length; i < ii; ++i) { var _child = _children[i]; @@ -1090,7 +1094,12 @@ var ShadowSlot = exports.ShadowSlot = function () { _children.splice(i, 1); view.fragment.appendChild(_child); i--;ii--; + this.projections--; + var idx = ownChildren.indexOf(_child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } } @@ -1113,10 +1122,17 @@ var ShadowSlot = exports.ShadowSlot = function () { if (found) { var _children2 = found.auProjectionChildren; + var ownChildren = this.children; + for (var i = 0, ii = _children2.length; i < ii; ++i) { var _child2 = _children2[i]; _child2.auOwnerView.fragment.appendChild(_child2); + this.projections--; + var idx = ownChildren.indexOf(_child2); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } found.auProjectionChildren = []; @@ -2753,7 +2769,11 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI var defaultLetHandler = BindingLanguage.prototype.createLetExpressions; -var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class14 = function () { +var ViewCompiler = exports.ViewCompiler = function () { + ViewCompiler.inject = function inject() { + return [BindingLanguage, ViewResources]; + }; + function ViewCompiler(bindingLanguage, resources) { @@ -3170,7 +3190,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti }; return ViewCompiler; -}()) || _class14); +}(); var ResourceModule = exports.ResourceModule = function () { function ResourceModule(moduleId) { @@ -3459,7 +3479,11 @@ var ProxyViewFactory = function () { var auSlotBehavior = null; -var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () { +var ViewEngine = exports.ViewEngine = (_temp5 = _class14 = function () { + ViewEngine.inject = function inject() { + return [_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources]; + }; + function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3648,7 +3672,7 @@ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.i }; return ViewEngine; -}(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15); +}(), _class14.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5); var Controller = exports.Controller = function () { function Controller(behavior, instruction, viewModel, container) { @@ -3821,7 +3845,7 @@ var Controller = exports.Controller = function () { return Controller; }(); -var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class17 = function () { +var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec7 = (0, _aureliaBinding.subscriberCollection)(), _dec7(_class15 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -3883,7 +3907,7 @@ var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _ }; return BehaviorPropertyObserver; -}()) || _class17); +}()) || _class15); function getObserver(instance, name) { @@ -4814,7 +4838,7 @@ function tryActivateViewModel(context) { return context.viewModel.activate(context.model) || Promise.resolve(); } -var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class18 = function () { +var CompositionEngine = exports.CompositionEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec8(_class16 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -4980,7 +5004,7 @@ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDepend }; return CompositionEngine; -}()) || _class18); +}()) || _class16); var ElementConfigResource = exports.ElementConfigResource = function () { function ElementConfigResource() { @@ -5192,7 +5216,7 @@ function viewResources() { }; } -var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () { +var TemplatingEngine = exports.TemplatingEngine = (_dec9 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec9(_class17 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -5236,4 +5260,4 @@ var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependen }; return TemplatingEngine; -}()) || _class19); \ No newline at end of file +}()) || _class17); \ No newline at end of file diff --git a/dist/es2015/aurelia-templating.js b/dist/es2015/aurelia-templating.js index 303e4503..efd98065 100644 --- a/dist/es2015/aurelia-templating.js +++ b/dist/es2015/aurelia-templating.js @@ -1,4 +1,4 @@ -var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _dec7, _class14, _dec8, _class15, _class16, _temp5, _dec9, _class17, _dec10, _class18, _dec11, _class19; +var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _class14, _temp5, _dec7, _class15, _dec8, _class16, _dec9, _class17; import * as LogManager from 'aurelia-logging'; import { metadata, Origin, protocol } from 'aurelia-metadata'; @@ -769,7 +769,9 @@ export let PassThroughSlot = class PassThroughSlot { this.destinationName = destinationName; this.fallbackFactory = fallbackFactory; this.destinationSlot = null; + this.projections = 0; + this.contentView = null; let attr = new SlotCustomAttribute(this.anchor); @@ -873,6 +875,7 @@ export let ShadowSlot = class ShadowSlot { this.fallbackFactory = fallbackFactory; this.contentView = null; this.projections = 0; + this.children = []; this.projectFromAnchors = null; this.destinationSlots = null; @@ -920,6 +923,7 @@ export let ShadowSlot = class ShadowSlot { let found = this.children.find(x => x.auSlotProjectFrom === projectionSource); if (found) { let children = found.auProjectionChildren; + let ownChildren = this.children; for (let i = 0, ii = children.length; i < ii; ++i) { let child = children[i]; @@ -928,7 +932,12 @@ export let ShadowSlot = class ShadowSlot { children.splice(i, 1); view.fragment.appendChild(child); i--;ii--; + this.projections--; + let idx = ownChildren.indexOf(child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } } @@ -949,10 +958,17 @@ export let ShadowSlot = class ShadowSlot { if (found) { let children = found.auProjectionChildren; + let ownChildren = this.children; + for (let i = 0, ii = children.length; i < ii; ++i) { let child = children[i]; child.auOwnerView.fragment.appendChild(child); + this.projections--; + let idx = ownChildren.indexOf(child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } found.auProjectionChildren = []; @@ -2515,7 +2531,12 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI const defaultLetHandler = BindingLanguage.prototype.createLetExpressions; -export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class14 = class ViewCompiler { +export let ViewCompiler = class ViewCompiler { + + static inject() { + return [BindingLanguage, ViewResources]; + } + constructor(bindingLanguage, resources) { this.bindingLanguage = bindingLanguage; this.resources = resources; @@ -2928,7 +2949,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 } } } -}) || _class14); +}; export let ResourceModule = class ResourceModule { constructor(moduleId) { @@ -3195,7 +3216,12 @@ let ProxyViewFactory = class ProxyViewFactory { let auSlotBehavior = null; -export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = class ViewEngine { +export let ViewEngine = (_temp5 = _class14 = class ViewEngine { + + static inject() { + return [Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources]; + } + constructor(loader, container, viewCompiler, moduleAnalyzer, appResources) { this.loader = loader; this.container = container; @@ -3366,7 +3392,7 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA return id; } -}, _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15); +}, _class14.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5); export let Controller = class Controller { constructor(behavior, instruction, viewModel, container) { @@ -3535,7 +3561,7 @@ export let Controller = class Controller { } }; -export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class17 = class BehaviorPropertyObserver { +export let BehaviorPropertyObserver = (_dec7 = subscriberCollection(), _dec7(_class15 = class BehaviorPropertyObserver { constructor(taskQueue, obj, propertyName, selfSubscriber, initialValue) { this.taskQueue = taskQueue; this.obj = obj; @@ -3593,7 +3619,7 @@ export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_cl unsubscribe(context, callable) { this.removeSubscriber(context, callable); } -}) || _class17); +}) || _class15); function getObserver(instance, name) { let lookup = instance.__observers__; @@ -4486,7 +4512,7 @@ function tryActivateViewModel(context) { return context.viewModel.activate(context.model) || Promise.resolve(); } -export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class18 = class CompositionEngine { +export let CompositionEngine = (_dec8 = inject(ViewEngine, ViewLocator), _dec8(_class16 = class CompositionEngine { constructor(viewEngine, viewLocator) { this.viewEngine = viewEngine; this.viewLocator = viewLocator; @@ -4630,7 +4656,7 @@ export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 return Promise.resolve(null); } -}) || _class18); +}) || _class16); export let ElementConfigResource = class ElementConfigResource { initialize(container, target) {} @@ -4833,7 +4859,7 @@ export function viewResources(...resources) { }; } -export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = class TemplatingEngine { +export let TemplatingEngine = (_dec9 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec9(_class17 = class TemplatingEngine { constructor(container, moduleAnalyzer, viewCompiler, compositionEngine) { this._container = container; this._moduleAnalyzer = moduleAnalyzer; @@ -4873,4 +4899,4 @@ export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo return view; } -}) || _class19); \ No newline at end of file +}) || _class17); \ No newline at end of file diff --git a/dist/native-modules/aurelia-templating.js b/dist/native-modules/aurelia-templating.js index 11c5a387..0564c83f 100644 --- a/dist/native-modules/aurelia-templating.js +++ b/dist/native-modules/aurelia-templating.js @@ -2,7 +2,7 @@ var _createClass = function () { function defineProperties(target, props) { for var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; -var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _dec7, _class14, _dec8, _class15, _class16, _temp5, _dec9, _class17, _dec10, _class18, _dec11, _class19; +var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _class14, _temp5, _dec7, _class15, _dec8, _class16, _dec9, _class17; @@ -887,7 +887,9 @@ export var PassThroughSlot = function () { this.destinationName = destinationName; this.fallbackFactory = fallbackFactory; this.destinationSlot = null; + this.projections = 0; + this.contentView = null; var attr = new SlotCustomAttribute(this.anchor); @@ -998,6 +1000,7 @@ export var ShadowSlot = function () { this.fallbackFactory = fallbackFactory; this.contentView = null; this.projections = 0; + this.children = []; this.projectFromAnchors = null; this.destinationSlots = null; @@ -1043,6 +1046,7 @@ export var ShadowSlot = function () { }); if (found) { var _children = found.auProjectionChildren; + var ownChildren = this.children; for (var i = 0, ii = _children.length; i < ii; ++i) { var _child = _children[i]; @@ -1051,7 +1055,12 @@ export var ShadowSlot = function () { _children.splice(i, 1); view.fragment.appendChild(_child); i--;ii--; + this.projections--; + var idx = ownChildren.indexOf(_child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } } @@ -1074,10 +1083,17 @@ export var ShadowSlot = function () { if (found) { var _children2 = found.auProjectionChildren; + var ownChildren = this.children; + for (var i = 0, ii = _children2.length; i < ii; ++i) { var _child2 = _children2[i]; _child2.auOwnerView.fragment.appendChild(_child2); + this.projections--; + var idx = ownChildren.indexOf(_child2); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } found.auProjectionChildren = []; @@ -2713,7 +2729,11 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI var defaultLetHandler = BindingLanguage.prototype.createLetExpressions; -export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class14 = function () { +export var ViewCompiler = function () { + ViewCompiler.inject = function inject() { + return [BindingLanguage, ViewResources]; + }; + function ViewCompiler(bindingLanguage, resources) { @@ -3130,7 +3150,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 }; return ViewCompiler; -}()) || _class14); +}(); export var ResourceModule = function () { function ResourceModule(moduleId) { @@ -3419,7 +3439,11 @@ var ProxyViewFactory = function () { var auSlotBehavior = null; -export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () { +export var ViewEngine = (_temp5 = _class14 = function () { + ViewEngine.inject = function inject() { + return [Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources]; + }; + function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3608,7 +3632,7 @@ export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA }; return ViewEngine; -}(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15); +}(), _class14.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5); export var Controller = function () { function Controller(behavior, instruction, viewModel, container) { @@ -3781,7 +3805,7 @@ export var Controller = function () { return Controller; }(); -export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class17 = function () { +export var BehaviorPropertyObserver = (_dec7 = subscriberCollection(), _dec7(_class15 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -3843,7 +3867,7 @@ export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_cl }; return BehaviorPropertyObserver; -}()) || _class17); +}()) || _class15); function getObserver(instance, name) { var lookup = instance.__observers__; @@ -4773,7 +4797,7 @@ function tryActivateViewModel(context) { return context.viewModel.activate(context.model) || Promise.resolve(); } -export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class18 = function () { +export var CompositionEngine = (_dec8 = inject(ViewEngine, ViewLocator), _dec8(_class16 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -4939,7 +4963,7 @@ export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 }; return CompositionEngine; -}()) || _class18); +}()) || _class16); export var ElementConfigResource = function () { function ElementConfigResource() { @@ -5152,7 +5176,7 @@ export function viewResources() { }; } -export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () { +export var TemplatingEngine = (_dec9 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec9(_class17 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -5196,4 +5220,4 @@ export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo }; return TemplatingEngine; -}()) || _class19); \ No newline at end of file +}()) || _class17); \ No newline at end of file diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js index 3b012210..6bc49169 100644 --- a/dist/system/aurelia-templating.js +++ b/dist/system/aurelia-templating.js @@ -3,7 +3,7 @@ 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, Scope, Expression, ValueConverterResource, BindingBehaviorResource, camelCase, Binding, createOverrideContext, subscriberCollection, bindingMode, ObserverLocator, EventManager, Container, resolver, inject, TaskQueue, _createClass, _typeof, _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _dec7, _class14, _dec8, _class15, _class16, _temp5, _dec9, _class17, _dec10, _class18, _dec11, _class19, 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; + 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, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _class14, _temp5, _dec7, _class15, _dec8, _class16, _dec9, _class17, 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; @@ -1687,7 +1687,9 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- this.destinationName = destinationName; this.fallbackFactory = fallbackFactory; this.destinationSlot = null; + this.projections = 0; + this.contentView = null; var attr = new SlotCustomAttribute(this.anchor); @@ -1800,6 +1802,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- this.fallbackFactory = fallbackFactory; this.contentView = null; this.projections = 0; + this.children = []; this.projectFromAnchors = null; this.destinationSlots = null; @@ -1845,6 +1848,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }); if (found) { var _children = found.auProjectionChildren; + var ownChildren = this.children; for (var i = 0, ii = _children.length; i < ii; ++i) { var _child = _children[i]; @@ -1853,7 +1857,12 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- _children.splice(i, 1); view.fragment.appendChild(_child); i--;ii--; + this.projections--; + var idx = ownChildren.indexOf(_child); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } } @@ -1876,10 +1885,17 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- if (found) { var _children2 = found.auProjectionChildren; + var ownChildren = this.children; + for (var i = 0, ii = _children2.length; i < ii; ++i) { var _child2 = _children2[i]; _child2.auOwnerView.fragment.appendChild(_child2); + this.projections--; + var idx = ownChildren.indexOf(_child2); + if (idx > -1) { + ownChildren.splice(idx, 1); + } } found.auProjectionChildren = []; @@ -3192,7 +3208,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- lastAUTargetID = 0; defaultLetHandler = BindingLanguage.prototype.createLetExpressions; - _export('ViewCompiler', ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class14 = function () { + _export('ViewCompiler', ViewCompiler = function () { + ViewCompiler.inject = function inject() { + return [BindingLanguage, ViewResources]; + }; + function ViewCompiler(bindingLanguage, resources) { @@ -3609,7 +3629,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return ViewCompiler; - }()) || _class14)); + }()); _export('ViewCompiler', ViewCompiler); @@ -3898,7 +3918,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- auSlotBehavior = null; - _export('ViewEngine', ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () { + _export('ViewEngine', ViewEngine = (_temp5 = _class14 = function () { + ViewEngine.inject = function inject() { + return [Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources]; + }; + function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -4087,7 +4111,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return ViewEngine; - }(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15)); + }(), _class14.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)); _export('ViewEngine', ViewEngine); @@ -4264,7 +4288,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- _export('Controller', Controller); - _export('BehaviorPropertyObserver', BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class17 = function () { + _export('BehaviorPropertyObserver', BehaviorPropertyObserver = (_dec7 = subscriberCollection(), _dec7(_class15 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -4326,7 +4350,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return BehaviorPropertyObserver; - }()) || _class17)); + }()) || _class15)); _export('BehaviorPropertyObserver', BehaviorPropertyObserver); @@ -5143,7 +5167,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- _export('SwapStrategies', SwapStrategies); - _export('CompositionEngine', CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class18 = function () { + _export('CompositionEngine', CompositionEngine = (_dec8 = inject(ViewEngine, ViewLocator), _dec8(_class16 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -5309,7 +5333,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return CompositionEngine; - }()) || _class18)); + }()) || _class16)); _export('CompositionEngine', CompositionEngine); @@ -5335,7 +5359,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- defaultShadowDOMOptions = { mode: 'open' }; - _export('TemplatingEngine', TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () { + _export('TemplatingEngine', TemplatingEngine = (_dec9 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec9(_class17 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -5379,7 +5403,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return TemplatingEngine; - }()) || _class19)); + }()) || _class17)); _export('TemplatingEngine', TemplatingEngine); } diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index f368e2be..a6d5cfdb 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,11 +1,12 @@ -## [1.10.3](https://github.com/aurelia/templating/compare/1.10.1...1.10.3) (2019-03-27) +## [1.10.3](https://github.com/aurelia/templating/compare/1.10.1...1.10.3) (2020-01-24) ### Bug Fixes * **all:** change es2015 back to native-modules ([ea50719](https://github.com/aurelia/templating/commit/ea50719)) * **ElementEvents:** ElementEvents.defaultListenerOptions allows to set default options when subscribing to events ([f7e8e32](https://github.com/aurelia/templating/commit/f7e8e32)), closes [#657](https://github.com/aurelia/templating/issues/657) +* **shadow-dom:** prevent slot leak ([#678](https://github.com/aurelia/templating/issues/678)) ([9241dca](https://github.com/aurelia/templating/commit/9241dca)) diff --git a/doc/api.json b/doc/api.json index 2b15f0f2..50092923 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1 +1 @@ -{"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":269,"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":278,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":709,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":282,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":713,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":280,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":711,"character":12}],"type":{"type":"reference","name":"Object"}},{"id":276,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":707,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":271,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":702,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":279,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":710,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":283,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":714,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":270,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":701,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":274,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":705,"character":18}],"type":{"type":"intrinsic","name":"string"}},{"id":272,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":703,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":275,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":706,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":281,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":712,"character":6}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}},{"id":273,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":704,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":765}},{"id":277,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":284,"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":719,"character":15}],"type":{"type":"reference","name":"BehaviorInstruction","id":269}},{"id":295,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":296,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":297,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":298,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}}],"type":{"type":"reference","name":"BehaviorInstruction","id":269}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":749,"character":18}]},{"id":299,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":300,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":301,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":302,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":303,"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":765}}],"type":{"type":"reference","name":"BehaviorInstruction","id":269}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":758,"character":16}]},{"id":291,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":292,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":293,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":294,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}}],"type":{"type":"reference","name":"BehaviorInstruction","id":269}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":741,"character":16}]},{"id":285,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":286,"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":269}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":725,"character":16}]},{"id":287,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":288,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":289,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}},{"id":290,"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":269}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":733,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[278,282,280,276,271,279,283,270,274,272,275,281,273,277,284]},{"title":"Methods","kind":2048,"children":[295,299,291,285,287]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":700,"character":40}]},{"id":901,"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":902,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":903,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":904,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":905,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":906,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"intrinsic","name":"string"}},{"id":907,"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":908,"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":901}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1818,"character":47}]},{"id":914,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":915,"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":1844,"character":6}]},{"id":909,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":910,"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":1833,"character":10}]},{"id":911,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":912,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":913,"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":1839,"character":10}]},{"id":916,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":917,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":918,"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":919,"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":1851,"character":11}]},{"id":920,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":921,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":922,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"intrinsic","name":"any"}},{"id":923,"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":1858,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[902]},{"title":"Methods","kind":2048,"children":[914,909,911,916,920]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1818,"character":45}]},{"id":924,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":925,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":926,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":927,"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":924}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1864,"character":39}]},{"id":937,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":938,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":939,"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":901}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1892,"character":16}]},{"id":933,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":934,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":935,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":936,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1885,"character":10}]},{"id":928,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":929,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":930,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":931,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}},{"id":932,"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":1878,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[925]},{"title":"Methods","kind":2048,"children":[937,933,928]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1864,"character":37}]},{"id":433,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":440,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":441,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":442,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":443,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":444,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":445,"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":269}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1062,"character":28}]},{"id":446,"name":"createLetExpressions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":447,"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":448,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled"},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":449,"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":1071,"character":22}]},{"id":434,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":435,"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":436,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":437,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":438,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":439,"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":1052,"character":18}]},{"id":450,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":451,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":452,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":453,"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":1079,"character":20}]}],"groups":[{"title":"Methods","kind":2048,"children":[440,446,434,450]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1042,"character":36}]},{"id":747,"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":748,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":749,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":750,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":751,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":765}},{"id":752,"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":747}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1478,"character":39}]},{"id":755,"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":1497,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":753,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":754,"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":650}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1492,"character":8}]},{"id":760,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":761,"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":650}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1510,"character":15}]},{"id":762,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":763,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":764,"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":650}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1516,"character":19}]},{"id":756,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":757,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":758,"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":759,"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":1504,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[748]},{"title":"Properties","kind":1024,"children":[755]},{"title":"Methods","kind":2048,"children":[753,760,762,756]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1478,"character":37}]},{"id":978,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":979,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":980,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":981,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":839}},{"id":982,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":422}}],"type":{"type":"reference","name":"CompositionEngine","id":978}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1984,"character":40}]},{"id":989,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":990,"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":991,"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":650},{"type":"reference","name":"Controller","id":875}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2011,"character":9}]},{"id":983,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":984,"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":985,"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":875}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1997,"character":18}]},{"id":986,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":987,"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":988,"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":2004,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[979]},{"title":"Methods","kind":2048,"children":[989,983,986]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1984,"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":875,"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":879,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":880,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":881,"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":940}},{"id":882,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":269}},{"id":883,"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":884,"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":875}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1768,"character":13}]},{"id":876,"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":1757,"character":10}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}},{"id":878,"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":1768,"character":6}],"type":{"type":"reference","name":"View","id":650}},{"id":877,"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":1762,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":897,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":898,"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":1807,"character":10}]},{"id":888,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":889,"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":890,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":891,"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":650}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1791,"character":10}]},{"id":892,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":893,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":894,"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":1797,"character":6}]},{"id":885,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":886,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":887,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":650}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1783,"character":9}]},{"id":899,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":900,"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":1812,"character":10}]},{"id":895,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":896,"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":1802,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[879]},{"title":"Properties","kind":1024,"children":[876,878,877]},{"title":"Methods","kind":2048,"children":[897,888,892,885,899,895]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1752,"character":31}]},{"id":361,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":362,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":363,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":364,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":422}},{"id":365,"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":361}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":890,"character":47}]},{"id":366,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":367,"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":368,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":839}},{"id":369,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":260}},{"id":370,"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":250}},{"id":371,"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":765}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":907,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[362]},{"title":"Methods","kind":2048,"children":[366]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":890,"character":45}]},{"id":992,"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":993,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":994,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":995,"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":996,"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":2027,"character":12}]},{"id":1001,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1002,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":1003,"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":1004,"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":2044,"character":6}]},{"id":997,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":998,"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":999,"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":585}},{"id":1000,"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":2036,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[993,1001,997]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2019,"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":226,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":227,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":228,"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":613,"character":67}]},{"id":225,"name":"defaultListenerOptions","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":613,"character":31}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}},{"id":245,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":246,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":247,"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":641,"character":9}]},{"id":248,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":249,"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":646,"character":12}]},{"id":229,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":230,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":231,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"intrinsic","name":"string"}},{"id":232,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":233,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"boolean"}},{"id":234,"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":623,"character":9}]},{"id":235,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":236,"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":237,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":238,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":239,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":629,"character":11}]},{"id":240,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":241,"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":242,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":243,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":244,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":635,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[226]},{"title":"Properties","kind":1024,"children":[225]},{"title":"Methods","kind":2048,"children":[245,248,229,235,240]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":612,"character":34}]},{"id":940,"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":941,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":942,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1899,"character":43}]},{"id":947,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":948,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":949,"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":1917,"character":17}]},{"id":965,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":966,"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":967,"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":786}},{"id":968,"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":585}},{"id":969,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":970,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":269}},{"id":971,"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":1957,"character":9}]},{"id":972,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":973,"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":974,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":975,"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":269}},{"id":976,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":977,"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":875}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1967,"character":8}]},{"id":950,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":951,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":952,"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":953,"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":1925,"character":12}]},{"id":958,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":959,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":960,"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":961,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":962,"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":250}},{"id":963,"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":964,"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":940}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1946,"character":6}]},{"id":954,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":955,"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":956,"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":585}},{"id":957,"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":1934,"character":10}]},{"id":943,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":944,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":945,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"intrinsic","name":"string"}},{"id":946,"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":940}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1911,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[941]},{"title":"Methods","kind":2048,"children":[947,965,972,950,958,954,943]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1899,"character":41}]},{"id":394,"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":395,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":396,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":397,"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":398,"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":399,"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":394}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":960,"character":41}]},{"id":400,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":401,"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":402,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":839}},{"id":403,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":260}},{"id":404,"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":250}},{"id":405,"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":765}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":978,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[395]},{"title":"Methods","kind":2048,"children":[400]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":960,"character":39}]},{"id":828,"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":829,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":830,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":828}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1659,"character":37}]},{"id":834,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":835,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":836,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"intrinsic","name":"string"}},{"id":837,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"intrinsic","name":"any"}},{"id":838,"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":796}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1680,"character":9}]},{"id":831,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":832,"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":833,"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":796}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1671,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[829]},{"title":"Methods","kind":2048,"children":[834,831]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1659,"character":35}]},{"id":372,"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":373,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"signatures":[{"id":374,"name":"new NoViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"parameters":[{"id":375,"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":376,"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":372}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":914,"character":37}]},{"id":377,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":378,"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":379,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":839}},{"id":380,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":260}},{"id":381,"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":250}},{"id":382,"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":765}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":931,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[373]},{"title":"Methods","kind":2048,"children":[377]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":914,"character":35}]},{"id":464,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":465,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":466,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":467,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":468,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":469,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":470,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":464}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1086,"character":38}]},{"id":471,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1088,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":481,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":482,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":483,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":484,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":485,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":486,"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":1091,"character":9}]},{"id":504,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":505,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1097,"character":10}]},{"id":501,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":502,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":503,"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":1096,"character":6}]},{"id":498,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":499,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":500,"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":1095,"character":9}]},{"id":506,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":507,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1098,"character":10}]},{"id":478,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":479,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":480,"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":1090,"character":15}]},{"id":494,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":495,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":496,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":497,"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":1094,"character":13}]},{"id":491,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":492,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":493,"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":11}]},{"id":487,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":488,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":489,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":490,"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":12}]},{"id":472,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":473,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":474,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":475,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":476,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":477,"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":1089,"character":23}]},{"id":508,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":509,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1099,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[465]},{"title":"Properties","kind":1024,"children":[471]},{"title":"Methods","kind":2048,"children":[481,504,501,498,506,478,494,491,487,472,508]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1086,"character":36}]},{"id":348,"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":349,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":350,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":351,"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":348}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":862,"character":43}]},{"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":839}},{"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":260}},{"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":250}},{"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":765}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":878,"character":17}]},{"id":358,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":359,"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":360,"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":884,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[349]},{"title":"Methods","kind":2048,"children":[352,358]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":862,"character":41}]},{"id":811,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":812,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":813,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":814,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"intrinsic","name":"string"}},{"id":815,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"intrinsic","name":"any"}},{"id":816,"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":811}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1624,"character":42}]},{"id":817,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":818,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":819,"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":1638,"character":12}]},{"id":824,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":825,"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":826,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":827,"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":250}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1653,"character":6}]},{"id":820,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":821,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":822,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":823,"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":1645,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[812]},{"title":"Methods","kind":2048,"children":[817,824,820]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1624,"character":40}]},{"id":250,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":252,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":253,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":250}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":653,"character":23}]},{"id":251,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":653,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":254,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":255,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":256,"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":664,"character":15}]},{"id":257,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":258,"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":259,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":670,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[252]},{"title":"Properties","kind":1024,"children":[251]},{"title":"Methods","kind":2048,"children":[254,257]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":40}]},{"id":796,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":797,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":798,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":799,"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":796}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1591,"character":37}]},{"id":800,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":801,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":802,"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":1603,"character":12}]},{"id":807,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":808,"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":809,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":810,"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":250}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1618,"character":6}]},{"id":803,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":804,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":805,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":806,"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":1610,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[797]},{"title":"Methods","kind":2048,"children":[800,807,803]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1591,"character":35}]},{"id":556,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":557,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1117,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":577,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":578,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":579,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":580,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":581,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":582,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":583,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":584,"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":1122,"character":24}]},{"id":561,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":562,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":563,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":564,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":565,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":566,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":567,"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":1119,"character":23}]},{"id":558,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":559,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":560,"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":1118,"character":20}]},{"id":573,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":574,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":575,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":576,"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":1121,"character":24}]},{"id":568,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":569,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":570,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":571,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":572,"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":25}]}],"groups":[{"title":"Properties","kind":1024,"children":[557]},{"title":"Methods","kind":2048,"children":[577,561,558,573,568]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1116,"character":30}]},{"id":510,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":511,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":512,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":513,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":514,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":515,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":510}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1101,"character":33}]},{"id":516,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1103,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":517,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":518,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":519,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":520,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":521,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":522,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":523,"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":1104,"character":9}]},{"id":550,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":551,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1112,"character":10}]},{"id":547,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":548,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":549,"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":1111,"character":6}]},{"id":544,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":545,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":546,"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":1110,"character":9}]},{"id":552,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":553,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1113,"character":10}]},{"id":534,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":535,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":536,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":537,"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":1108,"character":13}]},{"id":531,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":532,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":533,"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":1107,"character":11}]},{"id":528,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":529,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":530,"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":1106,"character":11}]},{"id":524,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":525,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":526,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":527,"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":12}]},{"id":538,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":539,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":540,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":541,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":542,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":543,"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":1109,"character":23}]},{"id":554,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":555,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1114,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[511]},{"title":"Properties","kind":1024,"children":[516]},{"title":"Methods","kind":2048,"children":[517,550,547,544,552,534,531,528,524,538,554]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1101,"character":31}]},{"id":454,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":457,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":458,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":459,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":454}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1082,"character":23}]},{"id":460,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":461,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":462,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":463,"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":1084,"character":14}]},{"id":455,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":456,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1082,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[457]},{"title":"Methods","kind":2048,"children":[460,455]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1081,"character":40}]},{"id":406,"name":"StaticViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":413,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":414,"name":"new StaticViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":415,"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":406}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":988,"character":23}]},{"id":408,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":986,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reflection","declaration":{"id":409,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":410,"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":986,"character":28}]}}]}},{"id":412,"name":"factory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":988,"character":9}],"type":{"type":"reference","name":"ViewFactory","id":765}},{"id":411,"name":"factoryIsReady","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":407,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":983,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}},{"id":416,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":417,"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":418,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":839}},{"id":419,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":260}},{"id":420,"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":250}},{"id":421,"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":765}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":999,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[413]},{"title":"Properties","kind":1024,"children":[408,412,411,407]},{"title":"Methods","kind":2048,"children":[416]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":980,"character":39}]},{"id":304,"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":316,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":784,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":313,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":781,"character":22}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":269}]}},{"id":310,"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":774,"character":19}],"type":{"type":"intrinsic","name":"any"}},{"id":317,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":785,"character":20}],"type":{"type":"reference","name":"BehaviorInstruction","id":269}},{"id":312,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":780,"character":13}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":305,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":765,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":311,"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":779,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":318,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":786,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":306,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":766,"character":18}],"type":{"type":"intrinsic","name":"number"}},{"id":314,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":782,"character":11}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":307,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":767,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":309,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":769,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":308,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":768,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":319,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":787,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":315,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":783,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":765}},{"id":320,"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":792,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":324,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":325,"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":326,"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":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":806,"character":26}]},{"id":327,"name":"letElement","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":328,"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":329,"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":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":818,"character":19}]},{"id":330,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":331,"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":332,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":333,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":269}}],"type":{"type":"reference","name":"TargetInstruction","id":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":826,"character":16}]},{"id":334,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":335,"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":336,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":337,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":338,"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":339,"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":269}]}},{"id":340,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":341,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":269}}],"type":{"type":"reference","name":"TargetInstruction","id":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":838,"character":15}]},{"id":321,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":322,"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":323,"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":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":799,"character":19}]},{"id":342,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":343,"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":344,"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":345,"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":269}]}},{"id":346,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":347,"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":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":848,"character":18}]}],"groups":[{"title":"Properties","kind":1024,"children":[316,313,310,317,312,305,311,318,306,314,307,309,308,319,315,320]},{"title":"Methods","kind":2048,"children":[324,327,330,334,321,342]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":764,"character":38}]},{"id":383,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":384,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":385,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":386,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"intrinsic","name":"string"}},{"id":387,"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":383}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":937,"character":51}]},{"id":388,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":389,"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":390,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":839}},{"id":391,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":260}},{"id":392,"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":250}},{"id":393,"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":765}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":954,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[384]},{"title":"Methods","kind":2048,"children":[388]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":937,"character":49}]},{"id":1005,"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":1006,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":1007,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":1008,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":1009,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":828}},{"id":1010,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":786}},{"id":1011,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":978}}],"type":{"type":"reference","name":"TemplatingEngine","id":1005}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2174,"character":39}]},{"id":1015,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1016,"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":1017,"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":650},{"type":"reference","name":"Controller","id":875}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2197,"character":9}]},{"id":1012,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1013,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":1014,"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":2189,"character":19}]},{"id":1018,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1019,"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":1020,"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":650}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2205,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[1006]},{"title":"Methods","kind":2048,"children":[1015,1012,1018]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2174,"character":37}]},{"id":650,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":657,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":658,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":659,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":660,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":765}},{"id":661,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":662,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Controller","id":875}}},{"id":663,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}},{"id":664,"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":665,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":650}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1297,"character":25}]},{"id":654,"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":1287,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":651,"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":1272,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":656,"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":1297,"character":12}],"type":{"type":"reference","name":"Controller","id":875}},{"id":653,"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":1282,"character":10}],"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":655,"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":1292,"character":17}],"type":{"type":"reference","name":"Object"}},{"id":652,"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":1277,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":765}},{"id":675,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":676,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":677,"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":1331,"character":12}]},{"id":683,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":684,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":685,"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":1348,"character":15}]},{"id":688,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":689,"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":1358,"character":10}]},{"id":670,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":671,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":672,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":673,"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":674,"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":1325,"character":6}]},{"id":668,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":669,"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":1318,"character":9}]},{"id":690,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":691,"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":1363,"character":10}]},{"id":680,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":681,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":682,"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":1342,"character":19}]},{"id":686,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":687,"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":1353,"character":13}]},{"id":666,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":667,"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":1313,"character":15}]},{"id":678,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":679,"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":1336,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[657]},{"title":"Properties","kind":1024,"children":[654,651,656,653,655,652]},{"title":"Methods","kind":2048,"children":[675,683,688,670,668,690,680,686,666,678]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1267,"character":25}]},{"id":260,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":265,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":266,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":267,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"intrinsic","name":"boolean"}},{"id":268,"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":260}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":684,"character":40}]},{"id":263,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":679,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":262,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":678,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":261,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":677,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":264,"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":684,"character":15}],"type":{"type":"reference","name":"ViewCompileInstruction","id":260}}],"groups":[{"title":"Constructors","kind":512,"children":[265]},{"title":"Properties","kind":1024,"children":[263,262,261,264]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":676,"character":43}]},{"id":786,"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":787,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":788,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":789,"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":433}},{"id":790,"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":585}}],"type":{"type":"reference","name":"ViewCompiler","id":786}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1569,"character":35}]},{"id":791,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":792,"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":793,"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":794,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":795,"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":260}}],"type":{"type":"reference","name":"ViewFactory","id":765}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1585,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[787]},{"title":"Methods","kind":2048,"children":[791]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1569,"character":33}]},{"id":839,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":841,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":842,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":843,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":844,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":845,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":786}},{"id":846,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":828}},{"id":847,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":585}}],"type":{"type":"reference","name":"ViewEngine","id":839}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1691,"character":42}]},{"id":840,"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":1691,"character":36}],"type":{"type":"intrinsic","name":"any"}},{"id":848,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":849,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":850,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"intrinsic","name":"string"}},{"id":851,"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":1708,"character":19}]},{"id":864,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":865,"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":866,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"intrinsic","name":"string"}},{"id":867,"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":811}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1736,"character":25}]},{"id":868,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":869,"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":870,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":871,"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":872,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":585}},{"id":873,"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":260}},{"id":874,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":250}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":585}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1746,"character":21}]},{"id":858,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":859,"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":860,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":861,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":260}},{"id":862,"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":250}},{"id":863,"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":585}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1728,"character":23}]},{"id":852,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":853,"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":854,"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":855,"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":260}},{"id":856,"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":250}},{"id":857,"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":765}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1718,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[841]},{"title":"Properties","kind":1024,"children":[840]},{"title":"Methods","kind":2048,"children":[848,864,868,858,852]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1686,"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":765,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":767,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":768,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":769,"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":770,"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":771,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":585}}],"type":{"type":"reference","name":"ViewFactory","id":765}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1527,"character":17}]},{"id":766,"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":1527,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":781,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":782,"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":783,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":784,"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":785,"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":650}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1563,"character":8}]},{"id":776,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":777,"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":650}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1548,"character":15}]},{"id":778,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":779,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":780,"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":650}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1554,"character":19}]},{"id":772,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":773,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":774,"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":775,"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":1542,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[767]},{"title":"Properties","kind":1024,"children":[766]},{"title":"Methods","kind":2048,"children":[781,776,778,772]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1522,"character":32}]},{"id":422,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":423,"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":1010,"character":32}],"type":{"type":"intrinsic","name":"any"}},{"id":430,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":431,"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":432,"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":1033,"character":24}]},{"id":427,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":428,"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":429,"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":1025,"character":28}]},{"id":424,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":425,"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":426,"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":1017,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[423]},{"title":"Methods","kind":2048,"children":[430,427,424]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1005,"character":32}]},{"id":585,"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":591,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":592,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":593,"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":585}},{"id":594,"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":585}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1142,"character":23}]},{"id":590,"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":1142,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":646,"name":"autoRegister","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":647,"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":648,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":649,"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":1265,"character":14}]},{"id":622,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":623,"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":624,"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":940}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1211,"character":14}]},{"id":636,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":637,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":638,"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":1239,"character":20}]},{"id":598,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":599,"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":600,"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":433}}],"type":{"type":"reference","name":"BindingLanguage","id":433}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1162,"character":20}]},{"id":611,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":612,"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":613,"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":940}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1189,"character":12}]},{"id":643,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":644,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":645,"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":1253,"character":10}]},{"id":629,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":630,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":631,"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":1225,"character":19}]},{"id":614,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":615,"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":616,"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":1196,"character":14}]},{"id":601,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":602,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":603,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":585}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1168,"character":15}]},{"id":617,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":618,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":619,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":620,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}},{"id":621,"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":1204,"character":19}]},{"id":632,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":633,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":634,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}},{"id":635,"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":1232,"character":25}]},{"id":607,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":608,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":609,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"intrinsic","name":"string"}},{"id":610,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":940}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1182,"character":17}]},{"id":639,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":640,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":641,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}},{"id":642,"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":1246,"character":15}]},{"id":625,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":626,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":627,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}},{"id":628,"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":1218,"character":24}]},{"id":595,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":596,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":597,"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":1155,"character":25}]},{"id":604,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":605,"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":606,"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":1175,"character":16}]},{"id":586,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":587,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided class contains any resource conventions"},"parameters":[{"id":588,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Target class to extract metadata based on convention"},"type":{"type":"reference","name":"Function"}},{"id":589,"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":940}}],"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":940},{"type":"reference","name":"ValueConverterResource"},{"type":"reference","name":"BindingBehaviorResource"},{"type":"reference","name":"ViewEngineHooksResource","id":206}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1137,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[591]},{"title":"Properties","kind":1024,"children":[590]},{"title":"Methods","kind":2048,"children":[646,622,636,598,611,643,629,614,601,617,632,607,639,625,595,604,586]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1130,"character":34}]},{"id":692,"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":693,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":694,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":695,"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":696,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"intrinsic","name":"boolean"}},{"id":697,"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":692}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1370,"character":31}]},{"id":710,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":711,"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":712,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":650}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1411,"character":5}]},{"id":698,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":699,"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":700,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":650}},{"id":701,"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":1386,"character":13}]},{"id":740,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":741,"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":1466,"character":10}]},{"id":704,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":705,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":706,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":707,"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":1399,"character":6}]},{"id":742,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":743,"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":1471,"character":10}]},{"id":713,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":714,"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":715,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":716,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":650}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1419,"character":8}]},{"id":717,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":718,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":719,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"intrinsic","name":"any"}},{"id":720,"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":1426,"character":6}]},{"id":744,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":745,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":746,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1472,"character":11}]},{"id":721,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":722,"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":723,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":650}},{"id":724,"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":725,"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":650},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":650}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1435,"character":8}]},{"id":736,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":737,"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":738,"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":739,"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":1461,"character":11}]},{"id":731,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":732,"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":733,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":734,"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":735,"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":650},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":650}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1453,"character":10}]},{"id":726,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":727,"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":728,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"array","elementType":{"type":"reference","name":"View","id":650}}},{"id":729,"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":730,"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":1444,"character":12}]},{"id":702,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":703,"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":1392,"character":29}]},{"id":708,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":709,"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":1404,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[693]},{"title":"Methods","kind":2048,"children":[710,698,740,704,742,713,717,744,721,736,731,726,702,708]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1370,"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":650}},{"id":115,"name":"myView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":650}}],"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":650}},{"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":940}},{"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":585}},{"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":692}}],"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":585}}],"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":786}},{"id":88,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":585}},{"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":269}}],"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":786}},{"id":96,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":585}},{"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":269}}],"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":765}}],"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":650}}],"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":650}}],"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":585}},{"id":42,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":260}}],"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":765}},{"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":650}}],"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":839}},{"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":260}},{"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":250}},{"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":765}]}}],"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":1036,"name":"SwapStrategies","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1979,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1021,"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":1025,"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":857,"character":33}],"type":{"type":"reference","name":"Function"}},{"id":1040,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1041,"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":1042,"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":940},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2057,"character":32}]},{"id":1054,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1055,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":1056,"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":1057,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":1058,"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":2084,"character":32}]},{"id":1033,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1034,"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":1035,"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":1978,"character":29}]},{"id":1030,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1031,"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":1032,"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":1973,"character":32}]},{"id":1071,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1072,"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":1073,"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":2118,"character":37}]},{"id":1046,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1047,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":1048,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":1049,"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":1050,"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":2071,"character":39}]},{"id":1043,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1044,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":1045,"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":2063,"character":37}]},{"id":1059,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1060,"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":1061,"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":2090,"character":38}]},{"id":1092,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1093,"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":1094,"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":2158,"character":37}]},{"id":1080,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1081,"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":1082,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"intrinsic","name":"string"}},{"id":1083,"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":1084,"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":2139,"character":34}]},{"id":1085,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1086,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":1087,"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":1088,"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":2144,"character":30}]},{"id":1065,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1066,"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":1067,"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":2102,"character":41}]},{"id":1068,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1069,"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":1070,"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":2112,"character":38}]},{"id":1037,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1038,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":1039,"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":2051,"character":32}]},{"id":1051,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1052,"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":1053,"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":2078,"character":42}]},{"id":1062,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1063,"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":1064,"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":2096,"character":36}]},{"id":1077,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1078,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":1079,"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":2130,"character":31}]},{"id":1074,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1075,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":1076,"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":2124,"character":39}]},{"id":1026,"name":"validateBehaviorName","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1027,"name":"validateBehaviorName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1028,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":1029,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1124,"character":44}]},{"id":1089,"name":"view","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1090,"name":"view","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the element use static view"},"parameters":[{"id":1091,"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":2152,"character":28}]},{"id":1022,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1023,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1024,"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":1095,"name":"viewResources","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1096,"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":1097,"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":2165,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[156,269,901,924,433,747,978,199,185,191,875,361,992,224,940,394,828,372,464,348,811,250,796,556,510,454,406,304,383,1005,650,260,786,839,206,765,422,585,692]},{"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":[1036,1021,1025]},{"title":"Functions","kind":64,"children":[1040,1054,1033,1030,1071,1046,1043,1059,1092,1080,1085,1065,1068,1037,1051,1062,1077,1074,1026,1089,1022,1095]}]} \ No newline at end of file +{"name":"aurelia-templating","children":[{"id":157,"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":168,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":169,"name":"addClass","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":170,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":171,"name":"className","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":510,"character":10}]},{"id":172,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":173,"name":"animate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":174,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Element to animate"},"type":{"type":"union","types":[{"type":"reference","name":"HTMLElement"},{"type":"reference","typeArguments":[{"type":"reference","name":"HTMLElement"}],"name":"Array"}]}},{"id":175,"name":"className","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":519,"character":9}]},{"id":158,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":159,"name":"enter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Execute an 'enter' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":160,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":487,"character":7}]},{"id":161,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":162,"name":"leave","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Execute a 'leave' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":163,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":494,"character":7}]},{"id":179,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":180,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":181,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"identifier of the effect"},"type":{"type":"intrinsic","name":"string"}},{"id":182,"name":"properties","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":164,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":165,"name":"removeClass","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":166,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":167,"name":"className","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":502,"character":13}]},{"id":176,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":177,"name":"runSequence","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":178,"name":"animations","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Array"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":527,"character":13}]},{"id":183,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":184,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":185,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":[168,172,158,161,179,164,176,183]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":480,"character":29}]},{"id":270,"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":279,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":709,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":283,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":713,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":281,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":711,"character":12}],"type":{"type":"reference","name":"Object"}},{"id":277,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":707,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":272,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":702,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":280,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":710,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":284,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":714,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":271,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":701,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":275,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":705,"character":18}],"type":{"type":"intrinsic","name":"string"}},{"id":273,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":703,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":276,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":706,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":282,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":712,"character":6}],"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}},{"id":274,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":704,"character":13}],"type":{"type":"reference","id":766,"name":"ViewFactory"}},{"id":278,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":285,"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":719,"character":15}],"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}},{"id":296,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":297,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":298,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":299,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":749,"character":18}]},{"id":300,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":301,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":302,"name":"host","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":303,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":304,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"A view factory used in generating the component's view."},"type":{"type":"reference","id":766,"name":"ViewFactory"}}],"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":758,"character":16}]},{"id":292,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":293,"name":"element","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":294,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":295,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":741,"character":16}]},{"id":286,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":287,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instruction for element enhancement.","returns":"The created instruction.\n"},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":725,"character":16}]},{"id":288,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":289,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":290,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}},{"id":291,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"A key/value lookup of attributes for the behaior."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":733,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[279,283,281,277,272,280,284,271,275,273,276,282,274,278,285]},{"title":"Methods","kind":2048,"children":[296,300,292,286,288]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":700,"character":40}]},{"id":906,"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":907,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":908,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":909,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":910,"name":"obj","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":911,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The name of the property."},"type":{"type":"intrinsic","name":"string"}},{"id":912,"name":"selfSubscriber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The callback function that notifies the object which defines the properties, if present."},"type":{"type":"reference","name":"Function"}},{"id":913,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The initial value of the property.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":906,"name":"BehaviorPropertyObserver"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1934,"character":47}]},{"id":919,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":920,"name":"call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1960,"character":6}]},{"id":914,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":915,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets the property's value."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1949,"character":10}]},{"id":916,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":917,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":918,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1955,"character":10}]},{"id":921,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":922,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":923,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"A context object to pass along to the subscriber when it's called."},"type":{"type":"intrinsic","name":"any"}},{"id":924,"name":"callable","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1967,"character":11}]},{"id":925,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":926,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":927,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"intrinsic","name":"any"}},{"id":928,"name":"callable","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1974,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[907]},{"title":"Methods","kind":2048,"children":[919,914,916,921,925]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1934,"character":45}]},{"id":929,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":930,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":931,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":932,"name":"nameOrConfig","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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","id":929,"name":"BindableProperty"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1980,"character":39}]},{"id":942,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":943,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":944,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view model instance on which to create the observer."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","id":906,"name":"BehaviorPropertyObserver"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2008,"character":16}]},{"id":938,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":939,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":940,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":941,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2001,"character":10}]},{"id":933,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":934,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":935,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":936,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}},{"id":937,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":1994,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[930]},{"title":"Methods","kind":2048,"children":[942,938,933]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1980,"character":37}]},{"id":434,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":441,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":442,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":443,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":444,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":445,"name":"info","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":446,"name":"existingInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A previously created instruction for this attribute."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1062,"character":28}]},{"id":447,"name":"createLetExpressions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":448,"name":"createLetExpressions","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates let expressions from a element","returns":"the expression array created from the element\n"},"parameters":[{"id":449,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The ViewResources for the view being compiled"},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":450,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the let element in the view template"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"array","elementType":{"type":"reference","id":23,"name":"LetExpression"}}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1071,"character":22}]},{"id":435,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":436,"name":"inspectAttribute","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Inspects an attribute for bindings.","returns":"An info object with the results of the inspection.\n"},"parameters":[{"id":437,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":438,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The element name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":439,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The attribute name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":440,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The attribute value to inspect."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1052,"character":18}]},{"id":451,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":452,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":453,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":454,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1079,"character":20}]}],"groups":[{"title":"Methods","kind":2048,"children":[441,447,435,451]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1042,"character":36}]},{"id":748,"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":749,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":750,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":751,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":752,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","id":766,"name":"ViewFactory"}},{"id":753,"name":"partReplacements","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Part replacement overrides for the internal factory.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","id":748,"name":"BoundViewFactory"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1592,"character":39}]},{"id":756,"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":1611,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":754,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":755,"name":"create","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"type":{"type":"reference","id":651,"name":"View"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1606,"character":8}]},{"id":761,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":762,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","id":651,"name":"View"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1624,"character":15}]},{"id":763,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":764,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":765,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","id":651,"name":"View"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1630,"character":19}]},{"id":757,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":758,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":759,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":760,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1618,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[749]},{"title":"Properties","kind":1024,"children":[756]},{"title":"Methods","kind":2048,"children":[754,761,763,757]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1592,"character":37}]},{"id":983,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":984,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":985,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":986,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":987,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":423,"name":"ViewLocator"}}],"type":{"type":"reference","id":983,"name":"CompositionEngine"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2100,"character":40}]},{"id":994,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":995,"name":"compose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Dynamically composes a component.","returns":"A Promise for the View or the Controller that results from the dynamic composition.\n"},"parameters":[{"id":996,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The CompositionContext providing information on how the composition should occur."},"type":{"type":"reference","id":133,"name":"CompositionContext"}}],"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"reference","id":651,"name":"View"},{"type":"reference","id":880,"name":"Controller"}]}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2127,"character":9}]},{"id":988,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":989,"name":"createController","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a controller instance for the component described in the context.","returns":"A Promise for the Controller.\n"},"parameters":[{"id":990,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","id":133,"name":"CompositionContext"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":880,"name":"Controller"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2113,"character":18}]},{"id":991,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":992,"name":"ensureViewModel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Ensures that the view model and its resource are loaded for this context.","returns":"A Promise for the context.\n"},"parameters":[{"id":993,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The CompositionContext to load the view model and its resource for."},"type":{"type":"reference","id":133,"name":"CompositionContext"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":133,"name":"CompositionContext"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2120,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[984]},{"title":"Methods","kind":2048,"children":[994,988,991]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2100,"character":38}]},{"id":200,"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":201,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":202,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","id":200,"name":"CompositionTransaction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":45}]},{"id":205,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":206,"name":"enlist","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Enlist an async render operation into the transaction.","returns":"A completion notifier.\n"},"type":{"type":"reference","id":186,"name":"CompositionTransactionNotifier"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":593,"character":8}]},{"id":203,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":204,"name":"tryCapture","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Attempt to take ownership of the composition transaction.","returns":"An ownership token if successful, otherwise null.\n"},"type":{"type":"reference","id":192,"name":"CompositionTransactionOwnershipToken"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":587,"character":12}]}],"groups":[{"title":"Constructors","kind":512,"children":[201]},{"title":"Methods","kind":2048,"children":[205,203]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":43}]},{"id":186,"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":187,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":188,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":189,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":186,"name":"CompositionTransactionNotifier"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":53}]},{"id":190,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":191,"name":"done","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":[187]},{"title":"Methods","kind":2048,"children":[190]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":51}]},{"id":192,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":193,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":194,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":195,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":192,"name":"CompositionTransactionOwnershipToken"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":558,"character":59}]},{"id":198,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":199,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":196,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":197,"name":"waitForCompositionComplete","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":565,"character":28}]}],"groups":[{"title":"Constructors","kind":512,"children":[193]},{"title":"Methods","kind":2048,"children":[198,196]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":558,"character":57}]},{"id":880,"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":884,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":885,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":886,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}},{"id":887,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}},{"id":888,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":889,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The container that the controller's view was created from.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","id":880,"name":"Controller"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1884,"character":13}]},{"id":881,"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":1873,"character":10}],"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}},{"id":883,"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":1884,"character":6}],"type":{"type":"reference","id":651,"name":"View"}},{"id":882,"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":1878,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":902,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":903,"name":"attached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Attaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1923,"character":10}]},{"id":893,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":894,"name":"automate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":895,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":896,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","id":651,"name":"View"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1907,"character":10}]},{"id":897,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":898,"name":"bind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":899,"name":"scope","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1913,"character":6}]},{"id":890,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":891,"name":"created","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":892,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","id":651,"name":"View"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1899,"character":9}]},{"id":904,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":905,"name":"detached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Detaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1928,"character":10}]},{"id":900,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":901,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1918,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[884]},{"title":"Properties","kind":1024,"children":[881,883,882]},{"title":"Methods","kind":2048,"children":[902,893,897,890,904,900]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1868,"character":31}]},{"id":362,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":363,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":364,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":365,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","id":423,"name":"ViewLocator"}},{"id":366,"name":"origin","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The origin of the view model to conventionally load the view for.\n"},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","id":362,"name":"ConventionalViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":890,"character":47}]},{"id":367,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":368,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":369,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":370,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":371,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":372,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":907,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[363]},{"title":"Methods","kind":2048,"children":[367]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":890,"character":45}]},{"id":997,"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":998,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":999,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":1000,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":1001,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":2143,"character":12}]},{"id":1006,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1007,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":1008,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":1009,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":2160,"character":6}]},{"id":1002,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1003,"name":"register","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":1004,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":1005,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":2152,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[998,1006,1002]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2135,"character":42}]},{"id":225,"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":227,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":228,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":229,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"EventTarget"}}],"type":{"type":"reference","id":225,"name":"ElementEvents"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":613,"character":67}]},{"id":226,"name":"defaultListenerOptions","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":613,"character":31}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}},{"id":246,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":247,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":248,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":641,"character":9}]},{"id":249,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":250,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":646,"character":12}]},{"id":230,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":231,"name":"publish","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":232,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"intrinsic","name":"string"}},{"id":233,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":234,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"boolean"}},{"id":235,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":623,"character":9}]},{"id":236,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":237,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Adds and Event Listener on the context element.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":238,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":239,"name":"handler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Function"}},{"id":240,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}}],"type":{"type":"reference","id":2,"name":"EventHandler"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":629,"character":11}]},{"id":241,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":242,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":243,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":244,"name":"handler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Function"}},{"id":245,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}}],"type":{"type":"reference","id":2,"name":"EventHandler"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":635,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[227]},{"title":"Properties","kind":1024,"children":[226]},{"title":"Methods","kind":2048,"children":[246,249,230,236,241]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":612,"character":34}]},{"id":945,"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":946,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":947,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2015,"character":43}]},{"id":952,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":953,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":954,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2033,"character":17}]},{"id":970,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":971,"name":"compile","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":972,"name":"compiler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The compiler that is currently compiling the view that this behavior exists within."},"type":{"type":"reference","id":787,"name":"ViewCompiler"}},{"id":973,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The resources for the view that this behavior exists within."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":974,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":975,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}},{"id":976,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":2073,"character":9}]},{"id":977,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":978,"name":"create","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of this behavior.","returns":"The Controller of this behavior.\n"},"parameters":[{"id":979,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":980,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The instruction for this behavior that was constructed during compilation."},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}},{"id":981,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":982,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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","id":880,"name":"Controller"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2083,"character":8}]},{"id":955,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":956,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":957,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":958,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":2041,"character":12}]},{"id":963,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":964,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":965,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":966,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":967,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context object provided by the view engine."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":968,"name":"viewStrategy","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A view strategy to overload the default strategy defined by the resource."},"type":{"type":"reference","id":11,"name":"ViewStrategy"}},{"id":969,"name":"transientView","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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","typeArguments":[{"type":"reference","id":945,"name":"HtmlBehaviorResource"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2062,"character":6}]},{"id":959,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":960,"name":"register","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":961,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":962,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":2050,"character":10}]},{"id":948,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":949,"name":"convention","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":950,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the potential resource."},"type":{"type":"intrinsic","name":"string"}},{"id":951,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"An already existing resource that may need a convention name applied.\n"},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2027,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[946]},{"title":"Methods","kind":2048,"children":[952,970,977,955,963,959,948]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2015,"character":41}]},{"id":395,"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":396,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":397,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":398,"name":"markup","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The markup for the view. Be sure to include the wrapping template tag."},"type":{"type":"intrinsic","name":"string"}},{"id":399,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}],"name":"Array"}},{"id":400,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":395,"name":"InlineViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":960,"character":41}]},{"id":401,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":402,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":403,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":404,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":405,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":406,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":978,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[396]},{"title":"Methods","kind":2048,"children":[401]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":960,"character":39}]},{"id":831,"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":832,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":833,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","id":831,"name":"ModuleAnalyzer"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1774,"character":37}]},{"id":837,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":838,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":839,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The id of the module to analyze."},"type":{"type":"intrinsic","name":"string"}},{"id":840,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The module instance to analyze."},"type":{"type":"intrinsic","name":"any"}},{"id":841,"name":"mainResourceKey","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The name of the main resource."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":799,"name":"ResourceModule"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1795,"character":9}]},{"id":834,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":835,"name":"getAnalysis","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Retrieves the ResourceModule analysis for a previously analyzed module.","returns":"The ResouceModule if found, undefined otherwise.\n"},"parameters":[{"id":836,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The id of the module to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":799,"name":"ResourceModule"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1786,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[832]},{"title":"Methods","kind":2048,"children":[837,834]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1774,"character":35}]},{"id":373,"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":374,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"signatures":[{"id":375,"name":"new NoViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"parameters":[{"id":376,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}],"name":"Array"}},{"id":377,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":373,"name":"NoViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":914,"character":37}]},{"id":378,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":379,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":380,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":381,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":382,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":383,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":931,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[374]},{"title":"Methods","kind":2048,"children":[378]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":914,"character":35}]},{"id":465,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":466,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":467,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":468,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":469,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":470,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":471,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":465,"name":"PassThroughSlot"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1086,"character":38}]},{"id":472,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicate whether this slot should render fallback default slot content"},"sources":[{"fileName":"aurelia-templating.d.ts","line":1092,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":482,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":483,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":484,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":485,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":486,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":487,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1113,"character":9}]},{"id":505,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":506,"name":"attached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1141,"character":10}]},{"id":502,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":503,"name":"bind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":504,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1140,"character":6}]},{"id":499,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":500,"name":"created","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":501,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1135,"character":9}]},{"id":507,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":508,"name":"detached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1142,"character":10}]},{"id":479,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":480,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":481,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1105,"character":15}]},{"id":495,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":496,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":497,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":498,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1130,"character":13}]},{"id":492,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":493,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":494,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1124,"character":11}]},{"id":488,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":489,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":490,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":491,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1119,"character":12}]},{"id":473,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":474,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":475,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":476,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":477,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":478,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1100,"character":23}]},{"id":509,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":510,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1143,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[466]},{"title":"Properties","kind":1024,"children":[472]},{"title":"Methods","kind":2048,"children":[482,505,502,499,507,479,495,492,488,473,509]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1086,"character":36}]},{"id":349,"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":350,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":351,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":352,"name":"path","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The relative path to the view.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":349,"name":"RelativeViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":862,"character":43}]},{"id":353,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":354,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":355,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":356,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":357,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":358,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":878,"character":17}]},{"id":359,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":360,"name":"makeRelativeTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Makes the view loaded by this strategy relative to the provided file path."},"parameters":[{"id":361,"name":"file","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":884,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[350]},{"title":"Methods","kind":2048,"children":[353,359]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":862,"character":41}]},{"id":814,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":815,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":816,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":817,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"intrinsic","name":"string"}},{"id":818,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The exported resource."},"type":{"type":"intrinsic","name":"any"}},{"id":819,"name":"resourceTypeMeta","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The metadata located on the resource.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","id":814,"name":"ResourceDescription"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1739,"character":42}]},{"id":820,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":821,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":822,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1753,"character":12}]},{"id":827,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":828,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads any dependencies of the resource.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":829,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":830,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}}],"type":{"type":"union","types":[{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1768,"character":6}]},{"id":823,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":824,"name":"register","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":825,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":826,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":1760,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[815]},{"title":"Methods","kind":2048,"children":[820,827,823]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1739,"character":40}]},{"id":251,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":253,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":254,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":653,"character":23}]},{"id":252,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":653,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":255,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":256,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":257,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":664,"character":15}]},{"id":258,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":259,"name":"hasDependency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":260,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":670,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[253]},{"title":"Properties","kind":1024,"children":[252]},{"title":"Methods","kind":2048,"children":[255,258]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":40}]},{"id":799,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":800,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":801,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":802,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The id of the module that contains view resources.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":799,"name":"ResourceModule"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1706,"character":37}]},{"id":803,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":804,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":805,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1718,"character":12}]},{"id":810,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":811,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads any dependencies of the resources within this module.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":812,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":813,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1733,"character":6}]},{"id":806,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":807,"name":"register","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":808,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":809,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":1725,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[800]},{"title":"Methods","kind":2048,"children":[803,810,806]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1706,"character":35}]},{"id":557,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":558,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1202,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":578,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":579,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Distrbiute nodes of a projected view based on"},"parameters":[{"id":580,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":581,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":582,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":583,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":584,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":585,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1236,"character":24}]},{"id":562,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":563,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":564,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":565,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":566,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":567,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":568,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1212,"character":23}]},{"id":559,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":560,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":561,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1203,"character":20}]},{"id":574,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":575,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":576,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":577,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1225,"character":24}]},{"id":569,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":570,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":571,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":572,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":573,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1219,"character":25}]}],"groups":[{"title":"Properties","kind":1024,"children":[558]},{"title":"Methods","kind":2048,"children":[578,562,559,574,569]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1201,"character":30}]},{"id":511,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":512,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":513,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":514,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":515,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":516,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":511,"name":"ShadowSlot"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1145,"character":33}]},{"id":517,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1147,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":518,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":519,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":520,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":521,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":522,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":523,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":524,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1156,"character":9}]},{"id":551,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":552,"name":"attached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1197,"character":10}]},{"id":548,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":549,"name":"bind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":550,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1196,"character":6}]},{"id":545,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":546,"name":"created","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":547,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1191,"character":9}]},{"id":553,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":554,"name":"detached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1198,"character":10}]},{"id":535,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":536,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":537,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":538,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1178,"character":13}]},{"id":532,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":533,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":534,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1172,"character":11}]},{"id":529,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":530,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":531,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1167,"character":11}]},{"id":525,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":526,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":527,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":528,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1162,"character":12}]},{"id":539,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":540,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":541,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":542,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":543,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":544,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1186,"character":23}]},{"id":555,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":556,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1199,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[512]},{"title":"Properties","kind":1024,"children":[517]},{"title":"Methods","kind":2048,"children":[518,551,548,545,553,535,532,529,525,539,555]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1145,"character":31}]},{"id":455,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":458,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":459,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":460,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":455,"name":"SlotCustomAttribute"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1082,"character":23}]},{"id":461,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":462,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":463,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":464,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1084,"character":14}]},{"id":456,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":457,"name":"inject","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1082,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[458]},{"title":"Methods","kind":2048,"children":[461,456]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1081,"character":40}]},{"id":407,"name":"StaticViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":414,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":415,"name":"new StaticViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":416,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","id":18,"name":"IStaticViewConfig"}]}}],"type":{"type":"reference","id":407,"name":"StaticViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":988,"character":23}]},{"id":413,"name":"factory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":988,"character":9}],"type":{"type":"reference","id":766,"name":"ViewFactory"}},{"id":412,"name":"factoryIsReady","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":417,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":418,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":419,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":420,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":421,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":422,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":999,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[414]},{"title":"Properties","kind":1024,"children":[413,412]},{"title":"Methods","kind":2048,"children":[417]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":980,"character":39}]},{"id":305,"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":317,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":784,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":314,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":781,"character":22}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":270,"name":"BehaviorInstruction"}],"name":"Array"}},{"id":311,"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":774,"character":19}],"type":{"type":"intrinsic","name":"any"}},{"id":318,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":785,"character":20}],"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}},{"id":313,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":780,"character":13}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Object"}],"name":"Array"}},{"id":306,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":765,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":312,"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":779,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":319,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":786,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":307,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":766,"character":18}],"type":{"type":"intrinsic","name":"number"}},{"id":315,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":782,"character":11}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Function"}],"name":"Array"}},{"id":308,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":767,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":310,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":769,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":309,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":768,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":320,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":787,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":316,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":783,"character":13}],"type":{"type":"reference","id":766,"name":"ViewFactory"}},{"id":321,"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":792,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":325,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":326,"name":"contentExpression","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instruction that represents a binding expression in the content of an element.","returns":"The created instruction.\n"},"parameters":[{"id":327,"name":"expression","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The binding expression."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":305,"name":"TargetInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":806,"character":26}]},{"id":328,"name":"letElement","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":329,"name":"letElement","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":330,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Object"}],"name":"Array"}}],"type":{"type":"reference","id":305,"name":"TargetInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":818,"character":19}]},{"id":331,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":332,"name":"lifting","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":333,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":334,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"type":{"type":"reference","id":305,"name":"TargetInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":826,"character":16}]},{"id":335,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":336,"name":"normal","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":337,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":338,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":339,"name":"providers","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Function"}],"name":"Array"}},{"id":340,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","typeArguments":[{"type":"reference","id":270,"name":"BehaviorInstruction"}],"name":"Array"}},{"id":341,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Object"}],"name":"Array"}},{"id":342,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"type":{"type":"reference","id":305,"name":"TargetInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":838,"character":15}]},{"id":322,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":323,"name":"shadowSlot","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instruction that represents a shadow dom slot.","returns":"The created instruction.\n"},"parameters":[{"id":324,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","id":305,"name":"TargetInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":799,"character":19}]},{"id":343,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":344,"name":"surrogate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instruction that represents the surrogate behaviors and bindings for an element.","returns":"The created instruction.\n"},"parameters":[{"id":345,"name":"providers","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Function"}],"name":"Array"}},{"id":346,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","typeArguments":[{"type":"reference","id":270,"name":"BehaviorInstruction"}],"name":"Array"}},{"id":347,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Object"}],"name":"Array"}},{"id":348,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"A key/value lookup of attributes to transplant."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","id":305,"name":"TargetInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":848,"character":18}]}],"groups":[{"title":"Properties","kind":1024,"children":[317,314,311,318,313,306,312,319,307,315,308,310,309,320,316,321]},{"title":"Methods","kind":2048,"children":[325,328,331,335,322,343]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":764,"character":38}]},{"id":384,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":385,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":386,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":387,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"intrinsic","name":"string"}},{"id":388,"name":"entry","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The template registry entry used in loading the view factory.\n"},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","id":384,"name":"TemplateRegistryViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":937,"character":51}]},{"id":389,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":390,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":391,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":392,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":393,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":394,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":954,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[385]},{"title":"Methods","kind":2048,"children":[389]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":937,"character":49}]},{"id":1010,"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":1011,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":1012,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":1013,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":1014,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","id":831,"name":"ModuleAnalyzer"}},{"id":1015,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","id":787,"name":"ViewCompiler"}},{"id":1016,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","id":983,"name":"CompositionEngine"}}],"type":{"type":"reference","id":1010,"name":"TemplatingEngine"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2290,"character":39}]},{"id":1020,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1021,"name":"compose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":1022,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The composition context to use."},"type":{"type":"reference","id":133,"name":"CompositionContext"}}],"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"reference","id":651,"name":"View"},{"type":"reference","id":880,"name":"Controller"}]}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2313,"character":9}]},{"id":1017,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1018,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":1019,"name":"animator","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","id":157,"name":"Animator"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2305,"character":19}]},{"id":1023,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1024,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":1025,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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","id":151,"name":"EnhanceInstruction"}]}}],"type":{"type":"reference","id":651,"name":"View"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2321,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[1011]},{"title":"Methods","kind":2048,"children":[1020,1017,1023]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2290,"character":37}]},{"id":651,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":658,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":659,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":660,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":661,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","id":766,"name":"ViewFactory"}},{"id":662,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":663,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"array","elementType":{"type":"reference","id":880,"name":"Controller"}}},{"id":664,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}},{"id":665,"name":"children","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"array","elementType":{"type":"reference","id":100,"name":"ViewNode"}}},{"id":666,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","id":651,"name":"View"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1411,"character":25}]},{"id":655,"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":1401,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":652,"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":1386,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":657,"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":1411,"character":12}],"type":{"type":"reference","id":880,"name":"Controller"}},{"id":654,"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":1396,"character":10}],"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":656,"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":1406,"character":17}],"type":{"type":"reference","name":"Object"}},{"id":653,"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":1391,"character":13}],"type":{"type":"reference","id":766,"name":"ViewFactory"}},{"id":676,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":677,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":678,"name":"binding","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1445,"character":12}]},{"id":684,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":685,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":686,"name":"parent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1462,"character":15}]},{"id":689,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":690,"name":"attached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1472,"character":10}]},{"id":671,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":672,"name":"bind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":673,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":674,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}},{"id":675,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1439,"character":6}]},{"id":669,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":670,"name":"created","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the created callback for this view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1432,"character":9}]},{"id":691,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":692,"name":"detached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1477,"character":10}]},{"id":681,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":682,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":683,"name":"refNode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1456,"character":19}]},{"id":687,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":688,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1467,"character":13}]},{"id":667,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":668,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1427,"character":15}]},{"id":679,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":680,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1450,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[658]},{"title":"Properties","kind":1024,"children":[655,652,657,654,656,653]},{"title":"Methods","kind":2048,"children":[676,684,689,671,669,691,681,687,667,679]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1381,"character":25}]},{"id":261,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":266,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":267,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":268,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"intrinsic","name":"boolean"}},{"id":269,"name":"compileSurrogate","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Should the compilation also include surrogate bindings and behaviors.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":684,"character":40}]},{"id":264,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":679,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":263,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":678,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":262,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":677,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":265,"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":684,"character":15}],"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}}],"groups":[{"title":"Constructors","kind":512,"children":[266]},{"title":"Properties","kind":1024,"children":[264,263,262,265]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":676,"character":43}]},{"id":787,"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":790,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":791,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":792,"name":"bindingLanguage","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The default data binding language and syntax used during view compilation."},"type":{"type":"reference","id":434,"name":"BindingLanguage"}},{"id":793,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The global resources used during compilation when none are provided for compilation.\n"},"type":{"type":"reference","id":586,"name":"ViewResources"}}],"type":{"type":"reference","id":787,"name":"ViewCompiler"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1684,"character":23}]},{"id":794,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":795,"name":"compile","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Compiles an html template, dom fragment or string into ViewFactory instances, capable of instantiating Views.","returns":"The compiled ViewFactory.\n"},"parameters":[{"id":796,"name":"source","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":797,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":798,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A set of instructions that customize how compilation occurs."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}}],"type":{"type":"reference","id":766,"name":"ViewFactory"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1700,"character":9}]},{"id":788,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":789,"name":"inject","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1684,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[790]},{"title":"Methods","kind":2048,"children":[794,788]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1683,"character":33}]},{"id":842,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":846,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":847,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":848,"name":"loader","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":849,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":850,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","id":787,"name":"ViewCompiler"}},{"id":851,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","id":831,"name":"ModuleAnalyzer"}},{"id":852,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","id":586,"name":"ViewResources"}}],"type":{"type":"reference","id":842,"name":"ViewEngine"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1807,"character":42}]},{"id":845,"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":1807,"character":36}],"type":{"type":"intrinsic","name":"any"}},{"id":853,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":854,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":855,"name":"extension","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"intrinsic","name":"string"}},{"id":856,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1824,"character":19}]},{"id":869,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":870,"name":"importViewModelResource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a view model as a resource.","returns":"A promise for the ResourceDescription.\n"},"parameters":[{"id":871,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The module to import."},"type":{"type":"intrinsic","name":"string"}},{"id":872,"name":"moduleMember","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The export from the module to generate the resource for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":814,"name":"ResourceDescription"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1852,"character":25}]},{"id":873,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":874,"name":"importViewResources","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Imports the specified resources with the specified names into the view resources object.","returns":"A promise for the ViewResources.\n"},"parameters":[{"id":875,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The modules to load."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":876,"name":"names","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The names associated with resource modules to import."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":877,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":878,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The compilation instruction associated with the resource imports."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":879,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":586,"name":"ViewResources"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1862,"character":21}]},{"id":863,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":864,"name":"loadTemplateResources","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads all the resources specified by the registry entry.","returns":"A promise of ViewResources for the registry entry.\n"},"parameters":[{"id":865,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":866,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":867,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The load context if this is happening within the context of a larger load operation."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":868,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":586,"name":"ViewResources"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1844,"character":23}]},{"id":857,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":858,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":859,"name":"urlOrRegistryEntry","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":860,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Instructions detailing how the factory should be compiled."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":861,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The load context if this factory load is happening within the context of a larger load operation."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":862,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1834,"character":17}]},{"id":843,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":844,"name":"inject","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1802,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[846]},{"title":"Properties","kind":1024,"children":[845]},{"title":"Methods","kind":2048,"children":[853,869,873,863,857,843]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1801,"character":31}]},{"id":207,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":208,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":209,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"type":{"type":"reference","id":207,"name":"ViewEngineHooksResource"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":46}]},{"id":210,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":211,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":212,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":213,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":597,"character":12}]},{"id":218,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":219,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":220,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":221,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":599,"character":6}]},{"id":214,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":215,"name":"register","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":216,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":217,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":598,"character":10}]},{"id":222,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":223,"name":"convention","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":224,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":[208]},{"title":"Methods","kind":2048,"children":[210,218,214,222]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":44}]},{"id":766,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":768,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":769,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":770,"name":"template","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The document fragment that serves as a template for the view to be created."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":771,"name":"instructions","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The instructions to be applied ot the template during the creation of a view."},"type":{"type":"reference","name":"Object"}},{"id":772,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","id":586,"name":"ViewResources"}}],"type":{"type":"reference","id":766,"name":"ViewFactory"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1641,"character":17}]},{"id":767,"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":1641,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":782,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":783,"name":"create","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"parameters":[{"id":784,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":785,"name":"createInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The instruction used to customize view creation."},"type":{"type":"reference","id":8,"name":"ViewCreateInstruction"}},{"id":786,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The custom element that hosts the view."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","id":651,"name":"View"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1677,"character":8}]},{"id":777,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":778,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","id":651,"name":"View"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1662,"character":15}]},{"id":779,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":780,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":781,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","id":651,"name":"View"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1668,"character":19}]},{"id":773,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":774,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":775,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":776,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1656,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[768]},{"title":"Properties","kind":1024,"children":[767]},{"title":"Methods","kind":2048,"children":[782,777,779,773]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1636,"character":32}]},{"id":423,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":424,"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":1010,"character":32}],"type":{"type":"intrinsic","name":"any"}},{"id":431,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":432,"name":"convertOriginToViewUrl","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Conventionally converts a view model origin to a view url.\nUsed by the ConventionalViewStrategy.","returns":"The view url.\n"},"parameters":[{"id":433,"name":"origin","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1033,"character":24}]},{"id":428,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":429,"name":"createFallbackViewStrategy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":430,"name":"origin","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The origin of the view model to return the strategy for."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","id":11,"name":"ViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1025,"character":28}]},{"id":425,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":426,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets the view strategy for the value.","returns":"The located ViewStrategy instance.\n"},"parameters":[{"id":427,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to locate the view strategy for."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","id":11,"name":"ViewStrategy"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1017,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[424]},{"title":"Methods","kind":2048,"children":[431,428,425]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1005,"character":32}]},{"id":586,"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":592,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":593,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":594,"name":"parent","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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","id":586,"name":"ViewResources"}},{"id":595,"name":"viewUrl","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The url of the view to which these resources apply.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":586,"name":"ViewResources"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1256,"character":23}]},{"id":591,"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":1256,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":623,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":624,"name":"getAttribute","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets an HTML attribute behavior.","returns":"The HtmlBehaviorResource for the attribute or null.\n"},"parameters":[{"id":625,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the attribute to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1325,"character":14}]},{"id":637,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":638,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":639,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1353,"character":20}]},{"id":599,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":600,"name":"getBindingLanguage","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets the binding language associated with these resources, or return the provided fallback implementation.","returns":"The binding language.\n"},"parameters":[{"id":601,"name":"bindingLanguageFallback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The fallback binding language implementation to use if no binding language is configured locally."},"type":{"type":"reference","id":434,"name":"BindingLanguage"}}],"type":{"type":"reference","id":434,"name":"BindingLanguage"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1276,"character":20}]},{"id":612,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":613,"name":"getElement","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets an HTML element behavior.","returns":"The HtmlBehaviorResource for the tag name or null.\n"},"parameters":[{"id":614,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The tag name to search for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1303,"character":12}]},{"id":644,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":645,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":646,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1367,"character":10}]},{"id":630,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":631,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":632,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1339,"character":19}]},{"id":615,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":616,"name":"mapAttribute","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets the known attribute name based on the local attribute name.","returns":"The known name.\n"},"parameters":[{"id":617,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1310,"character":14}]},{"id":602,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":603,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":604,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","id":586,"name":"ViewResources"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1282,"character":15}]},{"id":618,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":619,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":620,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":621,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}},{"id":622,"name":"knownAttribute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":1318,"character":19}]},{"id":633,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":634,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":635,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}},{"id":636,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1346,"character":25}]},{"id":608,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":609,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":610,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the custom element."},"type":{"type":"intrinsic","name":"string"}},{"id":611,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1296,"character":17}]},{"id":640,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":641,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers a value."},"parameters":[{"id":642,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}},{"id":643,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1360,"character":15}]},{"id":626,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":627,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":628,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}},{"id":629,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1332,"character":24}]},{"id":596,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":597,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":598,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","id":36,"name":"ViewEngineHooks"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1269,"character":25}]},{"id":605,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":606,"name":"relativeToView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Maps a path relative to the associated view's origin.","returns":"The calcualted path.\n"},"parameters":[{"id":607,"name":"path","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The relative path."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1289,"character":16}]},{"id":587,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":588,"name":"convention","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Checks whether the provided class contains any resource conventions"},"parameters":[{"id":589,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Target class to extract metadata based on convention"},"type":{"type":"reference","name":"Function"}},{"id":590,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If supplied, all custom element / attribute metadata extracted from convention will be apply to this instance\n"},"type":{"type":"reference","id":945,"name":"HtmlBehaviorResource"}}],"type":{"type":"union","types":[{"type":"reference","id":945,"name":"HtmlBehaviorResource"},{"type":"reference","name":"ValueConverterResource"},{"type":"reference","name":"BindingBehaviorResource"},{"type":"reference","id":207,"name":"ViewEngineHooksResource"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1251,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[592]},{"title":"Properties","kind":1024,"children":[591]},{"title":"Methods","kind":2048,"children":[623,637,599,612,644,630,615,602,618,633,608,640,626,596,605,587]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1244,"character":34}]},{"id":693,"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":694,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":695,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":696,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The DOM node which will server as the anchor or container for insertion."},"type":{"type":"reference","name":"Node"}},{"id":697,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"intrinsic","name":"boolean"}},{"id":698,"name":"animator","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The animator that will controll enter/leave transitions for this slot.\n"},"type":{"type":"reference","id":157,"name":"Animator"}}],"type":{"type":"reference","id":693,"name":"ViewSlot"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1484,"character":31}]},{"id":711,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":712,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Adds a view to the slot.","returns":"May return a promise if the view addition triggered an animation.\n"},"parameters":[{"id":713,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view to add."},"type":{"type":"reference","id":651,"name":"View"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Promise"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1525,"character":5}]},{"id":699,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":700,"name":"animateView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":" Runs the animator against the first animatable element found within the view's fragment","returns":"An animation complete Promise or undefined if no animation was run.\n"},"parameters":[{"id":701,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view to use when searching for the element."},"type":{"type":"reference","id":651,"name":"View"}},{"id":702,"name":"direction","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The animation direction enter|leave."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Promise"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1500,"character":13}]},{"id":741,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":742,"name":"attached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1580,"character":10}]},{"id":705,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":706,"name":"bind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":707,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":708,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isExported":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":1513,"character":6}]},{"id":743,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":744,"name":"detached","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1585,"character":10}]},{"id":714,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":715,"name":"insert","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Inserts a view into the slot.","returns":"May return a promise if the view insertion triggered an animation.\n"},"parameters":[{"id":716,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The index to insert the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":717,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view to insert."},"type":{"type":"reference","id":651,"name":"View"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Promise"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1533,"character":8}]},{"id":718,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":719,"name":"move","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":720,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"intrinsic","name":"any"}},{"id":721,"name":"targetIndex","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":1540,"character":6}]},{"id":745,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":746,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":747,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1586,"character":11}]},{"id":722,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":723,"name":"remove","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Removes a view from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":724,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view to remove."},"type":{"type":"reference","id":651,"name":"View"}},{"id":725,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":726,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","id":651,"name":"View"},{"type":"reference","typeArguments":[{"type":"reference","id":651,"name":"View"}],"name":"Promise"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1549,"character":8}]},{"id":737,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":738,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Removes all views from the slot.","returns":"May return a promise if the view removals triggered an animation.\n"},"parameters":[{"id":739,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":740,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Promise"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1575,"character":11}]},{"id":732,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":733,"name":"removeAt","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":734,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The index to remove the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":735,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":736,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","id":651,"name":"View"},{"type":"reference","typeArguments":[{"type":"reference","id":651,"name":"View"}],"name":"Promise"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1567,"character":10}]},{"id":727,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":728,"name":"removeMany","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Removes many views from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":729,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The array of views to remove."},"type":{"type":"array","elementType":{"type":"reference","id":651,"name":"View"}}},{"id":730,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Should the views be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":731,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1558,"character":12}]},{"id":703,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":704,"name":"transformChildNodesIntoView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":1506,"character":29}]},{"id":709,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":710,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1518,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[694]},{"title":"Methods","kind":2048,"children":[711,699,741,705,743,714,718,745,722,737,732,727,703,709]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1484,"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":{"isExported":true},"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":{"isExported":true},"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":{"isExported":true},"type":{"type":"intrinsic","name":"any"}},{"id":120,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":{"isExported":true},"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":{"isExported":true},"type":{"type":"reference","id":651,"name":"View"}},{"id":115,"name":"myView","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":651,"name":"View"}}],"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":{"isExported":true},"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":{"isExported":true},"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","id":651,"name":"View"}},{"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","id":11,"name":"ViewStrategy"}]}},{"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","id":945,"name":"HtmlBehaviorResource"}},{"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","id":586,"name":"ViewResources"}},{"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","id":693,"name":"ViewSlot"}}],"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":{"isExported":true},"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","id":11,"name":"ViewStrategy"}]}}],"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":151,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":155,"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":152,"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":153,"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":156,"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":154,"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","id":586,"name":"ViewResources"}}],"groups":[{"title":"Properties","kind":1024,"children":[155,152,153,156,154]}],"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":{"isExported":true},"parameters":[{"id":74,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":"reference","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","id":66,"name":"IBindablePropertyConfig"}]}],"name":"Array"}},{"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":{"isExported":true},"signatures":[{"id":86,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":87,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":787,"name":"ViewCompiler"}},{"id":88,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":89,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":90,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"NamedNodeMap"}},{"id":91,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"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":{"isExported":true},"signatures":[{"id":94,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":95,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":787,"name":"ViewCompiler"}},{"id":96,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":97,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":98,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":270,"name":"BehaviorInstruction"}}],"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":{"isExported":true},"signatures":[{"id":22,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"}],"name":"Record"}]}],"name":"Promise"}]}],"name":"Array"}}],"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":"reflection","declaration":{"id":150,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":438,"character":29}]}}]}},{"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":{"isExported":true},"comment":{"shortText":"Connects the binding to a scope."},"parameters":[{"id":33,"name":"source","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":{"isExported":true},"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":{"isExported":true},"comment":{"shortText":"Assigns a value to the target."},"parameters":[{"id":30,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":{"isExported":true},"type":{"type":"reference","id":26,"name":"LetBinding"}}],"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":{"isExported":true},"signatures":[{"id":45,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":46,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":766,"name":"ViewFactory"}}],"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":{"isExported":true},"signatures":[{"id":56,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":57,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":651,"name":"View"}}],"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":{"isExported":true},"signatures":[{"id":60,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":61,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":651,"name":"View"}}],"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":{"isExported":true},"signatures":[{"id":39,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":40,"name":"content","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DocumentFragment"}},{"id":41,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":586,"name":"ViewResources"}},{"id":42,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}}],"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":{"isExported":true},"signatures":[{"id":49,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":50,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":766,"name":"ViewFactory"}},{"id":51,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Container"}},{"id":52,"name":"content","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DocumentFragment"}},{"id":53,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":8,"name":"ViewCreateInstruction"}}],"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":{"isExported":true},"signatures":[{"id":64,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":65,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":651,"name":"View"}}],"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":{"isExported":true},"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":{"isExported":true},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":103,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":104,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":{"isExported":true},"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":{"isExported":true},"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":{"isExported":true},"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":{"isExported":true},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","id":842,"name":"ViewEngine"}},{"id":15,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","id":261,"name":"ViewCompileInstruction"}},{"id":16,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","id":251,"name":"ResourceLoadContext"}},{"id":17,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":766,"name":"ViewFactory"}],"name":"Promise"}}],"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":1041,"name":"SwapStrategies","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":2095,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1026,"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":1030,"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":857,"character":33}],"type":{"type":"reference","name":"Function"}},{"id":1045,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1046,"name":"behavior","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Specifies a custom HtmlBehaviorResource instance or an object that overrides various implementation details of the default HtmlBehaviorResource."},"parameters":[{"id":1047,"name":"override","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The customized HtmlBehaviorResource or an object to override the default with.\n"},"type":{"type":"union","types":[{"type":"reference","id":945,"name":"HtmlBehaviorResource"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2173,"character":32}]},{"id":1059,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1060,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":1061,"name":"nameOrConfigOrTarget","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":1062,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":1063,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2200,"character":32}]},{"id":1038,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1039,"name":"child","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a behavior property that references an immediate content child element that matches the provided selector."},"parameters":[{"id":1040,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2094,"character":29}]},{"id":1035,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1036,"name":"children","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a behavior property that references an array of immediate content child elements that matches the provided selector."},"parameters":[{"id":1037,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2089,"character":32}]},{"id":1076,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1077,"name":"containerless","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the custom element should be rendered without its\nelement container."},"parameters":[{"id":1078,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2234,"character":37}]},{"id":1051,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1052,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":1053,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the custom attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":1054,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound with .bind."},"type":{"type":"intrinsic","name":"number"}},{"id":1055,"name":"aliases","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":2187,"character":39}]},{"id":1048,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1049,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":1050,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":2179,"character":37}]},{"id":1064,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1065,"name":"dynamicOptions","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":1066,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2206,"character":38}]},{"id":1097,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1098,"name":"elementConfig","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the decorated class provides element configuration\nto the EventManager for one or more Web Components."},"parameters":[{"id":1099,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2274,"character":37}]},{"id":1085,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1086,"name":"inlineView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Provides a view template, directly inline, for the component. Be\nsure to wrap the markup in a template element."},"parameters":[{"id":1087,"name":"markup","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The markup for the view."},"type":{"type":"intrinsic","name":"string"}},{"id":1088,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A list of dependencies that the template has."},"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}],"name":"Array"}},{"id":1089,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":2255,"character":34}]},{"id":1090,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1091,"name":"noView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":1092,"name":"targetOrDependencies","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Array"}]}},{"id":1093,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2260,"character":30}]},{"id":1070,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1071,"name":"processAttributes","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Enables custom processing of the attributes on an element before the framework inspects them."},"parameters":[{"id":1072,"name":"processor","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":2218,"character":41}]},{"id":1073,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1074,"name":"processContent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Enables custom processing of the content that is places inside the\ncustom element by its consumer."},"parameters":[{"id":1075,"name":"processor","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":2228,"character":38}]},{"id":1042,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1043,"name":"resource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":1044,"name":"instanceOrConfig","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The resource instance.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2167,"character":32}]},{"id":1056,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1057,"name":"templateController","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":1058,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2194,"character":42}]},{"id":1067,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1068,"name":"useShadowDOM","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"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":1069,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2212,"character":36}]},{"id":1082,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1083,"name":"useView","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":1084,"name":"path","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"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":2246,"character":31}]},{"id":1079,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1080,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":1081,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2240,"character":39}]},{"id":1031,"name":"validateBehaviorName","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1032,"name":"validateBehaviorName","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1033,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":1034,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1238,"character":44}]},{"id":1094,"name":"view","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1095,"name":"view","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the element use static view"},"parameters":[{"id":1096,"name":"templateOrConfig","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","id":147,"name":"IStaticViewStrategyConfig"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2268,"character":28}]},{"id":1027,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1028,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1029,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":602,"character":39}]},{"id":1100,"name":"viewResources","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1101,"name":"viewResources","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Decorator: Provides the ability to add resources to the related View\nSame as: "},"parameters":[{"id":1102,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"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":2281,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[157,270,906,929,434,748,983,200,186,192,880,362,997,225,945,395,831,373,465,349,814,251,799,557,511,455,407,305,384,1010,651,261,787,842,207,766,423,586,693]},{"title":"Interfaces","kind":256,"children":[121,116,111,124,127,133,130,151,2,66,75,18,147,26,23,8,36,100,11]},{"title":"Variables","kind":32,"children":[1041,1026,1030]},{"title":"Functions","kind":64,"children":[1045,1059,1038,1035,1076,1051,1048,1064,1097,1085,1090,1070,1073,1042,1056,1067,1082,1079,1031,1094,1027,1100]}]} \ No newline at end of file