diff --git a/dist/amd/aurelia-templating.js b/dist/amd/aurelia-templating.js
index d033d8a9..bc46d244 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, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _dec6, _class7, _class8, _temp2, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18;
+ 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;
@@ -267,7 +267,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
return target ? deco(target) : deco;
}
- var ElementEvents = exports.ElementEvents = function () {
+ var ElementEvents = exports.ElementEvents = (_temp = _class = function () {
function ElementEvents(element) {
@@ -301,10 +301,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
this.element.dispatchEvent(event);
};
- ElementEvents.prototype.subscribe = function subscribe(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribe = function subscribe(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, false);
return eventHandler;
}
@@ -312,10 +313,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
return undefined;
};
- ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, true);
return eventHandler;
}
@@ -346,7 +348,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return ElementEvents;
- }();
+ }(), _class.defaultListenerOptions = true, _temp);
var EventHandlerImpl = function () {
function EventHandlerImpl(owner, eventName, handler, captureOrOptions, once) {
@@ -477,7 +479,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
BehaviorInstruction.normal = new BehaviorInstruction();
- var TargetInstruction = exports.TargetInstruction = (_temp = _class = function () {
+ var TargetInstruction = exports.TargetInstruction = (_temp2 = _class2 = function () {
function TargetInstruction() {
}
@@ -535,7 +537,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return TargetInstruction;
- }(), _class.noExpressions = Object.freeze([]), _temp);
+ }(), _class2.noExpressions = Object.freeze([]), _temp2);
var tiProto = TargetInstruction.prototype;
@@ -577,7 +579,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
}
});
- var RelativeViewStrategy = exports.RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class2 = function () {
+ var RelativeViewStrategy = exports.RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class3 = function () {
function RelativeViewStrategy(path) {
@@ -601,8 +603,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return RelativeViewStrategy;
- }()) || _class2);
- var ConventionalViewStrategy = exports.ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class3 = function () {
+ }()) || _class3);
+ var ConventionalViewStrategy = exports.ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class4 = function () {
function ConventionalViewStrategy(viewLocator, origin) {
@@ -616,8 +618,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return ConventionalViewStrategy;
- }()) || _class3);
- var NoViewStrategy = exports.NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class4 = function () {
+ }()) || _class4);
+ var NoViewStrategy = exports.NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class5 = function () {
function NoViewStrategy(dependencies, dependencyBaseUrl) {
@@ -656,8 +658,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return NoViewStrategy;
- }()) || _class4);
- var TemplateRegistryViewStrategy = exports.TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class5 = function () {
+ }()) || _class5);
+ var TemplateRegistryViewStrategy = exports.TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class6 = function () {
function TemplateRegistryViewStrategy(moduleId, entry) {
@@ -677,8 +679,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return TemplateRegistryViewStrategy;
- }()) || _class5);
- var InlineViewStrategy = exports.InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class6 = function () {
+ }()) || _class6);
+ var InlineViewStrategy = exports.InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class7 = function () {
function InlineViewStrategy(markup, dependencies, dependencyBaseUrl) {
@@ -715,8 +717,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return InlineViewStrategy;
- }()) || _class6);
- var StaticViewStrategy = exports.StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = function () {
+ }()) || _class7);
+ var StaticViewStrategy = exports.StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class8 = function () {
function StaticViewStrategy(config) {
@@ -802,8 +804,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return StaticViewStrategy;
- }()) || _class7);
- var ViewLocator = exports.ViewLocator = (_temp2 = _class8 = function () {
+ }()) || _class8);
+ var ViewLocator = exports.ViewLocator = (_temp3 = _class9 = function () {
function ViewLocator() {
}
@@ -883,7 +885,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return ViewLocator;
- }(), _class8.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp2);
+ }(), _class9.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp3);
function mi(name) {
@@ -1264,7 +1266,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
return ShadowSlot;
}();
- var ShadowDOM = exports.ShadowDOM = (_temp3 = _class9 = function () {
+ var ShadowDOM = exports.ShadowDOM = (_temp4 = _class10 = function () {
function ShadowDOM() {
}
@@ -1350,7 +1352,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return ShadowDOM;
- }(), _class9.defaultSlotKey = '__au-default-slot-key__', _temp3);
+ }(), _class10.defaultSlotKey = '__au-default-slot-key__', _temp4);
function register(lookup, name, resource, type) {
@@ -2312,7 +2314,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
return ViewSlot;
}();
- var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class11 = function () {
+ var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class12 = function () {
function ProviderResolver() {
}
@@ -2323,7 +2325,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return ProviderResolver;
- }()) || _class11;
+ }()) || _class12;
var providerResolverInstance = new ProviderResolver();
@@ -2770,7 +2772,7 @@ 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(_class13 = function () {
+ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class14 = function () {
function ViewCompiler(bindingLanguage, resources) {
@@ -3187,7 +3189,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return ViewCompiler;
- }()) || _class13);
+ }()) || _class14);
var ResourceModule = exports.ResourceModule = function () {
function ResourceModule(moduleId) {
@@ -3476,7 +3478,7 @@ 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(_class14 = (_temp4 = _class15 = function () {
+ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () {
function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) {
@@ -3665,7 +3667,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return ViewEngine;
- }(), _class15.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp4)) || _class14);
+ }(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15);
var Controller = exports.Controller = function () {
function Controller(behavior, instruction, viewModel, container) {
@@ -3838,7 +3840,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
return Controller;
}();
- var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class16 = function () {
+ var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class17 = function () {
function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) {
@@ -3900,7 +3902,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return BehaviorPropertyObserver;
- }()) || _class16);
+ }()) || _class17);
function getObserver(instance, name) {
@@ -4831,7 +4833,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(_class17 = function () {
+ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class18 = function () {
function CompositionEngine(viewEngine, viewLocator) {
@@ -4997,7 +4999,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return CompositionEngine;
- }()) || _class17);
+ }()) || _class18);
var ElementConfigResource = exports.ElementConfigResource = function () {
function ElementConfigResource() {
@@ -5209,7 +5211,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
}
- var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class18 = function () {
+ var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () {
function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) {
@@ -5253,5 +5255,5 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
return TemplatingEngine;
- }()) || _class18);
+ }()) || _class19);
});
\ No newline at end of file
diff --git a/dist/aurelia-templating.d.ts b/dist/aurelia-templating.d.ts
index a3d38a15..a60f2f17 100644
--- a/dist/aurelia-templating.d.ts
+++ b/dist/aurelia-templating.d.ts
@@ -610,6 +610,7 @@ export declare function viewEngineHooks(target?: any): any;
* @param element
*/
export declare class ElementEvents {
+ static defaultListenerOptions: boolean | AddEventListenerOptions;
constructor(element: EventTarget);
/**
@@ -625,13 +626,13 @@ export declare class ElementEvents {
* Adds and Event Listener on the context element.
* @return Returns the eventHandler containing a dispose method
*/
- subscribe(eventName: string, handler: Function, captureOrOptions?: boolean): EventHandler;
+ subscribe(eventName: string, handler: Function, captureOrOptions?: boolean | AddEventListenerOptions): EventHandler;
/**
* Adds an Event Listener on the context element, that will be disposed on the first trigger.
* @return Returns the eventHandler containing a dispose method
*/
- subscribeOnce(eventName: string, handler: Function, captureOrOptions?: boolean): EventHandler;
+ subscribeOnce(eventName: string, handler: Function, captureOrOptions?: boolean | AddEventListenerOptions): EventHandler;
/**
* Removes all events that are listening to the specified eventName.
diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js
index 7fb1986a..01b2c028 100644
--- a/dist/aurelia-templating.js
+++ b/dist/aurelia-templating.js
@@ -272,6 +272,8 @@ interface EventHandler {
* @param element
*/
export class ElementEvents {
+ static defaultListenerOptions: boolean | AddEventListenerOptions = true;
+
constructor(element: EventTarget) {
this.element = element;
this.subscriptions = {};
@@ -310,8 +312,11 @@ export class ElementEvents {
* Adds and Event Listener on the context element.
* @return Returns the eventHandler containing a dispose method
*/
- subscribe(eventName: string, handler: Function, captureOrOptions?: boolean = true): EventHandler {
+ subscribe(eventName: string, handler: Function, captureOrOptions?: boolean | AddEventListenerOptions): EventHandler {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
const eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, false);
return eventHandler;
}
@@ -323,8 +328,11 @@ export class ElementEvents {
* Adds an Event Listener on the context element, that will be disposed on the first trigger.
* @return Returns the eventHandler containing a dispose method
*/
- subscribeOnce(eventName: string, handler: Function, captureOrOptions?: boolean = true): EventHandler {
+ subscribeOnce(eventName: string, handler: Function, captureOrOptions?: boolean | AddEventListenerOptions): EventHandler {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
const eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, true);
return eventHandler;
}
diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js
index 7e6ef5bc..4bcf1a90 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, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _dec6, _class7, _class8, _temp2, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18;
+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;
exports._hyphenate = _hyphenate;
exports._isAllWhitespace = _isAllWhitespace;
@@ -248,7 +248,7 @@ function viewEngineHooks(target) {
return target ? deco(target) : deco;
}
-var ElementEvents = exports.ElementEvents = function () {
+var ElementEvents = exports.ElementEvents = (_temp = _class = function () {
function ElementEvents(element) {
@@ -282,10 +282,11 @@ var ElementEvents = exports.ElementEvents = function () {
this.element.dispatchEvent(event);
};
- ElementEvents.prototype.subscribe = function subscribe(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribe = function subscribe(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, false);
return eventHandler;
}
@@ -293,10 +294,11 @@ var ElementEvents = exports.ElementEvents = function () {
return undefined;
};
- ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, true);
return eventHandler;
}
@@ -327,7 +329,7 @@ var ElementEvents = exports.ElementEvents = function () {
};
return ElementEvents;
-}();
+}(), _class.defaultListenerOptions = true, _temp);
var EventHandlerImpl = function () {
function EventHandlerImpl(owner, eventName, handler, captureOrOptions, once) {
@@ -458,7 +460,7 @@ biProto.inheritBindingContext = false;
BehaviorInstruction.normal = new BehaviorInstruction();
-var TargetInstruction = exports.TargetInstruction = (_temp = _class = function () {
+var TargetInstruction = exports.TargetInstruction = (_temp2 = _class2 = function () {
function TargetInstruction() {
}
@@ -516,7 +518,7 @@ var TargetInstruction = exports.TargetInstruction = (_temp = _class = function (
};
return TargetInstruction;
-}(), _class.noExpressions = Object.freeze([]), _temp);
+}(), _class2.noExpressions = Object.freeze([]), _temp2);
var tiProto = TargetInstruction.prototype;
@@ -558,7 +560,7 @@ var viewStrategy = exports.viewStrategy = _aureliaMetadata.protocol.create('aure
}
});
-var RelativeViewStrategy = exports.RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class2 = function () {
+var RelativeViewStrategy = exports.RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class3 = function () {
function RelativeViewStrategy(path) {
@@ -582,8 +584,8 @@ var RelativeViewStrategy = exports.RelativeViewStrategy = (_dec = viewStrategy()
};
return RelativeViewStrategy;
-}()) || _class2);
-var ConventionalViewStrategy = exports.ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class3 = function () {
+}()) || _class3);
+var ConventionalViewStrategy = exports.ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class4 = function () {
function ConventionalViewStrategy(viewLocator, origin) {
@@ -597,8 +599,8 @@ var ConventionalViewStrategy = exports.ConventionalViewStrategy = (_dec2 = viewS
};
return ConventionalViewStrategy;
-}()) || _class3);
-var NoViewStrategy = exports.NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class4 = function () {
+}()) || _class4);
+var NoViewStrategy = exports.NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class5 = function () {
function NoViewStrategy(dependencies, dependencyBaseUrl) {
@@ -637,8 +639,8 @@ var NoViewStrategy = exports.NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_cl
};
return NoViewStrategy;
-}()) || _class4);
-var TemplateRegistryViewStrategy = exports.TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class5 = function () {
+}()) || _class5);
+var TemplateRegistryViewStrategy = exports.TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class6 = function () {
function TemplateRegistryViewStrategy(moduleId, entry) {
@@ -658,8 +660,8 @@ var TemplateRegistryViewStrategy = exports.TemplateRegistryViewStrategy = (_dec4
};
return TemplateRegistryViewStrategy;
-}()) || _class5);
-var InlineViewStrategy = exports.InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class6 = function () {
+}()) || _class6);
+var InlineViewStrategy = exports.InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class7 = function () {
function InlineViewStrategy(markup, dependencies, dependencyBaseUrl) {
@@ -696,8 +698,8 @@ var InlineViewStrategy = exports.InlineViewStrategy = (_dec5 = viewStrategy(), _
};
return InlineViewStrategy;
-}()) || _class6);
-var StaticViewStrategy = exports.StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = function () {
+}()) || _class7);
+var StaticViewStrategy = exports.StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class8 = function () {
function StaticViewStrategy(config) {
@@ -783,8 +785,8 @@ var StaticViewStrategy = exports.StaticViewStrategy = (_dec6 = viewStrategy(), _
};
return StaticViewStrategy;
-}()) || _class7);
-var ViewLocator = exports.ViewLocator = (_temp2 = _class8 = function () {
+}()) || _class8);
+var ViewLocator = exports.ViewLocator = (_temp3 = _class9 = function () {
function ViewLocator() {
}
@@ -864,7 +866,7 @@ var ViewLocator = exports.ViewLocator = (_temp2 = _class8 = function () {
};
return ViewLocator;
-}(), _class8.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp2);
+}(), _class9.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp3);
function mi(name) {
@@ -1245,7 +1247,7 @@ var ShadowSlot = exports.ShadowSlot = function () {
return ShadowSlot;
}();
-var ShadowDOM = exports.ShadowDOM = (_temp3 = _class9 = function () {
+var ShadowDOM = exports.ShadowDOM = (_temp4 = _class10 = function () {
function ShadowDOM() {
}
@@ -1331,7 +1333,7 @@ var ShadowDOM = exports.ShadowDOM = (_temp3 = _class9 = function () {
};
return ShadowDOM;
-}(), _class9.defaultSlotKey = '__au-default-slot-key__', _temp3);
+}(), _class10.defaultSlotKey = '__au-default-slot-key__', _temp4);
function register(lookup, name, resource, type) {
@@ -2293,7 +2295,7 @@ var ViewSlot = exports.ViewSlot = function () {
return ViewSlot;
}();
-var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class11 = function () {
+var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class12 = function () {
function ProviderResolver() {
}
@@ -2304,7 +2306,7 @@ var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class11 = func
};
return ProviderResolver;
-}()) || _class11;
+}()) || _class12;
var providerResolverInstance = new ProviderResolver();
@@ -2751,7 +2753,7 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI
var defaultLetHandler = BindingLanguage.prototype.createLetExpressions;
-var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class13 = function () {
+var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class14 = function () {
function ViewCompiler(bindingLanguage, resources) {
@@ -3168,7 +3170,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti
};
return ViewCompiler;
-}()) || _class13);
+}()) || _class14);
var ResourceModule = exports.ResourceModule = function () {
function ResourceModule(moduleId) {
@@ -3457,7 +3459,7 @@ var ProxyViewFactory = function () {
var auSlotBehavior = null;
-var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class14 = (_temp4 = _class15 = function () {
+var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () {
function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) {
@@ -3646,7 +3648,7 @@ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.i
};
return ViewEngine;
-}(), _class15.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp4)) || _class14);
+}(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15);
var Controller = exports.Controller = function () {
function Controller(behavior, instruction, viewModel, container) {
@@ -3819,7 +3821,7 @@ var Controller = exports.Controller = function () {
return Controller;
}();
-var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class16 = function () {
+var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class17 = function () {
function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) {
@@ -3881,7 +3883,7 @@ var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _
};
return BehaviorPropertyObserver;
-}()) || _class16);
+}()) || _class17);
function getObserver(instance, name) {
@@ -4812,7 +4814,7 @@ function tryActivateViewModel(context) {
return context.viewModel.activate(context.model) || Promise.resolve();
}
-var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class17 = function () {
+var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class18 = function () {
function CompositionEngine(viewEngine, viewLocator) {
@@ -4978,7 +4980,7 @@ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDepend
};
return CompositionEngine;
-}()) || _class17);
+}()) || _class18);
var ElementConfigResource = exports.ElementConfigResource = function () {
function ElementConfigResource() {
@@ -5190,7 +5192,7 @@ function viewResources() {
};
}
-var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class18 = function () {
+var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () {
function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) {
@@ -5234,4 +5236,4 @@ var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependen
};
return TemplatingEngine;
-}()) || _class18);
\ No newline at end of file
+}()) || _class19);
\ No newline at end of file
diff --git a/dist/es2015/aurelia-templating.js b/dist/es2015/aurelia-templating.js
index 9e09f802..303e4503 100644
--- a/dist/es2015/aurelia-templating.js
+++ b/dist/es2015/aurelia-templating.js
@@ -1,4 +1,4 @@
-var _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _dec6, _class7, _class8, _temp2, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18;
+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;
import * as LogManager from 'aurelia-logging';
import { metadata, Origin, protocol } from 'aurelia-metadata';
@@ -175,7 +175,8 @@ export function viewEngineHooks(target) {
return target ? deco(target) : deco;
}
-export let ElementEvents = class ElementEvents {
+export let ElementEvents = (_temp = _class = class ElementEvents {
+
constructor(element) {
this.element = element;
this.subscriptions = {};
@@ -203,8 +204,11 @@ export let ElementEvents = class ElementEvents {
this.element.dispatchEvent(event);
}
- subscribe(eventName, handler, captureOrOptions = true) {
+ subscribe(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
const eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, false);
return eventHandler;
}
@@ -212,8 +216,11 @@ export let ElementEvents = class ElementEvents {
return undefined;
}
- subscribeOnce(eventName, handler, captureOrOptions = true) {
+ subscribeOnce(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
const eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, true);
return eventHandler;
}
@@ -242,7 +249,7 @@ export let ElementEvents = class ElementEvents {
this.dispose(key);
}
}
-};
+}, _class.defaultListenerOptions = true, _temp);
let EventHandlerImpl = class EventHandlerImpl {
constructor(owner, eventName, handler, captureOrOptions, once) {
@@ -356,7 +363,7 @@ biProto.inheritBindingContext = false;
BehaviorInstruction.normal = new BehaviorInstruction();
-export let TargetInstruction = (_temp = _class = class TargetInstruction {
+export let TargetInstruction = (_temp2 = _class2 = class TargetInstruction {
static shadowSlot(parentInjectorId) {
let instruction = new TargetInstruction();
instruction.parentInjectorId = parentInjectorId;
@@ -408,7 +415,7 @@ export let TargetInstruction = (_temp = _class = class TargetInstruction {
instruction.values = values;
return instruction;
}
-}, _class.noExpressions = Object.freeze([]), _temp);
+}, _class2.noExpressions = Object.freeze([]), _temp2);
const tiProto = TargetInstruction.prototype;
@@ -449,7 +456,7 @@ export const viewStrategy = protocol.create('aurelia:view-strategy', {
}
});
-export let RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class2 = class RelativeViewStrategy {
+export let RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class3 = class RelativeViewStrategy {
constructor(path) {
this.path = path;
this.absolutePath = null;
@@ -469,9 +476,9 @@ export let RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class2 = class R
this.absolutePath = relativeToFile(this.path, file);
}
}
-}) || _class2);
+}) || _class3);
-export let ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class3 = class ConventionalViewStrategy {
+export let ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class4 = class ConventionalViewStrategy {
constructor(viewLocator, origin) {
this.moduleId = origin.moduleId;
this.viewUrl = viewLocator.convertOriginToViewUrl(origin);
@@ -481,9 +488,9 @@ export let ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class3 = c
compileInstruction.associatedModuleId = this.moduleId;
return viewEngine.loadViewFactory(this.viewUrl, compileInstruction, loadContext, target);
}
-}) || _class3);
+}) || _class4);
-export let NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class4 = class NoViewStrategy {
+export let NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class5 = class NoViewStrategy {
constructor(dependencies, dependencyBaseUrl) {
this.dependencies = dependencies || null;
this.dependencyBaseUrl = dependencyBaseUrl || '';
@@ -518,9 +525,9 @@ export let NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class4 = class NoVie
return viewEngine.loadViewFactory(entry, compileInstruction, loadContext, target);
}
-}) || _class4);
+}) || _class5);
-export let TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class5 = class TemplateRegistryViewStrategy {
+export let TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class6 = class TemplateRegistryViewStrategy {
constructor(moduleId, entry) {
this.moduleId = moduleId;
this.entry = entry;
@@ -536,9 +543,9 @@ export let TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class5
compileInstruction.associatedModuleId = this.moduleId;
return viewEngine.loadViewFactory(entry, compileInstruction, loadContext, target);
}
-}) || _class5);
+}) || _class6);
-export let InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class6 = class InlineViewStrategy {
+export let InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class7 = class InlineViewStrategy {
constructor(markup, dependencies, dependencyBaseUrl) {
this.markup = markup;
this.dependencies = dependencies || null;
@@ -571,9 +578,9 @@ export let InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class6 = class I
compileInstruction.associatedModuleId = this.moduleId;
return viewEngine.loadViewFactory(entry, compileInstruction, loadContext, target);
}
-}) || _class6);
+}) || _class7);
-export let StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = class StaticViewStrategy {
+export let StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class8 = class StaticViewStrategy {
constructor(config) {
if (typeof config === 'string' || config instanceof DOM.Element && config.tagName === 'TEMPLATE') {
@@ -639,9 +646,9 @@ export let StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = class S
});
});
}
-}) || _class7);
+}) || _class8);
-export let ViewLocator = (_temp2 = _class8 = class ViewLocator {
+export let ViewLocator = (_temp3 = _class9 = class ViewLocator {
getViewStrategy(value) {
if (!value) {
return null;
@@ -715,7 +722,7 @@ export let ViewLocator = (_temp2 = _class8 = class ViewLocator {
let id = moduleId.endsWith('.js') || moduleId.endsWith('.ts') ? moduleId.substring(0, moduleId.length - 3) : moduleId;
return id + '.html';
}
-}, _class8.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp2);
+}, _class9.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp3);
function mi(name) {
throw new Error(`BindingLanguage must implement ${name}().`);
@@ -1065,7 +1072,7 @@ export let ShadowSlot = class ShadowSlot {
}
};
-export let ShadowDOM = (_temp3 = _class9 = class ShadowDOM {
+export let ShadowDOM = (_temp4 = _class10 = class ShadowDOM {
static getSlotName(node) {
if (node.auSlotAttribute === undefined) {
@@ -1146,7 +1153,7 @@ export let ShadowDOM = (_temp3 = _class9 = class ShadowDOM {
}
}
}
-}, _class9.defaultSlotKey = '__au-default-slot-key__', _temp3);
+}, _class10.defaultSlotKey = '__au-default-slot-key__', _temp4);
function register(lookup, name, resource, type) {
if (!name) {
@@ -2067,12 +2074,12 @@ export let ViewSlot = class ViewSlot {
}
};
-let ProviderResolver = resolver(_class11 = class ProviderResolver {
+let ProviderResolver = resolver(_class12 = class ProviderResolver {
get(container, key) {
let id = key.__providerId__;
return id in container ? container[id] : container[id] = container.invoke(key);
}
-}) || _class11;
+}) || _class12;
let providerResolverInstance = new ProviderResolver();
@@ -2508,7 +2515,7 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI
const defaultLetHandler = BindingLanguage.prototype.createLetExpressions;
-export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class13 = class ViewCompiler {
+export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class14 = class ViewCompiler {
constructor(bindingLanguage, resources) {
this.bindingLanguage = bindingLanguage;
this.resources = resources;
@@ -2921,7 +2928,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7
}
}
}
-}) || _class13);
+}) || _class14);
export let ResourceModule = class ResourceModule {
constructor(moduleId) {
@@ -3188,7 +3195,7 @@ let ProxyViewFactory = class ProxyViewFactory {
let auSlotBehavior = null;
-export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class14 = (_temp4 = _class15 = class ViewEngine {
+export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = class ViewEngine {
constructor(loader, container, viewCompiler, moduleAnalyzer, appResources) {
this.loader = loader;
this.container = container;
@@ -3359,7 +3366,7 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA
return id;
}
-}, _class15.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp4)) || _class14);
+}, _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15);
export let Controller = class Controller {
constructor(behavior, instruction, viewModel, container) {
@@ -3528,7 +3535,7 @@ export let Controller = class Controller {
}
};
-export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class16 = class BehaviorPropertyObserver {
+export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class17 = class BehaviorPropertyObserver {
constructor(taskQueue, obj, propertyName, selfSubscriber, initialValue) {
this.taskQueue = taskQueue;
this.obj = obj;
@@ -3586,7 +3593,7 @@ export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_cl
unsubscribe(context, callable) {
this.removeSubscriber(context, callable);
}
-}) || _class16);
+}) || _class17);
function getObserver(instance, name) {
let lookup = instance.__observers__;
@@ -4479,7 +4486,7 @@ function tryActivateViewModel(context) {
return context.viewModel.activate(context.model) || Promise.resolve();
}
-export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class17 = class CompositionEngine {
+export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class18 = class CompositionEngine {
constructor(viewEngine, viewLocator) {
this.viewEngine = viewEngine;
this.viewLocator = viewLocator;
@@ -4623,7 +4630,7 @@ export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10
return Promise.resolve(null);
}
-}) || _class17);
+}) || _class18);
export let ElementConfigResource = class ElementConfigResource {
initialize(container, target) {}
@@ -4826,7 +4833,7 @@ export function viewResources(...resources) {
};
}
-export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class18 = class TemplatingEngine {
+export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = class TemplatingEngine {
constructor(container, moduleAnalyzer, viewCompiler, compositionEngine) {
this._container = container;
this._moduleAnalyzer = moduleAnalyzer;
@@ -4866,4 +4873,4 @@ export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo
return view;
}
-}) || _class18);
\ No newline at end of file
+}) || _class19);
\ No newline at end of file
diff --git a/dist/native-modules/aurelia-templating.js b/dist/native-modules/aurelia-templating.js
index 3b3d55c1..11c5a387 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, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _dec6, _class7, _class8, _temp2, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18;
+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;
@@ -205,7 +205,7 @@ export function viewEngineHooks(target) {
return target ? deco(target) : deco;
}
-export var ElementEvents = function () {
+export var ElementEvents = (_temp = _class = function () {
function ElementEvents(element) {
@@ -239,10 +239,11 @@ export var ElementEvents = function () {
this.element.dispatchEvent(event);
};
- ElementEvents.prototype.subscribe = function subscribe(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribe = function subscribe(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, false);
return eventHandler;
}
@@ -250,10 +251,11 @@ export var ElementEvents = function () {
return undefined;
};
- ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, true);
return eventHandler;
}
@@ -284,7 +286,7 @@ export var ElementEvents = function () {
};
return ElementEvents;
-}();
+}(), _class.defaultListenerOptions = true, _temp);
var EventHandlerImpl = function () {
function EventHandlerImpl(owner, eventName, handler, captureOrOptions, once) {
@@ -415,7 +417,7 @@ biProto.inheritBindingContext = false;
BehaviorInstruction.normal = new BehaviorInstruction();
-export var TargetInstruction = (_temp = _class = function () {
+export var TargetInstruction = (_temp2 = _class2 = function () {
function TargetInstruction() {
}
@@ -473,7 +475,7 @@ export var TargetInstruction = (_temp = _class = function () {
};
return TargetInstruction;
-}(), _class.noExpressions = Object.freeze([]), _temp);
+}(), _class2.noExpressions = Object.freeze([]), _temp2);
var tiProto = TargetInstruction.prototype;
@@ -514,7 +516,7 @@ export var viewStrategy = protocol.create('aurelia:view-strategy', {
}
});
-export var RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class2 = function () {
+export var RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class3 = function () {
function RelativeViewStrategy(path) {
@@ -538,9 +540,9 @@ export var RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class2 = functio
};
return RelativeViewStrategy;
-}()) || _class2);
+}()) || _class3);
-export var ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class3 = function () {
+export var ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class4 = function () {
function ConventionalViewStrategy(viewLocator, origin) {
@@ -554,9 +556,9 @@ export var ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class3 = f
};
return ConventionalViewStrategy;
-}()) || _class3);
+}()) || _class4);
-export var NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class4 = function () {
+export var NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class5 = function () {
function NoViewStrategy(dependencies, dependencyBaseUrl) {
@@ -595,9 +597,9 @@ export var NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class4 = function ()
};
return NoViewStrategy;
-}()) || _class4);
+}()) || _class5);
-export var TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class5 = function () {
+export var TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class6 = function () {
function TemplateRegistryViewStrategy(moduleId, entry) {
@@ -617,9 +619,9 @@ export var TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class5
};
return TemplateRegistryViewStrategy;
-}()) || _class5);
+}()) || _class6);
-export var InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class6 = function () {
+export var InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class7 = function () {
function InlineViewStrategy(markup, dependencies, dependencyBaseUrl) {
@@ -656,9 +658,9 @@ export var InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class6 = functio
};
return InlineViewStrategy;
-}()) || _class6);
+}()) || _class7);
-export var StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = function () {
+export var StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class8 = function () {
function StaticViewStrategy(config) {
@@ -744,9 +746,9 @@ export var StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = functio
};
return StaticViewStrategy;
-}()) || _class7);
+}()) || _class8);
-export var ViewLocator = (_temp2 = _class8 = function () {
+export var ViewLocator = (_temp3 = _class9 = function () {
function ViewLocator() {
}
@@ -826,7 +828,7 @@ export var ViewLocator = (_temp2 = _class8 = function () {
};
return ViewLocator;
-}(), _class8.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp2);
+}(), _class9.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp3);
function mi(name) {
throw new Error('BindingLanguage must implement ' + name + '().');
@@ -1206,7 +1208,7 @@ export var ShadowSlot = function () {
return ShadowSlot;
}();
-export var ShadowDOM = (_temp3 = _class9 = function () {
+export var ShadowDOM = (_temp4 = _class10 = function () {
function ShadowDOM() {
}
@@ -1292,7 +1294,7 @@ export var ShadowDOM = (_temp3 = _class9 = function () {
};
return ShadowDOM;
-}(), _class9.defaultSlotKey = '__au-default-slot-key__', _temp3);
+}(), _class10.defaultSlotKey = '__au-default-slot-key__', _temp4);
function register(lookup, name, resource, type) {
if (!name) {
@@ -2253,7 +2255,7 @@ export var ViewSlot = function () {
return ViewSlot;
}();
-var ProviderResolver = resolver(_class11 = function () {
+var ProviderResolver = resolver(_class12 = function () {
function ProviderResolver() {
}
@@ -2264,7 +2266,7 @@ var ProviderResolver = resolver(_class11 = function () {
};
return ProviderResolver;
-}()) || _class11;
+}()) || _class12;
var providerResolverInstance = new ProviderResolver();
@@ -2711,7 +2713,7 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI
var defaultLetHandler = BindingLanguage.prototype.createLetExpressions;
-export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class13 = function () {
+export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class14 = function () {
function ViewCompiler(bindingLanguage, resources) {
@@ -3128,7 +3130,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7
};
return ViewCompiler;
-}()) || _class13);
+}()) || _class14);
export var ResourceModule = function () {
function ResourceModule(moduleId) {
@@ -3417,7 +3419,7 @@ var ProxyViewFactory = function () {
var auSlotBehavior = null;
-export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class14 = (_temp4 = _class15 = function () {
+export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () {
function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) {
@@ -3606,7 +3608,7 @@ export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA
};
return ViewEngine;
-}(), _class15.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp4)) || _class14);
+}(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15);
export var Controller = function () {
function Controller(behavior, instruction, viewModel, container) {
@@ -3779,7 +3781,7 @@ export var Controller = function () {
return Controller;
}();
-export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class16 = function () {
+export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class17 = function () {
function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) {
@@ -3841,7 +3843,7 @@ export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_cl
};
return BehaviorPropertyObserver;
-}()) || _class16);
+}()) || _class17);
function getObserver(instance, name) {
var lookup = instance.__observers__;
@@ -4771,7 +4773,7 @@ function tryActivateViewModel(context) {
return context.viewModel.activate(context.model) || Promise.resolve();
}
-export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class17 = function () {
+export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class18 = function () {
function CompositionEngine(viewEngine, viewLocator) {
@@ -4937,7 +4939,7 @@ export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10
};
return CompositionEngine;
-}()) || _class17);
+}()) || _class18);
export var ElementConfigResource = function () {
function ElementConfigResource() {
@@ -5150,7 +5152,7 @@ export function viewResources() {
};
}
-export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class18 = function () {
+export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () {
function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) {
@@ -5194,4 +5196,4 @@ export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo
};
return TemplatingEngine;
-}()) || _class18);
\ No newline at end of file
+}()) || _class19);
\ No newline at end of file
diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js
index 81267144..3b012210 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, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _dec6, _class7, _class8, _temp2, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18, animationEvent, Animator, CompositionTransactionNotifier, CompositionTransactionOwnershipToken, CompositionTransaction, capitalMatcher, ViewEngineHooksResource, ElementEvents, EventHandlerImpl, ResourceLoadContext, ViewCompileInstruction, BehaviorInstruction, biProto, TargetInstruction, tiProto, viewStrategy, RelativeViewStrategy, ConventionalViewStrategy, NoViewStrategy, TemplateRegistryViewStrategy, InlineViewStrategy, StaticViewStrategy, ViewLocator, BindingLanguage, noNodes, SlotCustomAttribute, PassThroughSlot, ShadowSlot, ShadowDOM, conventionMark, ViewResources, View, ViewSlot, ProviderResolver, providerResolverInstance, BoundViewFactory, ViewFactory, nextInjectorId, lastAUTargetID, defaultLetHandler, ViewCompiler, ResourceModule, ResourceDescription, ModuleAnalyzer, logger, ProxyViewFactory, auSlotBehavior, ViewEngine, Controller, BehaviorPropertyObserver, BindableProperty, lastProviderId, HtmlBehaviorResource, ChildObserver, noMutations, ChildObserverBinder, SwapStrategies, CompositionEngine, ElementConfigResource, defaultShadowDOMOptions, TemplatingEngine;
+ 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;
@@ -977,7 +977,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
_export('ViewEngineHooksResource', ViewEngineHooksResource);
- _export('ElementEvents', ElementEvents = function () {
+ _export('ElementEvents', ElementEvents = (_temp = _class = function () {
function ElementEvents(element) {
@@ -1011,10 +1011,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
this.element.dispatchEvent(event);
};
- ElementEvents.prototype.subscribe = function subscribe(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribe = function subscribe(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, false);
return eventHandler;
}
@@ -1022,10 +1023,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
return undefined;
};
- ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) {
- var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
+ ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler, captureOrOptions) {
if (typeof handler === 'function') {
+ if (captureOrOptions === undefined) {
+ captureOrOptions = ElementEvents.defaultListenerOptions;
+ }
var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, true);
return eventHandler;
}
@@ -1056,7 +1058,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return ElementEvents;
- }());
+ }(), _class.defaultListenerOptions = true, _temp));
_export('ElementEvents', ElementEvents);
@@ -1196,7 +1198,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
BehaviorInstruction.normal = new BehaviorInstruction();
- _export('TargetInstruction', TargetInstruction = (_temp = _class = function () {
+ _export('TargetInstruction', TargetInstruction = (_temp2 = _class2 = function () {
function TargetInstruction() {
}
@@ -1254,7 +1256,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return TargetInstruction;
- }(), _class.noExpressions = Object.freeze([]), _temp));
+ }(), _class2.noExpressions = Object.freeze([]), _temp2));
_export('TargetInstruction', TargetInstruction);
@@ -1300,7 +1302,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
_export('viewStrategy', viewStrategy);
- _export('RelativeViewStrategy', RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class2 = function () {
+ _export('RelativeViewStrategy', RelativeViewStrategy = (_dec = viewStrategy(), _dec(_class3 = function () {
function RelativeViewStrategy(path) {
@@ -1324,11 +1326,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return RelativeViewStrategy;
- }()) || _class2));
+ }()) || _class3));
_export('RelativeViewStrategy', RelativeViewStrategy);
- _export('ConventionalViewStrategy', ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class3 = function () {
+ _export('ConventionalViewStrategy', ConventionalViewStrategy = (_dec2 = viewStrategy(), _dec2(_class4 = function () {
function ConventionalViewStrategy(viewLocator, origin) {
@@ -1342,11 +1344,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return ConventionalViewStrategy;
- }()) || _class3));
+ }()) || _class4));
_export('ConventionalViewStrategy', ConventionalViewStrategy);
- _export('NoViewStrategy', NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class4 = function () {
+ _export('NoViewStrategy', NoViewStrategy = (_dec3 = viewStrategy(), _dec3(_class5 = function () {
function NoViewStrategy(dependencies, dependencyBaseUrl) {
@@ -1385,11 +1387,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return NoViewStrategy;
- }()) || _class4));
+ }()) || _class5));
_export('NoViewStrategy', NoViewStrategy);
- _export('TemplateRegistryViewStrategy', TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class5 = function () {
+ _export('TemplateRegistryViewStrategy', TemplateRegistryViewStrategy = (_dec4 = viewStrategy(), _dec4(_class6 = function () {
function TemplateRegistryViewStrategy(moduleId, entry) {
@@ -1409,11 +1411,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return TemplateRegistryViewStrategy;
- }()) || _class5));
+ }()) || _class6));
_export('TemplateRegistryViewStrategy', TemplateRegistryViewStrategy);
- _export('InlineViewStrategy', InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class6 = function () {
+ _export('InlineViewStrategy', InlineViewStrategy = (_dec5 = viewStrategy(), _dec5(_class7 = function () {
function InlineViewStrategy(markup, dependencies, dependencyBaseUrl) {
@@ -1450,11 +1452,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return InlineViewStrategy;
- }()) || _class6));
+ }()) || _class7));
_export('InlineViewStrategy', InlineViewStrategy);
- _export('StaticViewStrategy', StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class7 = function () {
+ _export('StaticViewStrategy', StaticViewStrategy = (_dec6 = viewStrategy(), _dec6(_class8 = function () {
function StaticViewStrategy(config) {
@@ -1540,11 +1542,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return StaticViewStrategy;
- }()) || _class7));
+ }()) || _class8));
_export('StaticViewStrategy', StaticViewStrategy);
- _export('ViewLocator', ViewLocator = (_temp2 = _class8 = function () {
+ _export('ViewLocator', ViewLocator = (_temp3 = _class9 = function () {
function ViewLocator() {
}
@@ -1624,7 +1626,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return ViewLocator;
- }(), _class8.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp2));
+ }(), _class9.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp3));
_export('ViewLocator', ViewLocator);
@@ -2010,7 +2012,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
_export('ShadowSlot', ShadowSlot);
- _export('ShadowDOM', ShadowDOM = (_temp3 = _class9 = function () {
+ _export('ShadowDOM', ShadowDOM = (_temp4 = _class10 = function () {
function ShadowDOM() {
}
@@ -2096,7 +2098,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return ShadowDOM;
- }(), _class9.defaultSlotKey = '__au-default-slot-key__', _temp3));
+ }(), _class10.defaultSlotKey = '__au-default-slot-key__', _temp4));
_export('ShadowDOM', ShadowDOM);
@@ -3021,7 +3023,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
_export('ViewSlot', ViewSlot);
- ProviderResolver = resolver(_class11 = function () {
+ ProviderResolver = resolver(_class12 = function () {
function ProviderResolver() {
}
@@ -3032,7 +3034,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return ProviderResolver;
- }()) || _class11;
+ }()) || _class12;
providerResolverInstance = new ProviderResolver();
_export('BoundViewFactory', BoundViewFactory = function () {
@@ -3190,7 +3192,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
lastAUTargetID = 0;
defaultLetHandler = BindingLanguage.prototype.createLetExpressions;
- _export('ViewCompiler', ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class13 = function () {
+ _export('ViewCompiler', ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class14 = function () {
function ViewCompiler(bindingLanguage, resources) {
@@ -3607,7 +3609,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return ViewCompiler;
- }()) || _class13));
+ }()) || _class14));
_export('ViewCompiler', ViewCompiler);
@@ -3896,7 +3898,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
auSlotBehavior = null;
- _export('ViewEngine', ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class14 = (_temp4 = _class15 = function () {
+ _export('ViewEngine', ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () {
function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) {
@@ -4085,7 +4087,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return ViewEngine;
- }(), _class15.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp4)) || _class14));
+ }(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15));
_export('ViewEngine', ViewEngine);
@@ -4262,7 +4264,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
_export('Controller', Controller);
- _export('BehaviorPropertyObserver', BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class16 = function () {
+ _export('BehaviorPropertyObserver', BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class17 = function () {
function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) {
@@ -4324,7 +4326,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return BehaviorPropertyObserver;
- }()) || _class16));
+ }()) || _class17));
_export('BehaviorPropertyObserver', BehaviorPropertyObserver);
@@ -5141,7 +5143,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
_export('SwapStrategies', SwapStrategies);
- _export('CompositionEngine', CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class17 = function () {
+ _export('CompositionEngine', CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class18 = function () {
function CompositionEngine(viewEngine, viewLocator) {
@@ -5307,7 +5309,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return CompositionEngine;
- }()) || _class17));
+ }()) || _class18));
_export('CompositionEngine', CompositionEngine);
@@ -5333,7 +5335,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
defaultShadowDOMOptions = { mode: 'open' };
- _export('TemplatingEngine', TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class18 = function () {
+ _export('TemplatingEngine', TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () {
function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) {
@@ -5377,7 +5379,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-
};
return TemplatingEngine;
- }()) || _class18));
+ }()) || _class19));
_export('TemplatingEngine', TemplatingEngine);
}
diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md
index e28a1b95..10fb0535 100644
--- a/doc/CHANGELOG.md
+++ b/doc/CHANGELOG.md
@@ -1,10 +1,11 @@
-## [1.10.2](https://github.com/aurelia/templating/compare/1.10.1...1.10.2) (2019-02-04)
+## [1.10.2](https://github.com/aurelia/templating/compare/1.10.1...1.10.2) (2019-03-19)
### 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)
diff --git a/doc/api.json b/doc/api.json
index 3a7f1591..2b15f0f2 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":268,"name":"BehaviorInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Indicates how a custom attribute or element should be instantiated in a view."},"children":[{"id":277,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":281,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":712,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":279,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":710,"character":12}],"type":{"type":"reference","name":"Object"}},{"id":275,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":706,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":270,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":701,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":278,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":709,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":282,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":713,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":269,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":700,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":273,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":704,"character":18}],"type":{"type":"intrinsic","name":"string"}},{"id":271,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":702,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":274,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":705,"character":23}],"type":{"type":"intrinsic","name":"boolean"}},{"id":280,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":711,"character":6}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":272,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":703,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":276,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":707,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":283,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"A default behavior used in scenarios where explicit configuration isn't available."},"sources":[{"fileName":"aurelia-templating.d.ts","line":718,"character":15}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":294,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":295,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":296,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":297,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":748,"character":18}]},{"id":298,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":299,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":300,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":301,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":302,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A view factory used in generating the component's view."},"type":{"type":"reference","name":"ViewFactory","id":764}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":757,"character":16}]},{"id":290,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":291,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":292,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":293,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":740,"character":16}]},{"id":284,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":285,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for element enhancement.","returns":"The created instruction.\n"},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":724,"character":16}]},{"id":286,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":287,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":288,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":289,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes for the behaior."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":732,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[277,281,279,275,270,278,282,269,273,271,274,280,272,276,283]},{"title":"Methods","kind":2048,"children":[294,298,290,284,286]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":699,"character":40}]},{"id":900,"name":"BehaviorPropertyObserver","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An implementation of Aurelia's Observer interface that is used to back bindable properties defined on a behavior."},"children":[{"id":901,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":902,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":903,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":904,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":905,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"intrinsic","name":"string"}},{"id":906,"name":"selfSubscriber","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The callback function that notifies the object which defines the properties, if present."},"type":{"type":"reference","name":"Function"}},{"id":907,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The initial value of the property.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":900}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1817,"character":47}]},{"id":913,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":914,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1843,"character":6}]},{"id":908,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":909,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1832,"character":10}]},{"id":910,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":911,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":912,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new value to set.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1838,"character":10}]},{"id":915,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":916,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":917,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A context object to pass along to the subscriber when it's called."},"type":{"type":"intrinsic","name":"any"}},{"id":918,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function or object with a \"call\" method to be invoked for delivery of changes.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1850,"character":11}]},{"id":919,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":920,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":921,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"intrinsic","name":"any"}},{"id":922,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callable that was originally subscribed with.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1857,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[901]},{"title":"Methods","kind":2048,"children":[913,908,910,915,919]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1817,"character":45}]},{"id":923,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":924,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":925,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":926,"name":"nameOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property or a cofiguration object.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"BindableProperty","id":923}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1863,"character":39}]},{"id":936,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":937,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":938,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view model instance on which to create the observer."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":900}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1891,"character":16}]},{"id":932,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":933,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":934,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":935,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1884,"character":10}]},{"id":927,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":928,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":929,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":930,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":931,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The property descriptor for this property.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1877,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[924]},{"title":"Methods","kind":2048,"children":[936,932,927]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1863,"character":37}]},{"id":432,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":439,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":440,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":441,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":442,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":443,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":444,"name":"existingInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A previously created instruction for this attribute."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1061,"character":28}]},{"id":445,"name":"createLetExpressions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":446,"name":"createLetExpressions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates let expressions from a element","returns":"the expression array created from the element\n"},"parameters":[{"id":447,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled"},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":448,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"the let element in the view template"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"array","elementType":{"type":"reference","name":"LetExpression","id":23}}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1070,"character":22}]},{"id":433,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":434,"name":"inspectAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inspects an attribute for bindings.","returns":"An info object with the results of the inspection.\n"},"parameters":[{"id":435,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":436,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":437,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"intrinsic","name":"string"}},{"id":438,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1051,"character":18}]},{"id":449,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":450,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":451,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":452,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value of the text to parse."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1078,"character":20}]}],"groups":[{"title":"Methods","kind":2048,"children":[439,445,433,449]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1041,"character":36}]},{"id":746,"name":"BoundViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances, bound to a location within another view hierarchy."},"children":[{"id":747,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":748,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":749,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":750,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":751,"name":"partReplacements","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Part replacement overrides for the internal factory.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BoundViewFactory","id":746}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1477,"character":39}]},{"id":754,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1496,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":752,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":753,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1491,"character":8}]},{"id":759,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":760,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1509,"character":15}]},{"id":761,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":762,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":763,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1515,"character":19}]},{"id":755,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":756,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":757,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"string"}]}},{"id":758,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1503,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[747]},{"title":"Properties","kind":1024,"children":[754]},{"title":"Methods","kind":2048,"children":[752,759,761,755]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1477,"character":37}]},{"id":977,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":978,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":979,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":980,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":981,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":421}}],"type":{"type":"reference","name":"CompositionEngine","id":977}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1983,"character":40}]},{"id":988,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":989,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes a component.","returns":"A Promise for the View or the Controller that results from the dynamic composition.\n"},"parameters":[{"id":990,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext providing information on how the composition should occur."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Controller","id":874}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2010,"character":9}]},{"id":982,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":983,"name":"createController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a controller instance for the component described in the context.","returns":"A Promise for the Controller.\n"},"parameters":[{"id":984,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":874}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1996,"character":18}]},{"id":985,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":986,"name":"ensureViewModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Ensures that the view model and its resource are loaded for this context.","returns":"A Promise for the context.\n"},"parameters":[{"id":987,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext to load the view model and its resource for."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":133}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2003,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[978]},{"title":"Methods","kind":2048,"children":[988,982,985]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1983,"character":38}]},{"id":199,"name":"CompositionTransaction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables an initiator of a view composition to track any internal async rendering processes for completion."},"children":[{"id":200,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":201,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":199}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":45}]},{"id":204,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":205,"name":"enlist","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enlist an async render operation into the transaction.","returns":"A completion notifier.\n"},"type":{"type":"reference","name":"CompositionTransactionNotifier","id":185}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":593,"character":8}]},{"id":202,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":203,"name":"tryCapture","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attempt to take ownership of the composition transaction.","returns":"An ownership token if successful, otherwise null.\n"},"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":191}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":587,"character":12}]}],"groups":[{"title":"Constructors","kind":512,"children":[200]},{"title":"Methods","kind":2048,"children":[204,202]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":43}]},{"id":185,"name":"CompositionTransactionNotifier","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A mechanism by which an enlisted async render operation can notify the owning transaction when its work is done."},"children":[{"id":186,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":187,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":188,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":185}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":53}]},{"id":189,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":190,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":552,"character":6}]}],"groups":[{"title":"Constructors","kind":512,"children":[186]},{"title":"Methods","kind":2048,"children":[189]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":51}]},{"id":191,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":192,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":193,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":194,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":191}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":558,"character":59}]},{"id":197,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":198,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":570,"character":9}]},{"id":195,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":196,"name":"waitForCompositionComplete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the transaction owner to wait for the completion of all child compositions.","returns":"A promise that resolves when all child compositions are done.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":565,"character":28}]}],"groups":[{"title":"Constructors","kind":512,"children":[192]},{"title":"Methods","kind":2048,"children":[197,195]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":558,"character":57}]},{"id":874,"name":"Controller","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls a view model (and optionally its view), according to a particular behavior and by following a set of instructions."},"children":[{"id":878,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":879,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":880,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":881,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":882,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":883,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container that the controller's view was created from.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Controller","id":874}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1767,"character":13}]},{"id":875,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1756,"character":10}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":877,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view associated with the component being controlled by this controller.\nNote: Not all components will have a view, so the value may be null."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1767,"character":6}],"type":{"type":"reference","name":"View","id":649}},{"id":876,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1761,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":896,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":897,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1806,"character":10}]},{"id":887,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":888,"name":"automate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.\nThis should be considered a semi-private API and is subject to change without notice, even across minor or patch releases."},"parameters":[{"id":889,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":890,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1790,"character":10}]},{"id":891,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":892,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":893,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1796,"character":6}]},{"id":884,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":885,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":886,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1782,"character":9}]},{"id":898,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":899,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1811,"character":10}]},{"id":894,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":895,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1801,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[878]},{"title":"Properties","kind":1024,"children":[875,877,876]},{"title":"Methods","kind":2048,"children":[896,887,891,884,898,894]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1751,"character":31}]},{"id":360,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":361,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":362,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":363,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":421}},{"id":364,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The origin of the view model to conventionally load the view for.\n"},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ConventionalViewStrategy","id":360}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":889,"character":47}]},{"id":365,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":366,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":367,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":368,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":369,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":370,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":906,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[361]},{"title":"Methods","kind":2048,"children":[365]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":889,"character":45}]},{"id":991,"name":"ElementConfigResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that configures the EventManager with information\nabout how events relate to properties for the purpose of two-way data-binding\nto Web Components."},"children":[{"id":992,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":993,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":994,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":995,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2026,"character":12}]},{"id":1000,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1001,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":1002,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":1003,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2043,"character":6}]},{"id":996,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":997,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":998,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":999,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2035,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[992,1000,996]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2018,"character":42}]},{"id":224,"name":"ElementEvents","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Dispatches subscribets to and publishes events in the DOM.","tags":[{"tag":"param","text":"\n","param":"element"}]},"children":[{"id":225,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":226,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":227,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"EventTarget"}}],"type":{"type":"reference","name":"ElementEvents","id":224}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":612,"character":36}]},{"id":244,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":245,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":246,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":640,"character":9}]},{"id":247,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":248,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":645,"character":12}]},{"id":228,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":229,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":230,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"intrinsic","name":"string"}},{"id":231,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":232,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"boolean"}},{"id":233,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":622,"character":9}]},{"id":234,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":235,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and Event Listener on the context element.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":236,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":237,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":238,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":628,"character":11}]},{"id":239,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":240,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an Event Listener on the context element, that will be disposed on the first trigger.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":241,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":242,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}},{"id":243,"name":"captureOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":634,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[225]},{"title":"Methods","kind":2048,"children":[244,247,228,234,239]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":612,"character":34}]},{"id":939,"name":"HtmlBehaviorResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that implements custom element or custom\nattribute functionality."},"children":[{"id":940,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":941,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1898,"character":43}]},{"id":946,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":947,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":948,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1916,"character":17}]},{"id":964,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":965,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs into the compiler and enables custom processing of the node on which this behavior is located.","returns":"The current node.\n"},"parameters":[{"id":966,"name":"compiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The compiler that is currently compiling the view that this behavior exists within."},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":967,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources for the view that this behavior exists within."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":968,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":969,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":970,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The parent node of the current node."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1956,"character":9}]},{"id":971,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":972,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instance of this behavior.","returns":"The Controller of this behavior.\n"},"parameters":[{"id":973,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":974,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction for this behavior that was constructed during compilation."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":975,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":976,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The bindings that are associated with the view in which this behavior exists."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}}],"type":{"type":"reference","name":"Controller","id":874}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1966,"character":8}]},{"id":949,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":950,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":951,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":952,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1924,"character":12}]},{"id":957,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":958,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":959,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":960,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":961,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context object provided by the view engine."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":962,"name":"viewStrategy","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A view strategy to overload the default strategy defined by the resource."},"type":{"type":"reference","name":"ViewStrategy","id":11}},{"id":963,"name":"transientView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicated whether the view strategy is transient or\npermanently tied to this component.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HtmlBehaviorResource","id":939}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1945,"character":6}]},{"id":953,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":954,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":955,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":956,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1933,"character":10}]},{"id":942,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":943,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":944,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"intrinsic","name":"string"}},{"id":945,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An already existing resource that may need a convention name applied.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1910,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[940]},{"title":"Methods","kind":2048,"children":[946,964,971,949,957,953,942]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1898,"character":41}]},{"id":393,"name":"InlineViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that allows the component author to inline the html for the view."},"children":[{"id":394,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":395,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":396,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The markup for the view. Be sure to include the wrapping template tag."},"type":{"type":"intrinsic","name":"string"}},{"id":397,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":398,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"InlineViewStrategy","id":393}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":959,"character":41}]},{"id":399,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":400,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":401,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":402,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":403,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":404,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":977,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[394]},{"title":"Methods","kind":2048,"children":[399]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":959,"character":39}]},{"id":827,"name":"ModuleAnalyzer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Analyzes a module in order to discover the view resources that it exports."},"children":[{"id":828,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":829,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":827}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1658,"character":37}]},{"id":833,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":834,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":835,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"intrinsic","name":"string"}},{"id":836,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"intrinsic","name":"any"}},{"id":837,"name":"mainResourceKey","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the main resource."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":795}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1679,"character":9}]},{"id":830,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":831,"name":"getAnalysis","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the ResourceModule analysis for a previously analyzed module.","returns":"The ResouceModule if found, undefined otherwise.\n"},"parameters":[{"id":832,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":795}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1670,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[828]},{"title":"Methods","kind":2048,"children":[833,830]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1658,"character":35}]},{"id":371,"name":"NoViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that indicates that the component has no view that the templating engine needs to manage.\nTypically used when the component author wishes to take over fine-grained rendering control."},"children":[{"id":372,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"signatures":[{"id":373,"name":"new NoViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"parameters":[{"id":374,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":375,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"NoViewStrategy","id":371}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":37}]},{"id":376,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":377,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":378,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":379,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":380,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":381,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":930,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[372]},{"title":"Methods","kind":2048,"children":[376]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":35}]},{"id":463,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":464,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":465,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":466,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":467,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":468,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":469,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":463}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1085,"character":38}]},{"id":470,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1087,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":480,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":481,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":482,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":483,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":484,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":485,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1090,"character":9}]},{"id":503,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":504,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1096,"character":10}]},{"id":500,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":501,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":502,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1095,"character":6}]},{"id":497,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":498,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":499,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1094,"character":9}]},{"id":505,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":506,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1097,"character":10}]},{"id":477,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":478,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":479,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1089,"character":15}]},{"id":493,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":494,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":495,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":496,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1093,"character":13}]},{"id":490,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":491,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":492,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1092,"character":11}]},{"id":486,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":487,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":488,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":489,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1091,"character":12}]},{"id":471,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":472,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":473,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":474,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":475,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":476,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1088,"character":23}]},{"id":507,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":508,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1098,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[464]},{"title":"Properties","kind":1024,"children":[470]},{"title":"Methods","kind":2048,"children":[480,503,500,497,505,477,493,490,486,471,507]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1085,"character":36}]},{"id":347,"name":"RelativeViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that loads a view relative to its associated view-model."},"children":[{"id":348,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":349,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":350,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The relative path to the view.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"RelativeViewStrategy","id":347}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":861,"character":43}]},{"id":351,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":352,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":353,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":354,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":355,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":356,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":877,"character":17}]},{"id":357,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":358,"name":"makeRelativeTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the view loaded by this strategy relative to the provided file path."},"parameters":[{"id":359,"name":"file","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to load the view relative to.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":883,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[348]},{"title":"Methods","kind":2048,"children":[351,357]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":861,"character":41}]},{"id":810,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":811,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":812,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":813,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"intrinsic","name":"string"}},{"id":814,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"intrinsic","name":"any"}},{"id":815,"name":"resourceTypeMeta","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The metadata located on the resource.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"ResourceDescription","id":810}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1623,"character":42}]},{"id":816,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":817,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":818,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1637,"character":12}]},{"id":823,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":824,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resource.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":825,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":826,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1652,"character":6}]},{"id":819,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":820,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":821,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":822,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the resource.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1644,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[811]},{"title":"Methods","kind":2048,"children":[816,823,819]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1623,"character":40}]},{"id":249,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":251,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":252,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":23}]},{"id":250,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":253,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":254,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":255,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the dependency.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":663,"character":15}]},{"id":256,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":257,"name":"hasDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks if the current context includes a load of the specified url.","returns":"True if the url is being loaded in the context; false otherwise.\n"},"parameters":[{"id":258,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":669,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[251]},{"title":"Properties","kind":1024,"children":[250]},{"title":"Methods","kind":2048,"children":[253,256]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":651,"character":40}]},{"id":795,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":796,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":797,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":798,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The id of the module that contains view resources.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":795}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1590,"character":37}]},{"id":799,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":800,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":801,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1602,"character":12}]},{"id":806,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":807,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resources within this module.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":808,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":809,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1617,"character":6}]},{"id":802,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":803,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":804,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":805,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the default resource.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1609,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[796]},{"title":"Methods","kind":2048,"children":[799,806,802]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1590,"character":35}]},{"id":555,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":556,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1116,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":576,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":577,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":578,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":579,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":580,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":581,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":582,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":583,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1121,"character":24}]},{"id":560,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":561,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":562,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":563,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":564,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":565,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":566,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1118,"character":23}]},{"id":557,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":558,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":559,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1117,"character":20}]},{"id":572,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":573,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":574,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":575,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1120,"character":24}]},{"id":567,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":568,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":569,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":570,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":571,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1119,"character":25}]}],"groups":[{"title":"Properties","kind":1024,"children":[556]},{"title":"Methods","kind":2048,"children":[576,560,557,572,567]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1115,"character":30}]},{"id":509,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":510,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":511,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":512,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":513,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":514,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":509}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1100,"character":33}]},{"id":515,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1102,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":516,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":517,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":518,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":519,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":520,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":521,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":522,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1103,"character":9}]},{"id":549,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1111,"character":10}]},{"id":546,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":547,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":548,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1110,"character":6}]},{"id":543,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":544,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":545,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1109,"character":9}]},{"id":551,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":552,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1112,"character":10}]},{"id":533,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":534,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":535,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":536,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1107,"character":13}]},{"id":530,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":531,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":532,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1106,"character":11}]},{"id":527,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":528,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":529,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1105,"character":11}]},{"id":523,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":524,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":525,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":526,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1104,"character":12}]},{"id":537,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":538,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":539,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":540,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":541,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":542,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1108,"character":23}]},{"id":553,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":554,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1113,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[510]},{"title":"Properties","kind":1024,"children":[515]},{"title":"Methods","kind":2048,"children":[516,549,546,543,551,533,530,527,523,537,553]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1100,"character":31}]},{"id":453,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":456,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":457,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":458,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":453}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1081,"character":23}]},{"id":459,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":460,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":461,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":462,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1083,"character":14}]},{"id":454,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":455,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1081,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[456]},{"title":"Methods","kind":2048,"children":[459,454]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1080,"character":40}]},{"id":405,"name":"StaticViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":412,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":413,"name":"new StaticViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":414,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","name":"IStaticViewConfig","id":18}]}}],"type":{"type":"reference","name":"StaticViewStrategy","id":405}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":23}]},{"id":407,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":985,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reflection","declaration":{"id":408,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":409,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Record","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"}]}]}]}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":985,"character":28}]}}]}},{"id":411,"name":"factory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":9}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":410,"name":"factoryIsReady","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":986,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":406,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"internal","text":""}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":982,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}},{"id":415,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":416,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":417,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":418,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":419,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":420,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":998,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[412]},{"title":"Properties","kind":1024,"children":[407,411,410,406]},{"title":"Methods","kind":2048,"children":[415]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":979,"character":39}]},{"id":303,"name":"TargetInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Provides all the instructions for how a target element should be enhanced inside of a view."},"children":[{"id":315,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":783,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":312,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":780,"character":22}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":268}]}},{"id":309,"name":"contentExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates if this instruction is targeting a text node"},"sources":[{"fileName":"aurelia-templating.d.ts","line":773,"character":19}],"type":{"type":"intrinsic","name":"any"}},{"id":316,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":784,"character":20}],"type":{"type":"reference","name":"BehaviorInstruction","id":268}},{"id":311,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":779,"character":13}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":304,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":764,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":310,"name":"letElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates if this instruction is a let element instruction"},"sources":[{"fileName":"aurelia-templating.d.ts","line":778,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":317,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":785,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":305,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":765,"character":18}],"type":{"type":"intrinsic","name":"number"}},{"id":313,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":781,"character":11}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":306,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":766,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":308,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":768,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":307,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":767,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":318,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":786,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":314,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":782,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":319,"name":"noExpressions","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"An empty array used to represent a target with no binding expressions."},"sources":[{"fileName":"aurelia-templating.d.ts","line":791,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":323,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":324,"name":"contentExpression","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a binding expression in the content of an element.","returns":"The created instruction.\n"},"parameters":[{"id":325,"name":"expression","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The binding expression."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":805,"character":26}]},{"id":326,"name":"letElement","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":327,"name":"letElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":328,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":817,"character":19}]},{"id":329,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":330,"name":"lifting","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents content that was lifted out of the DOM and into a ViewFactory.","returns":"The created instruction.\n"},"parameters":[{"id":331,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":332,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":825,"character":16}]},{"id":333,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":334,"name":"normal","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":335,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":336,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}},{"id":337,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":338,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":268}]}},{"id":339,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":340,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":837,"character":15}]},{"id":320,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":321,"name":"shadowSlot","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a shadow dom slot.","returns":"The created instruction.\n"},"parameters":[{"id":322,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":798,"character":19}]},{"id":341,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":342,"name":"surrogate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents the surrogate behaviors and bindings for an element.","returns":"The created instruction.\n"},"parameters":[{"id":343,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":344,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":268}]}},{"id":345,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":346,"name":"values","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes to transplant."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"TargetInstruction","id":303}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":847,"character":18}]}],"groups":[{"title":"Properties","kind":1024,"children":[315,312,309,316,311,304,310,317,305,313,306,308,307,318,314,319]},{"title":"Methods","kind":2048,"children":[323,326,329,333,320,341]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":763,"character":38}]},{"id":382,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":383,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":384,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":385,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"intrinsic","name":"string"}},{"id":386,"name":"entry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The template registry entry used in loading the view factory.\n"},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","name":"TemplateRegistryViewStrategy","id":382}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":936,"character":51}]},{"id":387,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":388,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":389,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":390,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":391,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":392,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":953,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[383]},{"title":"Methods","kind":2048,"children":[387]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":936,"character":49}]},{"id":1004,"name":"TemplatingEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A facade of the templating engine capabilties which provides a more user friendly API for common use cases."},"children":[{"id":1005,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":1006,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":1007,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":1008,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":827}},{"id":1009,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":1010,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":977}}],"type":{"type":"reference","name":"TemplatingEngine","id":1004}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2173,"character":39}]},{"id":1014,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1015,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes components and views.","returns":"A promise for the resulting Controller or View. Consumers of this API\nare responsible for enforcing the Controller/View lifecycle.\n"},"parameters":[{"id":1016,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The composition context to use."},"type":{"type":"reference","name":"CompositionContext","id":133}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Controller","id":874}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2196,"character":9}]},{"id":1011,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1012,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":1013,"name":"animator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","name":"Animator","id":156}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2188,"character":19}]},{"id":1017,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1018,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enhances existing DOM with behaviors and bindings.","returns":"A View representing the enhanced UI. Consumers of this API\nare responsible for enforcing the View lifecycle.\n"},"parameters":[{"id":1019,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element to enhance or a set of instructions for the enhancement process."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"EnhanceInstruction","id":150}]}}],"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2204,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[1005]},{"title":"Methods","kind":2048,"children":[1014,1011,1017]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2173,"character":37}]},{"id":649,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":656,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":657,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":658,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":659,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":660,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":661,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Controller","id":874}}},{"id":662,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"array","elementType":{"type":"reference","name":"Binding"}}},{"id":663,"name":"children","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"array","elementType":{"type":"reference","name":"ViewNode","id":100}}},{"id":664,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1296,"character":25}]},{"id":653,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The primary binding context that this view is data-bound to."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1286,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":650,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Dependency Injection Container that was used to create this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1271,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":655,"name":"controller","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Controller instance that owns this View."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1296,"character":12}],"type":{"type":"reference","name":"Controller","id":874}},{"id":652,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Contains the DOM Nodes which represent this View. If the view was created via the \"enhance\" API, this will be an Element, otherwise it will be a DocumentFragment. If not created via \"enhance\" then the fragment will only contain nodes when the View is detached from the DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1281,"character":10}],"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":654,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The override context which contains properties capable of overriding those found on the binding context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1291,"character":17}],"type":{"type":"reference","name":"Object"}},{"id":651,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The ViewFactory that built this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1276,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":674,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":675,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":676,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1330,"character":12}]},{"id":682,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":683,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":684,"name":"parent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The parent element to append this view's nodes to.\n"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1347,"character":15}]},{"id":687,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":688,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1357,"character":10}]},{"id":669,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":670,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":671,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":672,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}},{"id":673,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1324,"character":6}]},{"id":667,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":668,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the created callback for this view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1317,"character":9}]},{"id":689,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":690,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1362,"character":10}]},{"id":679,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":680,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":681,"name":"refNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to insert this view's nodes before.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1341,"character":19}]},{"id":685,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":686,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1352,"character":13}]},{"id":665,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":666,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1312,"character":15}]},{"id":677,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":678,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1335,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[656]},{"title":"Properties","kind":1024,"children":[653,650,655,652,654,651]},{"title":"Methods","kind":2048,"children":[674,682,687,669,667,689,679,685,665,677]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1266,"character":25}]},{"id":259,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":264,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":265,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":266,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"intrinsic","name":"boolean"}},{"id":267,"name":"compileSurrogate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation also include surrogate bindings and behaviors.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":683,"character":40}]},{"id":262,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":678,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":261,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":677,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":260,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":676,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":263,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The normal configuration for view compilation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":683,"character":15}],"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"groups":[{"title":"Constructors","kind":512,"children":[264]},{"title":"Properties","kind":1024,"children":[262,261,260,263]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":675,"character":43}]},{"id":785,"name":"ViewCompiler","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views."},"children":[{"id":786,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":787,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":788,"name":"bindingLanguage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The default data binding language and syntax used during view compilation."},"type":{"type":"reference","name":"BindingLanguage","id":432}},{"id":789,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The global resources used during compilation when none are provided for compilation.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"reference","name":"ViewCompiler","id":785}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1568,"character":35}]},{"id":790,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":791,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Compiles an html template, dom fragment or string into ViewFactory instances, capable of instantiating Views.","returns":"The compiled ViewFactory.\n"},"parameters":[{"id":792,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template, fragment or string to compile."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"DocumentFragment"},{"type":"intrinsic","name":"string"}]}},{"id":793,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":794,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A set of instructions that customize how compilation occurs."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"type":{"type":"reference","name":"ViewFactory","id":764}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1584,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[786]},{"title":"Methods","kind":2048,"children":[790]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1568,"character":33}]},{"id":838,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":840,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":841,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":842,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":843,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":844,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":845,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":827}},{"id":846,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"reference","name":"ViewEngine","id":838}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1690,"character":42}]},{"id":839,"name":"viewModelRequireMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing requires declared in a ViewModel."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1690,"character":36}],"type":{"type":"intrinsic","name":"any"}},{"id":847,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":848,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":849,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"intrinsic","name":"string"}},{"id":850,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The plugin implementation that handles the resource type.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1707,"character":19}]},{"id":863,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":864,"name":"importViewModelResource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view model as a resource.","returns":"A promise for the ResourceDescription.\n"},"parameters":[{"id":865,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"intrinsic","name":"string"}},{"id":866,"name":"moduleMember","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The export from the module to generate the resource for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ResourceDescription","id":810}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1735,"character":25}]},{"id":867,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":868,"name":"importViewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Imports the specified resources with the specified names into the view resources object.","returns":"A promise for the ViewResources.\n"},"parameters":[{"id":869,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":870,"name":"names","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The names associated with resource modules to import."},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":871,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":872,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compilation instruction associated with the resource imports."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":873,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":249}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":584}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1745,"character":21}]},{"id":857,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":858,"name":"loadTemplateResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads all the resources specified by the registry entry.","returns":"A promise of ViewResources for the registry entry.\n"},"parameters":[{"id":859,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":860,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":861,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":862,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":584}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1727,"character":23}]},{"id":851,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":852,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads and compiles a ViewFactory from a url or template registry entry.","returns":"A promise for the compiled view factory.\n"},"parameters":[{"id":853,"name":"urlOrRegistryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A url or template registry entry to generate the view factory for."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"TemplateRegistryEntry"}]}},{"id":854,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Instructions detailing how the factory should be compiled."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":855,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this factory load is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":856,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1717,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[840]},{"title":"Properties","kind":1024,"children":[839]},{"title":"Methods","kind":2048,"children":[847,863,867,857,851]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1685,"character":31}]},{"id":206,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":207,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":208,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"ViewEngineHooksResource","id":206}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":46}]},{"id":209,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":210,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":211,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":212,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":597,"character":12}]},{"id":217,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":218,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":219,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":220,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":599,"character":6}]},{"id":213,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":214,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":215,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":216,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":598,"character":10}]},{"id":221,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":222,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":223,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":600,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[207]},{"title":"Methods","kind":2048,"children":[209,217,213,221]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":44}]},{"id":764,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":766,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":767,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":768,"name":"template","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The document fragment that serves as a template for the view to be created."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":769,"name":"instructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions to be applied ot the template during the creation of a view."},"type":{"type":"reference","name":"Object"}},{"id":770,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"reference","name":"ViewFactory","id":764}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1526,"character":17}]},{"id":765,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1526,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":780,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":781,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"parameters":[{"id":782,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":783,"name":"createInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction used to customize view creation."},"type":{"type":"reference","name":"ViewCreateInstruction","id":8}},{"id":784,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The custom element that hosts the view."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1562,"character":8}]},{"id":775,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":776,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":649}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1547,"character":15}]},{"id":777,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":778,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":779,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1553,"character":19}]},{"id":771,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":772,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":773,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"string"}]}},{"id":774,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1541,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[766]},{"title":"Properties","kind":1024,"children":[765]},{"title":"Methods","kind":2048,"children":[780,775,777,771]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1521,"character":32}]},{"id":421,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":422,"name":"viewStrategyMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing/finding view strategies associated with an class/object."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1009,"character":32}],"type":{"type":"intrinsic","name":"any"}},{"id":429,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":430,"name":"convertOriginToViewUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Conventionally converts a view model origin to a view url.\nUsed by the ConventionalViewStrategy.","returns":"The view url.\n"},"parameters":[{"id":431,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to convert."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1032,"character":24}]},{"id":426,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":427,"name":"createFallbackViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a fallback View Strategy. Used when unable to locate a configured strategy.\nThe default implementation returns and instance of ConventionalViewStrategy.","returns":"The fallback ViewStrategy.\n"},"parameters":[{"id":428,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to return the strategy for."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ViewStrategy","id":11}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1024,"character":28}]},{"id":423,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":424,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the view strategy for the value.","returns":"The located ViewStrategy instance.\n"},"parameters":[{"id":425,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value to locate the view strategy for."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"ViewStrategy","id":11}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1016,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[422]},{"title":"Methods","kind":2048,"children":[429,426,423]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1004,"character":32}]},{"id":584,"name":"ViewResources","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a collection of resources used during the compilation of a view.\nWill optinally add information to an existing HtmlBehaviorResource if given"},"children":[{"id":590,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":591,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":592,"name":"parent","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The parent resources. This resources can override them, but if a resource is not found, it will be looked up in the parent."},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":593,"name":"viewUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The url of the view to which these resources apply.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"ViewResources","id":584}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1141,"character":23}]},{"id":589,"name":"bindingLanguage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A custom binding language used in the view."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1141,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":645,"name":"autoRegister","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":646,"name":"autoRegister","kind":4096,"kindString":"Call signature","flags":{},"comment":{"returns":"\n","tags":[{"tag":"internal","text":"\nNot supported for public use. Can be changed without warning.\n\nAuto register a resources based on its metadata or convention\nWill fallback to custom element if no metadata found and all conventions fail"}]},"parameters":[{"id":647,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}},{"id":648,"name":"impl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1264,"character":14}]},{"id":621,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":622,"name":"getAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML attribute behavior.","returns":"The HtmlBehaviorResource for the attribute or null.\n"},"parameters":[{"id":623,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1210,"character":14}]},{"id":635,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":636,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":637,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1238,"character":20}]},{"id":597,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":598,"name":"getBindingLanguage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the binding language associated with these resources, or return the provided fallback implementation.","returns":"The binding language.\n"},"parameters":[{"id":599,"name":"bindingLanguageFallback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The fallback binding language implementation to use if no binding language is configured locally."},"type":{"type":"reference","name":"BindingLanguage","id":432}}],"type":{"type":"reference","name":"BindingLanguage","id":432}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1161,"character":20}]},{"id":610,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":611,"name":"getElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML element behavior.","returns":"The HtmlBehaviorResource for the tag name or null.\n"},"parameters":[{"id":612,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag name to search for."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1188,"character":12}]},{"id":642,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":643,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":644,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1252,"character":10}]},{"id":628,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":629,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":630,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1224,"character":19}]},{"id":613,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":614,"name":"mapAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the known attribute name based on the local attribute name.","returns":"The known name.\n"},"parameters":[{"id":615,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The local attribute name to lookup."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1195,"character":14}]},{"id":600,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":601,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":602,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":584}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1167,"character":15}]},{"id":616,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":617,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":618,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":619,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":620,"name":"knownAttribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The well-known name of the attribute (in lieu of the local name).\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1203,"character":19}]},{"id":631,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":632,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":633,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"intrinsic","name":"string"}},{"id":634,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1231,"character":25}]},{"id":606,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":607,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":608,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"intrinsic","name":"string"}},{"id":609,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1181,"character":17}]},{"id":638,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":639,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":640,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"intrinsic","name":"string"}},{"id":641,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1245,"character":15}]},{"id":624,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":625,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":626,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"intrinsic","name":"string"}},{"id":627,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1217,"character":24}]},{"id":594,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":595,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":596,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","name":"ViewEngineHooks","id":36}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1154,"character":25}]},{"id":603,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":604,"name":"relativeToView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a path relative to the associated view's origin.","returns":"The calcualted path.\n"},"parameters":[{"id":605,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1174,"character":16}]},{"id":585,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":586,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided class contains any resource conventions"},"parameters":[{"id":587,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Target class to extract metadata based on convention"},"type":{"type":"reference","name":"Function"}},{"id":588,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If supplied, all custom element / attribute metadata extracted from convention will be apply to this instance\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}}],"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":939},{"type":"reference","name":"ValueConverterResource"},{"type":"reference","name":"BindingBehaviorResource"},{"type":"reference","name":"ViewEngineHooksResource","id":206}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1136,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[590]},{"title":"Properties","kind":1024,"children":[589]},{"title":"Methods","kind":2048,"children":[645,621,635,597,610,642,628,613,600,616,631,606,638,624,594,603,585]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1129,"character":34}]},{"id":691,"name":"ViewSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a slot or location within the DOM to which views can be added and removed.\nManages the view lifecycle for its children."},"children":[{"id":692,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":693,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":694,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM node which will server as the anchor or container for insertion."},"type":{"type":"reference","name":"Node"}},{"id":695,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"intrinsic","name":"boolean"}},{"id":696,"name":"animator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The animator that will controll enter/leave transitions for this slot.\n"},"type":{"type":"reference","name":"Animator","id":156}}],"type":{"type":"reference","name":"ViewSlot","id":691}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1369,"character":31}]},{"id":709,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":710,"name":"add","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a view to the slot.","returns":"May return a promise if the view addition triggered an animation.\n"},"parameters":[{"id":711,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1410,"character":5}]},{"id":697,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":698,"name":"animateView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":" Runs the animator against the first animatable element found within the view's fragment\n @param view The view to use when searching for the element.\n @param direction The animation direction enter|leave.\n @returns An animation complete Promise or undefined if no animation was run."},"parameters":[{"id":699,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}},{"id":700,"name":"direction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1385,"character":13}]},{"id":739,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":740,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1465,"character":10}]},{"id":703,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":704,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":705,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":706,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1398,"character":6}]},{"id":741,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":742,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1470,"character":10}]},{"id":712,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":713,"name":"insert","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts a view into the slot.","returns":"May return a promise if the view insertion triggered an animation.\n"},"parameters":[{"id":714,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":715,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1418,"character":8}]},{"id":716,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":717,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":718,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"intrinsic","name":"any"}},{"id":719,"name":"targetIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index to insert the view at.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1425,"character":6}]},{"id":743,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":744,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":745,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1471,"character":11}]},{"id":720,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":721,"name":"remove","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":722,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":649}},{"id":723,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":724,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":649}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1434,"character":8}]},{"id":735,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":736,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all views from the slot.","returns":"May return a promise if the view removals triggered an animation.\n"},"parameters":[{"id":737,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":738,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1460,"character":11}]},{"id":730,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":731,"name":"removeAt","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view an a specified index from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":732,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"intrinsic","name":"number"}},{"id":733,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":734,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":649},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":649}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1452,"character":10}]},{"id":725,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":726,"name":"removeMany","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes many views from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":727,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"array","elementType":{"type":"reference","name":"View","id":649}}},{"id":728,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the views be returned to the view cache?"},"type":{"type":"intrinsic","name":"boolean"}},{"id":729,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1443,"character":12}]},{"id":701,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":702,"name":"transformChildNodesIntoView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Takes the child nodes of an existing element that has been converted into a ViewSlot\nand makes those nodes into a View within the slot."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1391,"character":29}]},{"id":707,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":708,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1403,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[692]},{"title":"Methods","kind":2048,"children":[709,697,739,703,741,712,716,743,720,735,730,725,701,707]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1369,"character":29}]},{"id":121,"name":"ComponentAttached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the attached convention."},"children":[{"id":122,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":123,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when the component is attached to the DOM (in document)."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":320,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[122]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":315,"character":42}]},{"id":116,"name":"ComponentBind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the bind convention."},"children":[{"id":117,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":118,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when databinding is activated on the view and view-model.\nThe \"binding context\" to which the component is being bound will be passed first.\nAn \"override context\" will be passed second. The override context contains information used to traverse\nthe parent hierarchy and can also be used to add any contextual properties that the component wants to add."},"parameters":[{"id":119,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":120,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":306,"character":6}]}],"groups":[{"title":"Methods","kind":2048,"children":[117]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":298,"character":38}]},{"id":111,"name":"ComponentCreated","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the created convention."},"children":[{"id":112,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":113,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the constructor has been called.\nAt this point in time, the view has also been created and both the view-model and the view\nare connected to their controller. The hook will recieve the instance of the \"owningView\".\nThis is the view that the component is declared inside of. If the component itself has a view,\nthis will be passed second."},"parameters":[{"id":114,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}},{"id":115,"name":"myView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":289,"character":9}]}],"groups":[{"title":"Methods","kind":2048,"children":[112]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":280,"character":41}]},{"id":124,"name":"ComponentDetached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the detached convention."},"children":[{"id":125,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":126,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic if/when the component is removed from the the DOM."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":334,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[125]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":329,"character":42}]},{"id":127,"name":"ComponentUnbind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the unbind convention."},"children":[{"id":128,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":129,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the component is detached and unbound."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":348,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[128]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":343,"character":40}]},{"id":133,"name":"CompositionContext","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the composition engine how to dynamically compose a component."},"children":[{"id":136,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The context in which the view model is executed in."},"sources":[{"fileName":"aurelia-templating.d.ts","line":383,"character":16}],"type":{"type":"intrinsic","name":"any"}},{"id":135,"name":"childContainer","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The child Container for the component creation. One will be created from the parent if not provided."},"sources":[{"fileName":"aurelia-templating.d.ts","line":378,"character":16}],"type":{"type":"reference","name":"Container"}},{"id":134,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent Container for the component creation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":373,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":146,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The element that will parent the dynamic component.\nIt will be registered in the child container of this composition."},"sources":[{"fileName":"aurelia-templating.d.ts","line":434,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":139,"name":"model","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Data to be passed to the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":398,"character":7}],"type":{"type":"intrinsic","name":"any"}},{"id":137,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":388,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":142,"name":"owningView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view inside which this composition is happening."},"sources":[{"fileName":"aurelia-templating.d.ts","line":413,"character":12}],"type":{"type":"reference","name":"View","id":649}},{"id":145,"name":"skipActivation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Should the composition system skip calling the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":428,"character":16}],"type":{"type":"intrinsic","name":"boolean"}},{"id":143,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view url or view strategy to override the default view location convention."},"sources":[{"fileName":"aurelia-templating.d.ts","line":418,"character":6}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ViewStrategy","id":11}]}},{"id":138,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view model url or instance for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":393,"character":11}],"type":{"type":"intrinsic","name":"any"}},{"id":140,"name":"viewModelResource","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The HtmlBehaviorResource for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":403,"character":19}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":939}},{"id":141,"name":"viewResources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view resources for the view in which the component should be created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":408,"character":15}],"type":{"type":"reference","name":"ViewResources","id":584}},{"id":144,"name":"viewSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The slot to push the dynamically composed component into."},"sources":[{"fileName":"aurelia-templating.d.ts","line":423,"character":10}],"type":{"type":"reference","name":"ViewSlot","id":691}}],"groups":[{"title":"Properties","kind":1024,"children":[136,135,134,146,139,137,142,145,143,138,140,141,144]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":368,"character":43}]},{"id":130,"name":"DynamicComponentGetViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the getViewStrategy convention for dynamic components (used with the compose element or the router)."},"children":[{"id":131,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":132,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to provide custom view strategy when this component is used with the compose element or the router."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ViewStrategy","id":11}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":362,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[131]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":357,"character":56}]},{"id":150,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":154,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A binding context for the enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":464,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":151,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The DI container to use as the root for UI enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":449,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":152,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The element to enhance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":454,"character":9}],"type":{"type":"reference","name":"Element"}},{"id":155,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":469,"character":17}],"type":{"type":"intrinsic","name":"any"}},{"id":153,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resources available for enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":459,"character":11}],"type":{"type":"reference","name":"ViewResources","id":584}}],"groups":[{"title":"Properties","kind":1024,"children":[154,151,152,155,153]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":444,"character":43}]},{"id":2,"name":"EventHandler","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4,"name":"bubbles","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":42,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":5,"name":"capture","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":43,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":6,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":44,"character":9}],"type":{"type":"reference","name":"Function"}},{"id":3,"name":"eventName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":41,"character":11}],"type":{"type":"intrinsic","name":"string"}},{"id":7,"name":"handler","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":45,"character":9}],"type":{"type":"reference","name":"Function"}}],"groups":[{"title":"Properties","kind":1024,"children":[4,5,6,3,7]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":40,"character":37}]},{"id":66,"name":"IBindablePropertyConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":{"id":73,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":74,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}},"children":[{"id":68,"name":"attribute","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":161,"character":11}],"type":{"type":"intrinsic","name":"string"}},{"id":70,"name":"changeHandler","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The name of a view model method to invoke when the property is updated."},"sources":[{"fileName":"aurelia-templating.d.ts","line":171,"character":15}],"type":{"type":"intrinsic","name":"string"}},{"id":69,"name":"defaultBindingMode","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The default binding mode of the property. If given string, will use to lookup"},"sources":[{"fileName":"aurelia-templating.d.ts","line":166,"character":20}],"type":{"type":"union","types":[{"type":"reference","name":"bindingMode"},{"type":"stringLiteral","value":"oneTime"},{"type":"stringLiteral","value":"oneWay"},{"type":"stringLiteral","value":"twoWay"},{"type":"stringLiteral","value":"fromView"},{"type":"stringLiteral","value":"toView"}]}},{"id":71,"name":"defaultValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A default value for the property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":176,"character":14}],"type":{"type":"intrinsic","name":"any"}},{"id":67,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The name of the property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":160,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":72,"name":"primaryProperty","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Designates the property as the default bindable property among all the other bindable properties when used in a custom attribute with multiple bindable properties."},"sources":[{"fileName":"aurelia-templating.d.ts","line":181,"character":17}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[68,70,69,71,67,72]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":155,"character":48}]},{"id":75,"name":"IStaticResourceConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":99,"name":"bindables","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"List of bindable properties of this custom element / custom attribute, by name or full config object"},"sources":[{"fileName":"aurelia-templating.d.ts","line":245,"character":11}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"reference","name":"IBindablePropertyConfig","id":66}}]}},{"id":83,"name":"containerless","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flag a custom element as containerless. Which will remove their render target"},"sources":[{"fileName":"aurelia-templating.d.ts","line":226,"character":15}],"type":{"type":"intrinsic","name":"boolean"}},{"id":79,"name":"defaultBindingMode","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Used to set default binding mode of default custom attribute view model \"value\" property"},"sources":[{"fileName":"aurelia-templating.d.ts","line":206,"character":20}],"type":{"type":"union","types":[{"type":"reference","name":"bindingMode"},{"type":"stringLiteral","value":"oneTime"},{"type":"stringLiteral","value":"oneWay"},{"type":"stringLiteral","value":"twoWay"},{"type":"stringLiteral","value":"fromView"},{"type":"stringLiteral","value":"toView"}]}},{"id":80,"name":"hasDynamicOptions","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flags a custom attribute has dynamic options"},"sources":[{"fileName":"aurelia-templating.d.ts","line":211,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":77,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Name of this resource. Reccommended to explicitly set to works better with minifier"},"sources":[{"fileName":"aurelia-templating.d.ts","line":196,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":84,"name":"processAttributes","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Custom processing of the attributes on an element before the framework inspects them."},"sources":[{"fileName":"aurelia-templating.d.ts","line":231,"character":19}],"type":{"type":"reflection","declaration":{"id":85,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":86,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":87,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":88,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":89,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":90,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NamedNodeMap"}},{"id":91,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":231,"character":21}]}}},{"id":92,"name":"processContent","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Enables custom processing of the content that is places inside the custom element by its consumer.\nPass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content."},"sources":[{"fileName":"aurelia-templating.d.ts","line":240,"character":16}],"type":{"type":"reflection","declaration":{"id":93,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":94,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":95,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompiler","id":785}},{"id":96,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":97,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":98,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BehaviorInstruction","id":268}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":240,"character":18}]}}},{"id":82,"name":"shadowDOMOptions","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Options that will be used if the element is flagged with usesShadowDOM"},"sources":[{"fileName":"aurelia-templating.d.ts","line":221,"character":18}],"type":{"type":"reference","name":"ShadowRootInit"}},{"id":78,"name":"templateController","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Used to tell if a custom attribute is a template controller"},"sources":[{"fileName":"aurelia-templating.d.ts","line":201,"character":20}],"type":{"type":"intrinsic","name":"boolean"}},{"id":76,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Resource type of this class, omit equals to custom element"},"sources":[{"fileName":"aurelia-templating.d.ts","line":191,"character":6}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"element"},{"type":"stringLiteral","value":"attribute"},{"type":"stringLiteral","value":"valueConverter"},{"type":"stringLiteral","value":"bindingBehavior"},{"type":"stringLiteral","value":"viewEngineHooks"}]}},{"id":81,"name":"usesShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Flag if this custom element uses native shadow dom instead of emulation"},"sources":[{"fileName":"aurelia-templating.d.ts","line":216,"character":15}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[99,83,79,80,77,84,92,82,78,76,81]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":186,"character":46}]},{"id":18,"name":"IStaticViewConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":20,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":81,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reflection","declaration":{"id":21,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":22,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Record","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"}]}]}]}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":81,"character":29}]}}]}},{"id":19,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":80,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[20,19]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":79,"character":42}]},{"id":147,"name":"IStaticViewStrategyConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":149,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":438,"character":14}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","name":"Function"}},{"type":"reference","name":"__type"}]}},{"id":148,"name":"template","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":437,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[149,148]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":436,"character":50}]},{"id":26,"name":"LetBinding","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":27,"name":"sourceExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The expression to access/assign/connect the binding source property."},"sources":[{"fileName":"aurelia-templating.d.ts","line":91,"character":18}],"type":{"type":"reference","name":"Expression"}},{"id":31,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":32,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Connects the binding to a scope."},"parameters":[{"id":33,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Scope"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":101,"character":6}]},{"id":34,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":35,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Disconnects the binding from a scope."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":106,"character":8}]},{"id":28,"name":"updateTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":29,"name":"updateTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Assigns a value to the target."},"parameters":[{"id":30,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":96,"character":14}]}],"groups":[{"title":"Properties","kind":1024,"children":[27]},{"title":"Methods","kind":2048,"children":[31,34,28]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":86,"character":35}]},{"id":23,"name":"LetExpression","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":24,"name":"createBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":25,"name":"createBinding","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"LetBinding","id":26}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":84,"character":15}]}],"groups":[{"title":"Methods","kind":2048,"children":[24]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":83,"character":38}]},{"id":8,"name":"ViewCreateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be created."},"children":[{"id":9,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Indicates that the view is being created by enhancing existing DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":56,"character":9}],"type":{"type":"intrinsic","name":"boolean"}},{"id":10,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Specifies a key/value lookup of part replacements for the view being created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":61,"character":18}],"type":{"type":"reference","name":"Object"}}],"groups":[{"title":"Properties","kind":1024,"children":[9,10]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":51,"character":46}]},{"id":36,"name":"ViewEngineHooks","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"View engine hooks that enable a view resource to provide custom processing during the compilation or creation of a view."},"children":[{"id":43,"name":"afterCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a template is compiled.","tags":[{"tag":"param","text":"The view factory that was produced from the compilation process.\n","param":"viewFactory"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":126,"character":14}],"type":{"type":"reflection","declaration":{"id":44,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":45,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":46,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":764}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":126,"character":16}]}}},{"id":54,"name":"afterCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a view is created.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":141,"character":13}],"type":{"type":"reflection","declaration":{"id":55,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":56,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":57,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":141,"character":15}]}}},{"id":58,"name":"beforeBind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after the bindingContext and overrideContext are configured on the view but before the view is bound.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":147,"character":12}],"type":{"type":"reflection","declaration":{"id":59,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":60,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":61,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":147,"character":14}]}}},{"id":37,"name":"beforeCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a template is compiled.","tags":[{"tag":"param","text":"The DocumentFragment to compile.","param":"content"},{"tag":"param","text":"The resources to compile the view against.","param":"resources"},{"tag":"param","text":"The compilation instruction associated with the compilation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":15}],"type":{"type":"reflection","declaration":{"id":38,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":39,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":40,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":41,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":584}},{"id":42,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":17}]}}},{"id":47,"name":"beforeCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a view is created.","tags":[{"tag":"param","text":"The view factory that will be used to create the view.","param":"viewFactory"},{"tag":"param","text":"The DI container used during view creation.","param":"container"},{"tag":"param","text":"The cloned document fragment representing the view.","param":"content"},{"tag":"param","text":"The view creation instruction associated with this creation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":135,"character":14}],"type":{"type":"reflection","declaration":{"id":48,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":49,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":50,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":764}},{"id":51,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":52,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":53,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCreateInstruction","id":8}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":135,"character":16}]}}},{"id":62,"name":"beforeUnbind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before the view is unbind. The bindingContext and overrideContext are still available on the view.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":153,"character":14}],"type":{"type":"reflection","declaration":{"id":63,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":64,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":65,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":649}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":153,"character":16}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[43,54,58,37,47,62]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":112,"character":40}]},{"id":100,"name":"ViewNode","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the view hierarchy."},"children":[{"id":105,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":106,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":264,"character":10}]},{"id":101,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":102,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":103,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":104,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":259,"character":6}]},{"id":107,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":108,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":269,"character":10}]},{"id":109,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the node and its children."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":274,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[105,101,107,109]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":252,"character":33}]},{"id":11,"name":"ViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Implemented by classes that describe how a view factory should be loaded."},"children":[{"id":12,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":14,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":838}},{"id":15,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":259}},{"id":16,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":249}},{"id":17,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":764}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":77,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[12]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":67,"character":37}]},{"id":1035,"name":"SwapStrategies","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1978,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1020,"name":"animationEvent","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"List the events that an Animator should raise."},"sources":[{"fileName":"aurelia-templating.d.ts","line":475,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":1024,"name":"viewStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Decorator: Indicates that the decorated class/object is a view strategy."},"sources":[{"fileName":"aurelia-templating.d.ts","line":856,"character":33}],"type":{"type":"reference","name":"Function"}},{"id":1039,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1040,"name":"behavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a custom HtmlBehaviorResource instance or an object that overrides various implementation details of the default HtmlBehaviorResource."},"parameters":[{"id":1041,"name":"override","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The customized HtmlBehaviorResource or an object to override the default with.\n"},"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":939},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2056,"character":32}]},{"id":1053,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1054,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":1055,"name":"nameOrConfigOrTarget","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the property, or a configuration object.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}},{"id":1056,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":1057,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2083,"character":32}]},{"id":1032,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1033,"name":"child","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an immediate content child element that matches the provided selector."},"parameters":[{"id":1034,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1977,"character":29}]},{"id":1029,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1030,"name":"children","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an array of immediate content child elements that matches the provided selector."},"parameters":[{"id":1031,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1972,"character":32}]},{"id":1070,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1071,"name":"containerless","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should be rendered without its\nelement container."},"parameters":[{"id":1072,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2117,"character":37}]},{"id":1045,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1046,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":1047,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"intrinsic","name":"string"}},{"id":1048,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound with .bind."},"type":{"type":"intrinsic","name":"number"}},{"id":1049,"name":"aliases","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The array of aliases to associate to the custom attribute.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2070,"character":39}]},{"id":1042,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1043,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":1044,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2062,"character":37}]},{"id":1058,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1059,"name":"dynamicOptions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that the decorated custom attribute has options that\nare dynamic, based on their presence in HTML and not statically known."},"parameters":[{"id":1060,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2089,"character":38}]},{"id":1091,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1092,"name":"elementConfig","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class provides element configuration\nto the EventManager for one or more Web Components."},"parameters":[{"id":1093,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2157,"character":37}]},{"id":1079,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1080,"name":"inlineView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a view template, directly inline, for the component. Be\nsure to wrap the markup in a template element."},"parameters":[{"id":1081,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"intrinsic","name":"string"}},{"id":1082,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A list of dependencies that the template has."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":1083,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A base url from which the dependencies will be loaded.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2138,"character":34}]},{"id":1084,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1085,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":1086,"name":"targetOrDependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Array","typeArguments":[{"type":"intrinsic","name":"any"}]}]}},{"id":1087,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2143,"character":30}]},{"id":1064,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1065,"name":"processAttributes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the attributes on an element before the framework inspects them."},"parameters":[{"id":1066,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a function which can provide custom processing of the content.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2101,"character":41}]},{"id":1067,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1068,"name":"processContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the content that is places inside the\ncustom element by its consumer."},"parameters":[{"id":1069,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Function"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2111,"character":38}]},{"id":1036,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1037,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":1038,"name":"instanceOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resource instance.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2050,"character":32}]},{"id":1050,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1051,"name":"templateController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Applied to custom attributes. Indicates that whatever element the\nattribute is placed on should be converted into a template and that this\nattribute controls the instantiation of the template."},"parameters":[{"id":1052,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2077,"character":42}]},{"id":1061,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1062,"name":"useShadowDOM","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should render its view in Shadow\nDOM. This decorator may change slightly when Aurelia updates to Shadow DOM v1."},"parameters":[{"id":1063,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2095,"character":36}]},{"id":1076,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1077,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":1078,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to the view.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2129,"character":31}]},{"id":1073,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1074,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":1075,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2123,"character":39}]},{"id":1025,"name":"validateBehaviorName","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1026,"name":"validateBehaviorName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1027,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":1028,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1123,"character":44}]},{"id":1088,"name":"view","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1089,"name":"view","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the element use static view"},"parameters":[{"id":1090,"name":"templateOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"HTMLTemplateElement"},{"type":"reference","name":"IStaticViewStrategyConfig","id":147}]}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2151,"character":28}]},{"id":1021,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1022,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":1023,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":602,"character":39}]},{"id":1094,"name":"viewResources","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1095,"name":"viewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides the ability to add resources to the related View\nSame as: "},"parameters":[{"id":1096,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"Either: strings with moduleIds, Objects with 'src' and optionally 'as' properties or one of the classes of the module to be included.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2164,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[156,268,900,923,432,746,977,199,185,191,874,360,991,224,939,393,827,371,463,347,810,249,795,555,509,453,405,303,382,1004,649,259,785,838,206,764,421,584,691]},{"title":"Interfaces","kind":256,"children":[121,116,111,124,127,133,130,150,2,66,75,18,147,26,23,8,36,100,11]},{"title":"Variables","kind":32,"children":[1035,1020,1024]},{"title":"Functions","kind":64,"children":[1039,1053,1032,1029,1070,1045,1042,1058,1091,1079,1084,1064,1067,1036,1050,1061,1076,1073,1025,1088,1021,1094]}]}
\ No newline at end of file
+{"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