PrettyDOMOptions

external interface PrettyDOMOptions(source)

Properties

Link copied to clipboard
abstract var filterNode: (node: Node) -> Boolean?

Given a Node return false if you wish to ignore that node in the output. By default, ignores <style />, <script /> and comment nodes.