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: README.MD
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,15 +265,19 @@ css(css, value) {
265
265
```
266
266
267
267
##### data
268
+
268
269
Store arbitrary data associated with the matched elements.
270
+
269
271
```js
270
272
data(name, value) {
271
273
returnthis.attr(`data-${name}`, value);
272
274
}
273
275
```
274
276
275
277
##### each
278
+
276
279
Iterate over a jQuery object, executing a function for each matched element.
280
+
277
281
```js
278
282
each(func) {
279
283
if (!this.elements) {
@@ -409,7 +413,9 @@ is(el) {
409
413
```
410
414
411
415
##### next
416
+
412
417
Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
0 commit comments