getContents method

dynamic getContents([
  1. bool asObject = false
])

Get the contents of this editable as a HTML string or child node DOM objects. Boolean asObject Whether or not to retreive the contents of this editable as child node objects or as an HTML string. Defaults to string . return {string|jQuery.HTMLElement} Contents of the editable as a DOM object or an HTML string.

Implementation

dynamic getContents([bool asObject = false]) =>
    _context!.callMethod('getContents', [asObject]);