This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

innerHTML

Summary

Represents the markup of the ShadowRoot’s contents.

Property of dom/shadowdom/ShadowRootdom/shadowdom/ShadowRoot

Syntax

var result = element.innerHTML;
element.innerHTML = value;

Return Value

Returns an object of type StringString