Skip to content

Commit b8e98f3

Browse files
committed
Document new replace method and launch version 1
1 parent e658835 commit b8e98f3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,11 @@ Method/Property | Params | Return | Notes
504504
getElement|mixed, bool, bool|Element/HTMLDocument/null|returns a native DOM element for whatever you provide (selector string, array of elements, single element, jQuery wrapped DOM element, etc)
505505
getElements|mixed, bool|array|same as getElement, except it returns all matches
506506
remove|mixed|this|removes elements from the DOM - uses .getElements()
507+
replaceElWithHTML|mixed,string|Element|replaces an element in the DOM with HTML and returns a reference to the new Element
507508
exists|mixed|bool|checks to see if it exists in the DOM
508509
multipleExist|mixed|bool|checks to see if more than 1 instance exists in the DOM
509510
511+
510512
##### To Use:
511513
512514
```javascript

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@htmlguyllc/jpack",
3-
"version": "0.5.24",
3+
"version": "1.0.1",
44
"description": "Core Javascript Library of Everyday Objects, Events, and Utilities",
55
"keywords": [
66
"javascript",

0 commit comments

Comments
 (0)