ionic-framework
Version:
The ionic-framework package comes with both Javascript and Sass frontend dependencies, located in the root of the package, and a Node API, located in `tooling/`.
20 lines (19 loc) • 614 B
TypeScript
import { PipeTransform } from 'angular2/core';
import { Translate } from './translate';
/**
* @private
* The Translate pipe makes it easy to translate strings.
*
* @usage
* Translate using the current language or language set through Translate.setLanguage
* {{ 'Please enter your location' | translate }}
*
* Translate using a specific language
* {{ 'Please enter your location' | translate:"de" }}
*/
export declare class TranslatePipe implements PipeTransform {
private translate;
constructor(translate: Translate);
transform(value: any, args: any): any;
supports(obj: any): boolean;
}