IP*Works! 2016 Node.js Edition
IP*Works! 2016 Node.js Edition
Questions / Feedback?

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) 2019 /n software inc. - All rights reserved.
IP*Works! 2016 Node.js Edition - Version 16.0 [Build 7239]