bindRawCursor

bindRawCursor(cursor: IOrbTemplateCursor; 
              object: Object): Binary typeMethod;

The bindRawCursor method of the Orb class invokes the Orb templating engine to bind the IOrbTemplateCursor specified by the cursor parameter with the object specified by the object parameter.

The IOrbTemplateCursor specified by the cursor parameter is returned by the addHtmlTemplate method.

This method returns a Binary value representing the expanded HTML (or other content). The resulting Binary is suitable for returning by using the render method of an Orb route.

Unlike the bind method, any object properties expanded by the Orb templating engine are not sanitized. Although this can be useful for directly rendering properties that contain raw HTML, you must ensure that such HTML is sanitized to avoid issues such as Cross Site Scripting (XSS) attacks (https://owasp.org/www-community/attacks/xss/).