File

app-logs/app-logs-auto-refresh.component.ts

Metadata

selector c8y-app-logs-auto-refresh
templateUrl ./app-logs-auto-refresh.component.html

Index

Properties
Methods
Inputs
Outputs
Accessors

Constructor

constructor(appLogsService: AppLogsService)
Parameters :
Name Type Optional
appLogsService AppLogsService No

Inputs

buttonsDisabled

Type : boolean

mo

Type : any

selectedInstance

Type : any

Outputs

onNewLogs $event Type: EventEmitter

Methods

ngAfterViewInit
ngAfterViewInit()
Returns : void
ngOnDestroy
ngOnDestroy()
Returns : void

Properties

button
button: ElementRef
Type : ElementRef
Decorators :
@ViewChild('autoRefresh', {static: undefined})
cancel$
cancel$: Subject<boolean>
Type : Subject<boolean>
Default value : new Subject<boolean>()
isAutoRefreshDisabled
isAutoRefreshDisabled: boolean
Type : boolean
Default value : false
isAutoRefreshOn
isAutoRefreshOn: boolean
Type : boolean
Default value : true
logsToOutput
logsToOutput: LogsJSON
Type : LogsJSON
Default value : this.getEmptyLogsJson()

Accessors

buttonsDisabled
setbuttonsDisabled(areDisabled: boolean)
Parameters :
Name Type Optional
areDisabled boolean No
Returns : void
<button #autoRefresh
  type="button"
  class="btn btn-link c8y-realtime"
  [ngStyle]="{'width': 'auto'}"
  title="{{'Toggle auto refresh' | translate}}"
  [disabled]="isAutoRefreshDisabled"
>
  <span class="c8y-pulse" [ngClass]="isAutoRefreshOn ? 'active' : 'inactive'"></span>
  {{'Auto refresh' | translate}}
</button>

result-matching ""

    No results matching ""