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
* Configures an internal feature plugin before Aurelia starts.
22
+
*
23
+
* @method feature
24
+
* @param {string} plugin The folder for the internal plugin to configure (expects an index.js in that folder).
25
+
* @param {config} config The configuration for the specified plugin.
26
+
* @return {Plugins} Returns the current Plugins instance.
27
+
*/
28
+
feature(plugin: string,config: any): Plugins;
29
+
30
+
/**
31
+
* Configures an external, 3rd party plugin before Aurelia starts.
22
32
*
23
33
* @method plugin
24
-
* @param {moduleId} moduleId The ID of the module to configure.
25
-
* @param {config} config The configuration for the specified module.
34
+
* @param {string} plugin The ID of the 3rd party plugin to configure.
35
+
* @param {config} config The configuration for the specified plugin.
26
36
* @return {Plugins} Returns the current Plugins instance.
27
37
*/
28
-
plugin(moduleId: string,config: any): Plugins;
38
+
plugin(plugin: string,config: any): Plugins;
39
+
40
+
/**
41
+
* Plugs in the default binding language from aurelia-templating-binding.
42
+
*
43
+
* @method defaultBindingLanguage
44
+
* @return {Plugins} Returns the current Plugins instance.
45
+
*/
46
+
defaultBindingLanguage(): Plugins;
47
+
48
+
/**
49
+
* Plugs in the router from aurelia-templating-router.
50
+
*
51
+
* @method router
52
+
* @return {Plugins} Returns the current Plugins instance.
53
+
*/
54
+
router(): Plugins;
55
+
56
+
/**
57
+
* Plugs in the default history implementation from aurelia-history-browser.
58
+
*
59
+
* @method history
60
+
* @return {Plugins} Returns the current Plugins instance.
61
+
*/
62
+
history(): Plugins;
63
+
64
+
/**
65
+
* Plugs in the default templating resources (if, repeat, show, compose, etc.) from aurelia-templating-resources.
66
+
*
67
+
* @method defaultResources
68
+
* @return {Plugins} Returns the current Plugins instance.
69
+
*/
70
+
defaultResources(): Plugins;
71
+
72
+
/**
73
+
* Plugs in the event aggregator from aurelia-event-aggregator.
74
+
*
75
+
* @method eventAggregator
76
+
* @return {Plugins} Returns the current Plugins instance.
77
+
*/
78
+
eventAggregator(): Plugins;
79
+
80
+
/**
81
+
* Sets up the Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().history().router().eventAggregator();`
82
+
*
83
+
* @method standardConfiguration
84
+
* @return {Plugins} Returns the current Plugins instance.
85
+
*/
86
+
standardConfiguration(): Plugins;
87
+
88
+
/**
89
+
* Plugs in the ConsoleAppender and sets the log level to debug.
90
+
*
91
+
* @method developmentLogging
92
+
* @return {Plugins} Returns the current Plugins instance.
0 commit comments