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
* Plugs in the default binding language from aurelia-templating-binding.
42
109
*
43
110
* @method defaultBindingLanguage
44
-
* @return {Plugins} Returns the current Plugins instance.
111
+
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
45
112
*/
46
-
defaultBindingLanguage(): Plugins;
113
+
defaultBindingLanguage(): FrameworkConfiguration;
47
114
48
115
/**
49
116
* Plugs in the router from aurelia-templating-router.
50
117
*
51
118
* @method router
52
-
* @return {Plugins} Returns the current Plugins instance.
119
+
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
53
120
*/
54
-
router(): Plugins;
121
+
router(): FrameworkConfiguration;
55
122
56
123
/**
57
124
* Plugs in the default history implementation from aurelia-history-browser.
58
125
*
59
126
* @method history
60
-
* @return {Plugins} Returns the current Plugins instance.
127
+
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
61
128
*/
62
-
history(): Plugins;
129
+
history(): FrameworkConfiguration;
63
130
64
131
/**
65
132
* Plugs in the default templating resources (if, repeat, show, compose, etc.) from aurelia-templating-resources.
66
133
*
67
134
* @method defaultResources
68
-
* @return {Plugins} Returns the current Plugins instance.
135
+
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
69
136
*/
70
-
defaultResources(): Plugins;
137
+
defaultResources(): FrameworkConfiguration;
71
138
72
139
/**
73
140
* Plugs in the event aggregator from aurelia-event-aggregator.
74
141
*
75
142
* @method eventAggregator
76
-
* @return {Plugins} Returns the current Plugins instance.
143
+
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
77
144
*/
78
-
eventAggregator(): Plugins;
145
+
eventAggregator(): FrameworkConfiguration;
79
146
80
147
/**
81
148
* Sets up the Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().history().router().eventAggregator();`
82
149
*
83
150
* @method standardConfiguration
84
-
* @return {Plugins} Returns the current Plugins instance.
151
+
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
85
152
*/
86
-
standardConfiguration(): Plugins;
153
+
standardConfiguration(): FrameworkConfiguration;
87
154
88
155
/**
89
156
* Plugs in the ConsoleAppender and sets the log level to debug.
90
157
*
91
158
* @method developmentLogging
92
-
* @return {Plugins} Returns the current Plugins instance.
159
+
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
160
+
*/
161
+
developmentLogging(): FrameworkConfiguration;
162
+
163
+
/**
164
+
* Loads and configures the plugins registered with this instance.
165
+
*
166
+
* @method apply
167
+
* @return Returns a promise which resolves when all plugins are loaded and configured.
* @param {Loader} loader The loader for this Aurelia instance to use. If a loader is not specified, Aurelia will use a defaultLoader.
103
178
* @param {Container} container The dependency injection container for this Aurelia instance to use. If a container is not specified, Aurelia will create an empty container.
104
-
* @param {ResourceRegistry} resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.
179
+
* @param {ViewResources} resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.
0 commit comments