import { Directive, ElementRef, Input, Renderer } from '@angular/core'; import { Config } from '../../config/config'; import { Ion } from '../ion'; /** * @private */ @Directive({ selector: 'ion-note' }) export class Note extends Ion { /** * @input {string} The predefined color to use. For example: `"primary"`, `"secondary"`, `"danger"`. */ @Input() set color(val: string) { this._setColor(val); } /** * @input {string} The mode to apply to this component. */ @Input() set mode(val: string) { this._setMode(val); } constructor(config: Config, elementRef: ElementRef, renderer: Renderer) { super(config, elementRef, renderer, 'note'); } }