Comment Event

Fired when a comment section is encountered.

Syntax

rest.on('Comment', [callback])

Callback

The 'callback' is called when the 'Comment' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.text

Remarks

The Comment event is fired whenever a comment section (<!-- ..text... -->) is found in the document.

The full text of the comment is provided by the Text parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Node.js Edition - Version 20.0 [Build 8307]