Pipe 26 (a built-pipe)

Pipeline pipe

filter? Filters are used to achieve filtering of data, filtering, formatting

After called the filter, upgrade angular called the pipe in the angularJs

angular provides a wealth of built-in filters, as well as support for custom filters

Syntax angular pipes

<Any {{expression | pipe}}> </ any>

Built-in pipeline

①date

  

 

     

 

   

 

 

②json support serialization json format in html

  

 

    

 

    

③ sensitive conversion uppercase / lowercase

  

 

     

 

     

 

 

④number: 'The minimum number of decimal digits reserved integer reserved - reserved for the largest number of decimal places.'

  

 

    

 

    

Guess you like

Origin www.cnblogs.com/shanlu0000/p/12228856.html