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 __()); }; })(); import { Directive, ElementRef, Renderer } from '@angular/core'; import { Config } from '../../config/config'; import { Ion } from '../ion'; /** * @name Chip * @module ionic * @description * Chips represent complex entities in small blocks, such as a contact. * * * @usage * * ```html * * Default * * * * Secondary Label * * * * Secondary w/ Dark label * * * * Danger * * * * * Default * * * * * Default * * * * * * * Default * * ``` * * * @advanced * * ```html * * Default * * * * * * With Icon * * * * * * * * With Avatar * * * ``` * * ```ts * @Component({ * templateUrl: 'main.html' * }) * class E2EPage { * delete(chip: Element) { * chip.remove(); * } * } * ``` * * @demo /docs/demos/src/chip/ **/ var Chip = (function (_super) { __extends(Chip, _super); function Chip(config, elementRef, renderer) { return _super.call(this, config, elementRef, renderer, 'chip') || this; } Chip.decorators = [ { type: Directive, args: [{ selector: 'ion-chip' },] }, ]; /** @nocollapse */ Chip.ctorParameters = function () { return [ { type: Config, }, { type: ElementRef, }, { type: Renderer, }, ]; }; return Chip; }(Ion)); export { Chip }; //# sourceMappingURL=chip.js.map