Front end of the Slack clone application.

list-header.js 865B

1234567891011121314151617181920212223242526272829303132
  1. import { Attribute, Directive, ElementRef, Renderer } from '@angular/core';
  2. import { Config } from '../../config/config';
  3. import { Ion } from '../ion';
  4. /**
  5. * @hidden
  6. */
  7. export class ListHeader extends Ion {
  8. constructor(config, renderer, elementRef, _id) {
  9. super(config, elementRef, renderer, 'list-header');
  10. this._id = _id;
  11. }
  12. get id() {
  13. return this._id;
  14. }
  15. set id(val) {
  16. this._id = val;
  17. this.setElementAttribute('id', val);
  18. }
  19. }
  20. ListHeader.decorators = [
  21. { type: Directive, args: [{
  22. selector: 'ion-list-header'
  23. },] },
  24. ];
  25. /** @nocollapse */
  26. ListHeader.ctorParameters = () => [
  27. { type: Config, },
  28. { type: Renderer, },
  29. { type: ElementRef, },
  30. { type: undefined, decorators: [{ type: Attribute, args: ['id',] },] },
  31. ];
  32. //# sourceMappingURL=list-header.js.map