<script>
const function_with_parameter = parameter => () => {
console.log(`The passed parameter was: ${parameter}`)
}
</script>
<body>
<button on:click="{function_with_parameter('foo')}">
</body>
Code Example |
---|
Html :: what is mongoose |
Html :: django template list item by index |
Html :: how to add subtitle file in a movie in html |
Html :: date month year dropdown html |
Html :: html table cell color based on value |
Html :: split screen html |
Html :: thumbnail html |
Html :: click on tr redirect new page |
Html :: viñetas html |
Html :: Bootstrap Image Grid (Responsive) |
Html :: resize element with content html |
Html :: time.mktime |
Html :: image on text in bootstrap |
Html :: html default arrow remove |
Html :: how to put keywords on your html website |
Html :: html how to give false link |
Html :: input type email |
Html :: how to create js code |
Html :: react createContext usage |
Html :: HTML <mark Element |
Html :: asp redirect |
Html :: html online editor |
Html :: underline |
Html :: html make card |
Html :: html paragraph with spaces |
Html :: html prime number program |
Html :: credit card formatter in html with javascript |
Html :: html card |
Html :: bootstrap color a div |
Html :: make link open in new tab |