File

core/realtime/realtime-button.component.ts

Metadata

Index

Methods
Inputs
Accessors

Inputs

label
Type : string
Default value : gettext('Realtime')
service
Type : RealtimeService<any>
title
Type : string
Default value : gettext('Toggle realtime')

Methods

toggle
toggle()
Returns : void

Accessors

active
getactive()
<button
  type="button"
  class="btn btn-link c8y-realtime"
  title="{{ title | translate }}"
  (click)="toggle()"
>
  <span class="c8y-pulse" [ngClass]="{ active: active, inactive: !active }"></span>
  <span>{{ label | translate }}</span>
</button>

results matching ""

    No results matching ""