You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The framework core that provides the main Aurelia object.
27
27
*/
28
28
exportclassAurelia{
29
+
29
30
/**
30
31
* The loader used by the application.
31
32
*/
32
33
loader: Loader;
34
+
33
35
/**
34
36
* The root DI container used by the application.
35
37
*/
36
38
container: Container;
39
+
37
40
/**
38
41
* The global view resources used by the application.
39
42
*/
40
43
resources: ViewResources;
44
+
41
45
/**
42
46
* The configuration used during application startup.
43
47
*/
44
48
use: FrameworkConfiguration;
49
+
45
50
/**
46
51
* Creates an instance of Aurelia.
47
52
* @param loader The loader for this Aurelia instance to use. If a loader is not specified, Aurelia will use the loader type specified by PLATFORM.Loader.
48
53
* @param container The dependency injection container for this Aurelia instance to use. If a container is not specified, Aurelia will create an empty, global container.
49
54
* @param resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.
* Plugs in the default binding language from aurelia-templating-binding.
164
173
* @return Returns the current FrameworkConfiguration instance.
165
174
*/
166
175
defaultBindingLanguage(): FrameworkConfiguration;
167
-
176
+
168
177
/**
169
178
* Plugs in the router from aurelia-templating-router.
170
179
* @return Returns the current FrameworkConfiguration instance.
171
180
*/
172
181
router(): FrameworkConfiguration;
173
-
182
+
174
183
/**
175
184
* Plugs in the default history implementation from aurelia-history-browser.
176
185
* @return Returns the current FrameworkConfiguration instance.
177
186
*/
178
187
history(): FrameworkConfiguration;
179
-
188
+
180
189
/**
181
190
* Plugs in the default templating resources (if, repeat, show, compose, etc.) from aurelia-templating-resources.
182
191
* @return Returns the current FrameworkConfiguration instance.
183
192
*/
184
193
defaultResources(): FrameworkConfiguration;
185
-
194
+
186
195
/**
187
196
* Plugs in the event aggregator from aurelia-event-aggregator.
188
197
* @return Returns the current FrameworkConfiguration instance.
189
198
*/
190
199
eventAggregator(): FrameworkConfiguration;
191
-
200
+
192
201
/**
193
202
* Sets up the Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().history().router().eventAggregator();`
194
203
* @return Returns the current FrameworkConfiguration instance.
195
204
*/
196
205
standardConfiguration(): FrameworkConfiguration;
197
-
206
+
198
207
/**
199
208
* Plugs in the ConsoleAppender and sets the log level to debug.
200
209
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
201
210
*/
202
211
developmentLogging(): FrameworkConfiguration;
203
-
212
+
204
213
/**
205
214
* Loads and configures the plugins registered with this instance.
206
215
* @return Returns a promise which resolves when all plugins are loaded and configured.
0 commit comments