BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Please let us know how to add event for the button which is available in the html.
let html: string = '<div style="height:100%;width:100%;"><button class="btn success" >Parameter 1</button></div>'
this.node = this.createHtmlNode('idHead1', 120, 110, 900, 310, html);
this.nodes.push(this.node);
following is the function
public createHtmlNode(id: string, width: number, height: number, offsetX: number, offsetY: number, html: string): any {
let node: NodeModel = {}
node.id = id;
node.width = width;
node.height = height;
node.offsetX = offset;
node.offsetY = offset;
node.shape = {type: 'HTML', content: html};
return node;
};
Regards
Nageswar
let html: string = '<div style="height:100%;width:100%;"><button class="btn success" onclick=”data()” >Parameter 1</button></div>'
index.html
function data() {
}
|