Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.add('Action only', () => html`
<button>click me</button>
`)
.add('Action and method', () => html`
<button> action('log2')(e.target)}>click me</button>
`);