Answers for "angular conditional pipe"

1

angular conditional pipe

// Use ternary operator to be able to use a pipe on a certain condition 
{{variable.value ? (variable.text | SomePipe) : (variable.text | pipe2)}}
Posted by: Guest on May-11-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language