I18nSelectPipe

I18nSelectPipe

Experimental Pipe

What it does

Generic selector that displays the string that matches the current value.

How to use

expression | i18nSelect:mapping

NgModule

CommonModule

Description

Where mapping is an object that indicates the text that should be displayed for different values of the provided expression. If none of the keys of the mapping match the value of the expression登录查看完整内容