var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); (function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports", "@angular/core", "../../config/config", "../ion"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var config_1 = require("../../config/config"); var ion_1 = require("../ion"); /** * @name Typography * @module ionic * @description * * The Typography component is a simple component that can be used to style the text color of any element. * The `ion-text` attribute should be added to the element in order to pass a color from the Sass `$colors` * map and change the text color of that element. * * @usage * * ```html *
* I saw a werewolf with a Chinese menu in his hand. * Walking through the streets of Soho in the rain. * He was looking for a place called Lee Ho Fook's. * Gonna get a big dish of beef chow mein. *
* ** He's the hairy-handed gent who ran amuck in Kent. * Lately he's been overheard in Mayfair. * Better stay away from him. * He'll rip your lungs out, Jim. * I'd like to meet his tailor. *
* ``` * */ var Typography = (function (_super) { __extends(Typography, _super); function Typography(config, elementRef, renderer) { return _super.call(this, config, elementRef, renderer, 'text') || this; } Typography.decorators = [ { type: core_1.Directive, args: [{ selector: '[ion-text]' },] }, ]; /** @nocollapse */ Typography.ctorParameters = function () { return [ { type: config_1.Config, }, { type: core_1.ElementRef, }, { type: core_1.Renderer, }, ]; }; return Typography; }(ion_1.Ion)); exports.Typography = Typography; }); //# sourceMappingURL=typography.js.map