@angular-wave/angular.ts 0.0.60 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/core/parser/parse.js +14 -0
- package/src/core/parser/parser.js +1 -1
- package/src/core/q/q.js +46 -289
- package/src/core/q/q.md +229 -0
- package/src/core/sanitize/sanitize-uri.js +2 -3
- package/src/core/scope/scope.js +18 -8
- package/src/directive/if/if.js +6 -1
- package/src/filters/limit-to.js +5 -2
- package/src/loader.js +1 -5
- package/src/router/params/param-type.js +2 -1
- package/src/router/state/views.js +3 -0
- package/src/router/transition/reject-factory.js +1 -0
- package/src/router/url/url-rule.js +1 -1
- package/src/router/url/url-service.js +4 -4
- package/src/services/http/http.js +7 -5
- package/src/services/template-request.js +2 -7
- package/src/shared/common.js +1 -1
- package/src/shared/utils.js +1 -1
- package/src/types.js +9 -1
- package/types/core/parser/parse.d.ts +3 -4
- package/types/core/parser/parser.d.ts +1 -1
- package/types/core/q/q.d.ts +2 -2
- package/types/core/sanitize/sanitize-uri.d.ts +4 -5
- package/types/core/scope/scope.d.ts +19 -7
- package/types/loader.d.ts +0 -4
- package/types/router/params/param-type.d.ts +2 -1
- package/types/router/state/views.d.ts +2 -0
- package/types/router/transition/reject-factory.d.ts +1 -0
- package/types/router/url/url-rule.d.ts +0 -1
- package/types/router/url/url-service.d.ts +7 -7
- package/types/services/template-request.d.ts +4 -9
- package/types/types.d.ts +6 -1
- package/types-back/README.md +0 -2
- package/types-back/angular.d.ts +0 -146
- package/types-back/index.d.ts +0 -2126
- package/types-back/jqlite.d.ts +0 -374
- package/types-back/router/core/common/common.d.ts +0 -416
- package/types-back/router/core/common/coreservices.d.ts +0 -77
- package/types-back/router/core/common/glob.d.ts +0 -60
- package/types-back/router/core/common/hof.d.ts +0 -168
- package/types-back/router/core/common/index.d.ts +0 -8
- package/types-back/router/core/common/predicates.d.ts +0 -25
- package/types-back/router/core/common/queue.d.ts +0 -15
- package/types-back/router/core/common/safeConsole.d.ts +0 -5
- package/types-back/router/core/common/strings.d.ts +0 -66
- package/types-back/router/core/common/trace.d.ts +0 -126
- package/types-back/router/core/globals.d.ts +0 -43
- package/types-back/router/core/hooks/coreResolvables.d.ts +0 -6
- package/types-back/router/core/hooks/ignoredTransition.d.ts +0 -4
- package/types-back/router/core/hooks/invalidTransition.d.ts +0 -4
- package/types-back/router/core/hooks/lazyLoad.d.ts +0 -17
- package/types-back/router/core/hooks/onEnterExitRetain.d.ts +0 -10
- package/types-back/router/core/hooks/redirectTo.d.ts +0 -4
- package/types-back/router/core/hooks/resolve.d.ts +0 -11
- package/types-back/router/core/hooks/updateGlobals.d.ts +0 -4
- package/types-back/router/core/hooks/url.d.ts +0 -4
- package/types-back/router/core/hooks/views.d.ts +0 -7
- package/types-back/router/core/index.d.ts +0 -11
- package/types-back/router/core/interface.d.ts +0 -91
- package/types-back/router/core/params/index.d.ts +0 -12
- package/types-back/router/core/params/interface.d.ts +0 -606
- package/types-back/router/core/params/param.d.ts +0 -77
- package/types-back/router/core/params/paramType.d.ts +0 -65
- package/types-back/router/core/params/paramTypes.d.ts +0 -193
- package/types-back/router/core/params/stateParams.d.ts +0 -15
- package/types-back/router/core/path/index.d.ts +0 -2
- package/types-back/router/core/path/pathNode.d.ts +0 -60
- package/types-back/router/core/path/pathUtils.d.ts +0 -105
- package/types-back/router/core/resolve/index.d.ts +0 -3
- package/types-back/router/core/resolve/interface.d.ts +0 -210
- package/types-back/router/core/resolve/resolvable.d.ts +0 -75
- package/types-back/router/core/resolve/resolveContext.d.ts +0 -97
- package/types-back/router/core/router.d.ts +0 -57
- package/types-back/router/core/state/index.d.ts +0 -28
- package/types-back/router/core/state/interface.d.ts +0 -732
- package/types-back/router/core/state/stateBuilder.d.ts +0 -107
- package/types-back/router/core/state/stateMatcher.d.ts +0 -13
- package/types-back/router/core/state/stateObject.d.ts +0 -170
- package/types-back/router/core/state/stateQueueManager.d.ts +0 -27
- package/types-back/router/core/state/stateRegistry.d.ts +0 -138
- package/types-back/router/core/state/stateService.d.ts +0 -386
- package/types-back/router/core/state/targetState.d.ts +0 -105
- package/types-back/router/core/transition/hookBuilder.d.ts +0 -49
- package/types-back/router/core/transition/hookRegistry.d.ts +0 -115
- package/types-back/router/core/transition/index.d.ts +0 -20
- package/types-back/router/core/transition/interface.d.ts +0 -862
- package/types-back/router/core/transition/rejectFactory.d.ts +0 -103
- package/types-back/router/core/transition/transition.d.ts +0 -575
- package/types-back/router/core/transition/transitionEventType.d.ts +0 -26
- package/types-back/router/core/transition/transitionHook.d.ts +0 -96
- package/types-back/router/core/transition/transitionService.d.ts +0 -253
- package/types-back/router/core/url/index.d.ts +0 -8
- package/types-back/router/core/url/interface.d.ts +0 -169
- package/types-back/router/core/url/urlConfig.d.ts +0 -144
- package/types-back/router/core/url/urlMatcher.d.ts +0 -185
- package/types-back/router/core/url/urlMatcherFactory.d.ts +0 -56
- package/types-back/router/core/url/urlRouter.d.ts +0 -101
- package/types-back/router/core/url/urlRule.d.ts +0 -143
- package/types-back/router/core/url/urlRules.d.ts +0 -251
- package/types-back/router/core/url/urlService.d.ts +0 -205
- package/types-back/router/core/view/index.d.ts +0 -2
- package/types-back/router/core/view/interface.d.ts +0 -46
- package/types-back/router/core/view/view.d.ts +0 -176
- package/types-back/router/directives/viewDirective.d.ts +0 -144
- package/types-back/router/index.d.ts +0 -17
- package/types-back/router/interface.d.ts +0 -500
- package/types-back/router/legacy/resolveService.d.ts +0 -47
- package/types-back/router/legacy/stateEvents.d.ts +0 -124
- package/types-back/router/services.d.ts +0 -15
- package/types-back/router/stateFilters.d.ts +0 -10
- package/types-back/router/stateProvider.d.ts +0 -258
- package/types-back/router/statebuilders/onEnterExitRetain.d.ts +0 -13
- package/types-back/router/statebuilders/views.d.ts +0 -53
- package/types-back/router/templateFactory.d.ts +0 -104
- package/types-back/router/viewScroll.d.ts +0 -9
package/types-back/jqlite.d.ts
DELETED
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
interface JQLite {
|
|
2
|
-
[index: number]: HTMLElement;
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Insert content, specified by the parameter, after each element in the set of matched elements.
|
|
6
|
-
*
|
|
7
|
-
* @param content1 HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert after each element in the set of matched elements.
|
|
8
|
-
* @param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
|
|
9
|
-
* @see {@link https://api.jquery.com/after/#after-content-content}
|
|
10
|
-
*/
|
|
11
|
-
after(
|
|
12
|
-
content1: JQLite | any[] | Element | DocumentFragment | Text | string,
|
|
13
|
-
...content2: any[]
|
|
14
|
-
): this;
|
|
15
|
-
/**
|
|
16
|
-
* Insert content, specified by the parameter, after each element in the set of matched elements.
|
|
17
|
-
*
|
|
18
|
-
* @param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
|
|
19
|
-
* @see {@link https://api.jquery.com/after/#after-function}
|
|
20
|
-
*/
|
|
21
|
-
after(func: (index: number, html: string) => string | Element): this;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
|
25
|
-
*
|
|
26
|
-
* @param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
|
|
27
|
-
* @param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
|
|
28
|
-
* @see {@link https://api.jquery.com/append/#append-content-content}
|
|
29
|
-
*/
|
|
30
|
-
append(
|
|
31
|
-
content1: JQLite | any[] | Element | DocumentFragment | Text | string,
|
|
32
|
-
...content2: any[]
|
|
33
|
-
): this;
|
|
34
|
-
/**
|
|
35
|
-
* Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
|
36
|
-
*
|
|
37
|
-
* @param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
|
|
38
|
-
* @see {@link https://api.jquery.com/append/#append-function}
|
|
39
|
-
*/
|
|
40
|
-
append(func: (index: number, html: string) => string | Element): this;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Get the value of an attribute for the first element in the set of matched elements.
|
|
44
|
-
*
|
|
45
|
-
* @param attributeName The name of the attribute to get.
|
|
46
|
-
* @see {@link https://api.jquery.com/attr/#attr-attributeName}
|
|
47
|
-
*/
|
|
48
|
-
attr(attributeName: string): string;
|
|
49
|
-
/**
|
|
50
|
-
* Set one or more attributes for the set of matched elements.
|
|
51
|
-
*
|
|
52
|
-
* @param attributeName The name of the attribute to set.
|
|
53
|
-
* @param value A value to set for the attribute. If this is `null`, the attribute will be deleted.
|
|
54
|
-
* @see {@link https://api.jquery.com/attr/#attr-attributeName-value}
|
|
55
|
-
*/
|
|
56
|
-
attr(attributeName: string, value: string | number | null): this;
|
|
57
|
-
/**
|
|
58
|
-
* Set one or more attributes for the set of matched elements.
|
|
59
|
-
*
|
|
60
|
-
* @param attributes An object of attribute-value pairs to set.
|
|
61
|
-
* @see {@link https://api.jquery.com/attr/#attr-attributes}
|
|
62
|
-
*/
|
|
63
|
-
attr(attributes: Object): this;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Get the children of each element in the set of matched elements, optionally filtered by a selector.
|
|
67
|
-
*
|
|
68
|
-
* @see {@link https://api.jquery.com/children/}
|
|
69
|
-
*/
|
|
70
|
-
children(): this;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Store arbitrary data associated with the matched elements.
|
|
74
|
-
*
|
|
75
|
-
* @param key A string naming the piece of data to set.
|
|
76
|
-
* @param value The new data value; it can be any JavaScript type including Array or Object.
|
|
77
|
-
* @see {@link https://api.jquery.com/data/#data-key-value}
|
|
78
|
-
*/
|
|
79
|
-
data(key: string, value: any): this;
|
|
80
|
-
/**
|
|
81
|
-
* Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
|
82
|
-
*
|
|
83
|
-
* @param key Name of the data stored.
|
|
84
|
-
* @see {@link https://api.jquery.com/data/#data-key}
|
|
85
|
-
*/
|
|
86
|
-
data(key: string): any;
|
|
87
|
-
/**
|
|
88
|
-
* Store arbitrary data associated with the matched elements.
|
|
89
|
-
*
|
|
90
|
-
* @param obj An object of key-value pairs of data to update.
|
|
91
|
-
* @see {@link https://api.jquery.com/data/#data-obj}
|
|
92
|
-
*/
|
|
93
|
-
data(obj: { [key: string]: any }): this;
|
|
94
|
-
/**
|
|
95
|
-
* Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
|
96
|
-
* @see {@link https://api.jquery.com/data/#data}
|
|
97
|
-
*/
|
|
98
|
-
data(): any;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Remove the set of matched elements from the DOM.
|
|
102
|
-
*
|
|
103
|
-
* @param selector A selector expression that filters the set of matched elements to be removed.
|
|
104
|
-
* @see {@link https://api.jquery.com/detach/}
|
|
105
|
-
*/
|
|
106
|
-
detach(selector?: string): this;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Reduce the set of matched elements to the one at the specified index.
|
|
110
|
-
*
|
|
111
|
-
* @param index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.
|
|
112
|
-
* @see {@link https://api.jquery.com/eq/}
|
|
113
|
-
*/
|
|
114
|
-
eq(index: number): this;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
|
|
118
|
-
*
|
|
119
|
-
* @param selector A string containing a selector expression to match elements against.
|
|
120
|
-
* @see {@link https://api.jquery.com/find/#find-selector}
|
|
121
|
-
*/
|
|
122
|
-
find(selector: string): this;
|
|
123
|
-
find(element: any): this;
|
|
124
|
-
find(obj: JQLite): this;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Get the HTML contents of the first element in the set of matched elements.
|
|
128
|
-
* @see {@link https://api.jquery.com/html/#html}
|
|
129
|
-
*/
|
|
130
|
-
html(): string;
|
|
131
|
-
/**
|
|
132
|
-
* Set the HTML contents of each element in the set of matched elements.
|
|
133
|
-
*
|
|
134
|
-
* @param htmlString A string of HTML to set as the content of each matched element.
|
|
135
|
-
* @see {@link https://api.jquery.com/html/#html-htmlString}
|
|
136
|
-
*/
|
|
137
|
-
html(htmlString: string): this;
|
|
138
|
-
/**
|
|
139
|
-
* Set the HTML contents of each element in the set of matched elements.
|
|
140
|
-
*
|
|
141
|
-
* @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.
|
|
142
|
-
* @see {@link https://api.jquery.com/html/#html-function}
|
|
143
|
-
*/
|
|
144
|
-
html(func: (index: number, oldhtml: string) => string): this;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Remove an event handler.
|
|
148
|
-
* @see {@link https://api.jquery.com/off/#off}
|
|
149
|
-
*/
|
|
150
|
-
off(): this;
|
|
151
|
-
/**
|
|
152
|
-
* Remove an event handler.
|
|
153
|
-
*
|
|
154
|
-
* @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
|
|
155
|
-
* @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
|
|
156
|
-
* @param handler A handler function previously attached for the event(s), or the special value false.
|
|
157
|
-
* @see {@link https://api.jquery.com/off/#off-events-selector-handler}
|
|
158
|
-
*/
|
|
159
|
-
off(
|
|
160
|
-
events: string,
|
|
161
|
-
selector?: string,
|
|
162
|
-
handler?: (eventObject: JQueryEventObject) => any,
|
|
163
|
-
): this;
|
|
164
|
-
/**
|
|
165
|
-
* Remove an event handler.
|
|
166
|
-
*
|
|
167
|
-
* @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
|
|
168
|
-
* @param handler A handler function previously attached for the event(s), or the special value false. Takes handler with extra args that can be attached with on().
|
|
169
|
-
* @see {@link https://api.jquery.com/off/#off-events-selector-handler}
|
|
170
|
-
*/
|
|
171
|
-
off(
|
|
172
|
-
events: string,
|
|
173
|
-
handler: (eventObject: JQueryEventObject, ...args: any[]) => any,
|
|
174
|
-
): this;
|
|
175
|
-
/**
|
|
176
|
-
* Remove an event handler.
|
|
177
|
-
*
|
|
178
|
-
* @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
|
|
179
|
-
* @param handler A handler function previously attached for the event(s), or the special value false.
|
|
180
|
-
* @see {@link https://api.jquery.com/off/#off-events-selector-handler}
|
|
181
|
-
*/
|
|
182
|
-
off(events: string, handler: (eventObject: JQueryEventObject) => any): this;
|
|
183
|
-
/**
|
|
184
|
-
* Remove an event handler.
|
|
185
|
-
*
|
|
186
|
-
* @param events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).
|
|
187
|
-
* @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
|
|
188
|
-
* @see {@link https://api.jquery.com/off/#off-events-selector}
|
|
189
|
-
*/
|
|
190
|
-
off(events: { [key: string]: any }, selector?: string): this;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
|
|
194
|
-
*
|
|
195
|
-
* @see {@link https://api.jquery.com/parent/}
|
|
196
|
-
*/
|
|
197
|
-
parent(): this;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
|
201
|
-
*
|
|
202
|
-
* @param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
|
|
203
|
-
* @param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
|
|
204
|
-
* @see {@link https://api.jquery.com/prepend/#prepend-content-content}
|
|
205
|
-
*/
|
|
206
|
-
prepend(
|
|
207
|
-
content1: JQLite | any[] | Element | DocumentFragment | Text | string,
|
|
208
|
-
...content2: any[]
|
|
209
|
-
): this;
|
|
210
|
-
/**
|
|
211
|
-
* Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
|
212
|
-
*
|
|
213
|
-
* @param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
|
|
214
|
-
* @see {@link https://api.jquery.com/prepend/#prepend-function}
|
|
215
|
-
*/
|
|
216
|
-
prepend(
|
|
217
|
-
func: (index: number, html: string) => string | Element | JQLite,
|
|
218
|
-
): this;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Remove the set of matched elements from the DOM.
|
|
222
|
-
*
|
|
223
|
-
* @param selector A selector expression that filters the set of matched elements to be removed.
|
|
224
|
-
* @see {@link https://api.jquery.com/remove/}
|
|
225
|
-
*/
|
|
226
|
-
remove(selector?: string): this;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Remove an attribute from each element in the set of matched elements.
|
|
230
|
-
*
|
|
231
|
-
* @param attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.
|
|
232
|
-
* @see {@link https://api.jquery.com/removeAttr/}
|
|
233
|
-
*/
|
|
234
|
-
removeAttr(attributeName: string): this;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Remove a previously-stored piece of data.
|
|
238
|
-
*
|
|
239
|
-
* @param name A string naming the piece of data to delete or space-separated string naming the pieces of data to delete.
|
|
240
|
-
* @see {@link https://api.jquery.com/removeData/#removeData-name}
|
|
241
|
-
*/
|
|
242
|
-
removeData(name: string): this;
|
|
243
|
-
/**
|
|
244
|
-
* Remove a previously-stored piece of data.
|
|
245
|
-
*
|
|
246
|
-
* @param list An array of strings naming the pieces of data to delete.
|
|
247
|
-
* @see {@link https://api.jquery.com/removeData/#removeData-list}
|
|
248
|
-
*/
|
|
249
|
-
removeData(list: string[]): this;
|
|
250
|
-
/**
|
|
251
|
-
* Remove all previously-stored piece of data.
|
|
252
|
-
* @see {@link https://api.jquery.com/removeData/}
|
|
253
|
-
*/
|
|
254
|
-
removeData(): this;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
|
258
|
-
*
|
|
259
|
-
* @param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
|
|
260
|
-
* @see {@link https://api.jquery.com/replaceWith/#replaceWith-newContent}
|
|
261
|
-
*/
|
|
262
|
-
replaceWith(newContent: JQLite | any[] | Element | Text | string): this;
|
|
263
|
-
/**
|
|
264
|
-
* Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
|
265
|
-
*
|
|
266
|
-
* @param func A function that returns content with which to replace the set of matched elements.
|
|
267
|
-
* @see {@link https://api.jquery.com/replaceWith/#replaceWith-function}
|
|
268
|
-
*/
|
|
269
|
-
replaceWith(func: () => Element): this;
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* Get the combined text contents of each element in the set of matched elements, including their descendants.
|
|
273
|
-
* @see {@link https://api.jquery.com/text/#text}
|
|
274
|
-
*/
|
|
275
|
-
text(): string;
|
|
276
|
-
/**
|
|
277
|
-
* Set the content of each element in the set of matched elements to the specified text.
|
|
278
|
-
*
|
|
279
|
-
* @param text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.
|
|
280
|
-
* @see {@link https://api.jquery.com/text/#text-text}
|
|
281
|
-
*/
|
|
282
|
-
text(text: string | number | boolean): this;
|
|
283
|
-
/**
|
|
284
|
-
* Set the content of each element in the set of matched elements to the specified text.
|
|
285
|
-
*
|
|
286
|
-
* @param func A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.
|
|
287
|
-
* @see {@link https://api.jquery.com/text/#text-function}
|
|
288
|
-
*/
|
|
289
|
-
text(func: (index: number, text: string) => string): this;
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Execute all handlers attached to an element for an event.
|
|
293
|
-
*
|
|
294
|
-
* @param eventType A string containing a JavaScript event type, such as click or submit.
|
|
295
|
-
* @param extraParameters An array of additional parameters to pass along to the event handler.
|
|
296
|
-
* @see {@link https://api.jquery.com/triggerHandler/#triggerHandler-eventType-extraParameters}
|
|
297
|
-
*/
|
|
298
|
-
triggerHandler(eventType: string, ...extraParameters: any[]): Object;
|
|
299
|
-
/**
|
|
300
|
-
* Execute all handlers attached to an element for an event.
|
|
301
|
-
*
|
|
302
|
-
* @param event A jQuery.Event object.
|
|
303
|
-
* @param extraParameters An array of additional parameters to pass along to the event handler.
|
|
304
|
-
* @see {@link https://api.jquery.com/triggerHandler/#triggerHandler-event-extraParameters}
|
|
305
|
-
*/
|
|
306
|
-
triggerHandler(event: Event, ...extraParameters: any[]): Object;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Remove a previously-attached event handler from the elements.
|
|
310
|
-
*
|
|
311
|
-
* @param eventType A string containing a JavaScript event type, such as click or submit.
|
|
312
|
-
* @param handler The function that is to be no longer executed.
|
|
313
|
-
* @see {@link https://api.jquery.com/unbind/#unbind-eventType-handler}
|
|
314
|
-
*/
|
|
315
|
-
unbind(eventType?: string, handler?: (eventObject: Event) => any): this;
|
|
316
|
-
/**
|
|
317
|
-
* Remove a previously-attached event handler from the elements.
|
|
318
|
-
*
|
|
319
|
-
* @param eventType A string containing a JavaScript event type, such as click or submit.
|
|
320
|
-
* @param fls Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).
|
|
321
|
-
* @see {@link https://api.jquery.com/unbind/#unbind-eventType-false}
|
|
322
|
-
*/
|
|
323
|
-
unbind(eventType: string, fls: boolean): this;
|
|
324
|
-
/**
|
|
325
|
-
* Remove a previously-attached event handler from the elements.
|
|
326
|
-
*
|
|
327
|
-
* @param evt A JavaScript event object as passed to an event handler.
|
|
328
|
-
* @see {@link https://api.jquery.com/unbind/#unbind-event}
|
|
329
|
-
*/
|
|
330
|
-
unbind(evt: any): this;
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Get the current value of the first element in the set of matched elements.
|
|
334
|
-
* @see {@link https://api.jquery.com/val/#val}
|
|
335
|
-
*/
|
|
336
|
-
val(): any;
|
|
337
|
-
/**
|
|
338
|
-
* Set the value of each element in the set of matched elements.
|
|
339
|
-
*
|
|
340
|
-
* @param value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.
|
|
341
|
-
* @see {@link https://api.jquery.com/val/#val-value}
|
|
342
|
-
*/
|
|
343
|
-
val(value: string | string[] | number): this;
|
|
344
|
-
/**
|
|
345
|
-
* Set the value of each element in the set of matched elements.
|
|
346
|
-
*
|
|
347
|
-
* @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
|
|
348
|
-
* @see {@link https://api.jquery.com/val/#val-function}
|
|
349
|
-
*/
|
|
350
|
-
val(func: (index: number, value: string) => string): this;
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* Wrap an HTML structure around each element in the set of matched elements.
|
|
354
|
-
*
|
|
355
|
-
* @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
|
|
356
|
-
* @see {@link https://api.jquery.com/wrap/#wrap-wrappingElement}
|
|
357
|
-
*/
|
|
358
|
-
wrap(wrappingElement: JQLite | Element | string): this;
|
|
359
|
-
|
|
360
|
-
length: number;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Returns the `$scope` of the element.
|
|
364
|
-
*
|
|
365
|
-
* **IMPORTANT**: Requires `debugInfoEnabled` to be true.
|
|
366
|
-
*
|
|
367
|
-
* See https://docs.angularjs.org/guide/production#disabling-debug-data for more information.
|
|
368
|
-
*/
|
|
369
|
-
isolateScope<T extends ng.IScope>(): T;
|
|
370
|
-
|
|
371
|
-
inheritedData(key: string, value: any): this;
|
|
372
|
-
inheritedData(obj: { [key: string]: any }): this;
|
|
373
|
-
inheritedData(key?: string): any;
|
|
374
|
-
}
|