mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
19 lines
395 B
Cheetah
19 lines
395 B
Cheetah
import { Pipe, PipeTransform } from '@angular/core';
|
|
|
|
/**
|
|
* Generated class for the $CLASSNAME pipe.
|
|
*
|
|
* See https://angular.io/api/core/Pipe for more info on Angular Pipes.
|
|
*/
|
|
@Pipe({
|
|
name: '$PIPENAME',
|
|
})
|
|
export class $CLASSNAME implements PipeTransform {
|
|
/**
|
|
* Takes a value and makes it lowercase.
|
|
*/
|
|
transform(value: string, ...args) {
|
|
return value.toLowerCase();
|
|
}
|
|
}
|