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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,6 +155,7 @@ While VulpiniQ is inspired by jQuery, it distinguishes itself in several key are
155
155
| removeData | Prototype | Data Manipulation | Removes a data\-\* attribute from each node\.|
156
156
| removeProp | Prototype | Property Manipulation | Removes a property from each node\.|
157
157
| removeTransition | Prototype | Display | Removes the transition from each node\.|
158
+
| replaceWith | Ext | DOM Manipulation | Replaces the selected element\(s\) with the given new content \(Q instance or DOM node\)\.|
158
159
| scrollHeight | Prototype | Dimensions | Returns the scroll height of the first node\. Returns undefined for empty selection\.|
159
160
| scrollLeft | Prototype | Scroll Manipulation | Gets or sets the horizontal scroll position of the first node, with an option to increment\. Returns undefined for empty selection\.|
160
161
| scrollTop | Prototype | Scroll Manipulation | Gets or sets the vertical scroll position of the first node, with an option to increment\. Returns undefined for empty selection\.|
"Desc": "Replaces the selected element(s) with the given new content (Q instance or DOM node).",
5
+
"LongDesc": "Adds a replaceWith method to Q, which replaces each node in the Q instance with the provided new content. The new content can be a Q instance or a DOM node. This is useful for dynamic UI updates.",
0 commit comments