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/
**/
export class Chip extends Ion {
constructor(config, elementRef, renderer) {
super(config, elementRef, renderer, 'chip');
}
}
Chip.decorators = [
{ type: Directive, args: [{
selector: 'ion-chip'
},] },
];
/** @nocollapse */
Chip.ctorParameters = () => [
{ type: Config, },
{ type: ElementRef, },
{ type: Renderer, },
];
//# sourceMappingURL=chip.js.map