File

projects/rebirth-ng/src/lib/tabs/tab.component.ts

Metadata

selector re-tab

Index

Properties
Inputs

Inputs

disabled

Default value: false

id

Type: number | string

title

Type: string

Properties

contentTpl
contentTpl: TabContentDirective
Type : TabContentDirective
Decorators : ContentChild
titleTpl
titleTpl: TabTitleDirective
Type : TabTitleDirective
Decorators : ContentChild
import { Component, Input, ContentChild } from '@angular/core';
import { TabContentDirective } from './tab-content.directive';
import { TabTitleDirective } from './tab-title.directive';

@Component({
  selector: 're-tab',
  template: ''
})
export class TabComponent {
  @Input() id: number |string;
  @Input() title: string;
  @Input() disabled = false;
  @ContentChild(TabContentDirective) contentTpl: TabContentDirective;
  @ContentChild(TabTitleDirective) titleTpl: TabTitleDirective;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""