1var dotnetInstance; 2 3function detail(dotnet) { 4 dotnetInstance = dotnet; // dotnet instance to invoke C# method from JS 5} 6 7 8document.addEventListener('click', function (args) { 9 if (args.target.classList.contains("e-dtdiagonaldown") || args.target.classList.contains("e-detailrowexpand")) { 10 dotnetInstance.invokeMethodAsync('DetailCollapse'); // call C# method from javascript function 11 } 12})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.