mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
20 lines
416 B
Cheetah
20 lines
416 B
Cheetah
import { Pipe, PipeTransform } from '@angular/core';
|
|
|
|
/**
|
|
* Generated class for the $CLASSNAME pipe.
|
|
*
|
|
* See https://angular.io/docs/ts/latest/guide/pipes.html for more info on
|
|
* Angular Pipes.
|
|
*/
|
|
@Pipe({
|
|
name: '$FILENAME',
|
|
})
|
|
export class $CLASSNAME implements PipeTransform {
|
|
/**
|
|
* Takes a value and makes it lowercase.
|
|
*/
|
|
transform(value: string, ...args) {
|
|
return value.toLowerCase();
|
|
}
|
|
}
|