Split the text node at a given offset.
Parameters:
the offset where to split the text node
Returns:
the newly created text node
See Also:
28 29 30
# File 'opal/browser/dom/text.rb', line 28 def split(offset) DOM(`#@native.splitText(offset)`) end