Every line of 'onclick display block' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
289 function bindBlockClick(div, callback) { 290 jQuery("div.ganttview-block", div).on("dblclick", function () { 291 if (callback) { callback(jQuery(this).data("block-data")); } 292 }); 293 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code
110 public onBlockClick(e: any, blockType: string): void { 111 e.preventDefault(); 112 const change = this.props.value.change().setBlocks(blockType).focus(); 113 this.props.onChange(change); 114 }