Text.replaceWholeText

Couldn't find in DOM documentation, but leavint it there.

interface Text
replaceWholeText
(
DOMString content
)

Meta