great-sunset-355
06/13/2024, 12:50 PMdry-keyboard-94795
06/13/2024, 12:52 PMgreat-sunset-355
06/13/2024, 12:56 PMdry-keyboard-94795
06/13/2024, 1:00 PM.apply()
callgreat-sunset-355
06/13/2024, 1:02 PMdry-keyboard-94795
06/13/2024, 1:07 PMfast-sandwich-30809
06/17/2024, 5:08 PMconst greeting = `Hello, ${name}!`;
fast-sandwich-30809
06/17/2024, 5:08 PM${}
can be any JS expression, including function calls / ternary expressions / whatever you need.fast-sandwich-30809
06/17/2024, 5:11 PMconst section = html`<section>${renderSectionContents()}</section>`;
And/or register click handlers and the like. Pulumi's interpolate
tag works the same way