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
Copy file name to clipboardExpand all lines: dist/aurelia-framework.d.ts
+43-35Lines changed: 43 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -26,55 +26,55 @@ import {
26
26
* The framework core that provides the main Aurelia object.
27
27
*/
28
28
exportdeclareclassAurelia{
29
-
29
+
30
30
/**
31
31
* The DOM Element that Aurelia will attach to.
32
32
*/
33
33
host: Element;
34
-
34
+
35
35
/**
36
36
/**
37
37
* The loader used by the application.
38
38
*/
39
39
loader: Loader;
40
-
40
+
41
41
/**
42
42
* The root DI container used by the application.
43
43
*/
44
44
container: Container;
45
-
45
+
46
46
/**
47
47
* The global view resources used by the application.
48
48
*/
49
49
resources: ViewResources;
50
-
50
+
51
51
/**
52
52
* The configuration used during application startup.
53
53
*/
54
54
use: FrameworkConfiguration;
55
-
55
+
56
56
/**
57
57
* Creates an instance of Aurelia.
58
58
* @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.
59
59
* @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.
60
60
* @param resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.
// Note: Please do NOT add PLATFORM.moduleName() around those module names.
179
+
// Those functions are not guaranteed to be called, they are here to faciliate
180
+
// common configurations. If they are not called, we don't want to include a
181
+
// static dependency on those modules.
182
+
// Including those modules in the bundle or not is a decision that must be
183
+
// taken by the bundling tool, at build time.
177
184
/**
178
185
* Plugs in the default binding language from aurelia-templating-binding.
179
186
* @return Returns the current FrameworkConfiguration instance.
180
187
*/
181
188
defaultBindingLanguage(): FrameworkConfiguration;
182
-
189
+
183
190
/**
184
191
* Plugs in the router from aurelia-templating-router.
185
192
* @return Returns the current FrameworkConfiguration instance.
186
193
*/
187
194
router(): FrameworkConfiguration;
188
-
195
+
189
196
/**
190
197
* Plugs in the default history implementation from aurelia-history-browser.
191
198
* @return Returns the current FrameworkConfiguration instance.
192
199
*/
193
200
history(): FrameworkConfiguration;
194
-
201
+
195
202
/**
196
203
* Plugs in the default templating resources (if, repeat, show, compose, etc.) from aurelia-templating-resources.
197
204
* @return Returns the current FrameworkConfiguration instance.
198
205
*/
199
206
defaultResources(): FrameworkConfiguration;
200
-
207
+
201
208
/**
202
209
* Plugs in the event aggregator from aurelia-event-aggregator.
203
210
* @return Returns the current FrameworkConfiguration instance.
204
211
*/
205
212
eventAggregator(): FrameworkConfiguration;
206
-
213
+
207
214
/**
208
215
* Sets up a basic Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().eventAggregator();`
209
216
* @return Returns the current FrameworkConfiguration instance.
210
217
*/
211
218
basicConfiguration(): FrameworkConfiguration;
212
-
219
+
213
220
/**
214
221
* Sets up the standard Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().eventAggregator().history().router();`
215
222
* @return Returns the current FrameworkConfiguration instance.
216
223
*/
217
224
standardConfiguration(): FrameworkConfiguration;
218
-
225
+
219
226
/**
220
227
* Plugs in the ConsoleAppender and sets the log level to debug.
228
+
* @param level The log level (none/error/warn/info/debug), default to 'debug'.
221
229
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
0 commit comments