onDocument method

HTMLRewriter onDocument(
  1. DocumentHandler handler
)

Implementation

HTMLRewriter onDocument(DocumentHandler handler) =>
    js_util.callMethod(this, 'onDocument', [handler]);