Hello everyone,
I got a little issue with literals, is there a way to make them shorters? From this:
${itemLast.VerificationValue < 0 && $h`
<input id="reactiveId-${itemLast.ReactiveId}" type="checkbox" indeterminate/>
`}
${itemLast.VerificationValue == 0 && $h`
<input id="reactiveId-${itemLast.ReactiveId}" type="checkbox"/>
`}
${itemLast.VerificationValue > 0 && $h`
<input id="reactiveId-${itemLast.ReactiveId}" type="checkbox" checked/>
`}
to this:
<input id="reactiveId-${itemLast.ReactiveId}" type="checkbox"
${itemLast.VerificationValue < 0 ? "indeterminate" : itemLast.VerificationValue > 0 ?"checked" : ''}
/>
Any clue how to make this happen?