mutation-observer-inner-html-shim

WebJar for mutation-observer-inner-html-shim

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

mutation-observer-inner-html-shim
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

mutation-observer-inner-html-shim
WebJar for mutation-observer-inner-html-shim
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/javan/mutation-observer-inner-html-shim

Download mutation-observer-inner-html-shim

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/mutation-observer-inner-html-shim/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>mutation-observer-inner-html-shim</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/mutation-observer-inner-html-shim/
implementation 'org.webjars.npm:mutation-observer-inner-html-shim:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/mutation-observer-inner-html-shim/
implementation ("org.webjars.npm:mutation-observer-inner-html-shim:1.0.1")
'org.webjars.npm:mutation-observer-inner-html-shim:jar:1.0.1'
<dependency org="org.webjars.npm" name="mutation-observer-inner-html-shim" rev="1.0.1">
  <artifact name="mutation-observer-inner-html-shim" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='mutation-observer-inner-html-shim', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "mutation-observer-inner-html-shim" % "1.0.1"
[org.webjars.npm/mutation-observer-inner-html-shim "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

In IE 11, nodes in MutationRecord.removedNodes are always empty when they're removed by setting innerHTML. This shim works around the issue by patching HTMLElement.innerHTML to remove each child node individually before setting the new value.

References:

Versions

Version
1.0.1
1.0.0