Sha256: 7bcb66ff07bbb25eb8496d3e71838e48a838a43b7db3610db4b5762476eee87f
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
module Browser; module DOM class CharacterData < Node def data `#@native.data` end def append(string) `#@native.appendData(string)` self end def insert(string, offset = 0) `#@native.insertData(offset, string)` self end def delete(count, offset = 0) `#@native.deleteData(offset, count)` self end def replace(string, offset = 0, count = `#@native.length`) `#@native.replaceData(offset, count, string)` self end def substring(count, offset = 0) `#@native.substringData(offset, count)` end end end; end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opal-browser-0.1.0.beta1 | opal/browser/dom/character_data.rb |