Files
ionic-framework/scripts/templates/pipe/ts.tmpl

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();
}
}