File

src/smart-developer-tools/session-info/session-info.component.ts

Extends

AbstractFormChild

Implements

OnInit AfterViewInit

Metadata

selector session-info
styleUrls ./session-info.component.css
templateUrl ./session-info.component.html

Index

Properties
Methods

Constructor

constructor(serviceAdapter: SmartServiceAdapter, smartHttp: SmartHttpService, injector: Injector)
Parameters :
Name Type Optional
serviceAdapter SmartServiceAdapter No
smartHttp SmartHttpService No
injector Injector No

Methods

handleLayoutChange
handleLayoutChange(newLayout: literal type)
Parameters :
Name Type Optional
newLayout literal type No
Returns : void

Properties

height
Type : number
Public serviceAdapter
Type : SmartServiceAdapter
sessionInfo
Type : any[]
<kendo-panelbar *ngIf="!!sessionInfo" [height]="height">
  <kendo-panelbar-item *ngFor="let item of sessionInfo" [title]="item.Label">
    <ng-template kendoPanelBarContent>
      <kendo-grid [data]="item.Entries" [scrollable]="'none'" [resizable]="true">
        <kendo-grid-column width="40">
          <ng-template kendoGridCellTemplate let-dataItem>
            <img [src]="serviceAdapter.imageURI + '/' + dataItem.Image"/>
          </ng-template>
        </kendo-grid-column>
        <kendo-grid-column [title]="item.KeyLabel" field="Key">
          <ng-template kendoGridHeaderTemplate>
            <p style="font-weight: bold">{{item.KeyLabel}}</p>
          </ng-template>
        </kendo-grid-column>
        <kendo-grid-column [title]="item.DescriptionLabel">
          <ng-template kendoGridHeaderTemplate>
            <p style="font-weight: bold">{{item.DescriptionLabel}}</p>
          </ng-template>
          <ng-template kendoGridCellTemplate let-dataItem>
            <p>{{dataItem.Description}}</p>
          </ng-template>
        </kendo-grid-column>
      </kendo-grid>
    </ng-template>
  </kendo-panelbar-item>
</kendo-panelbar>

./session-info.component.css

Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""