File

widgets/implementations/map/map-event-info.component.ts

Implements

OnChanges

Metadata

Index

Properties
Methods
Inputs

Constructor

constructor(eventService: EventService)
Parameters :
Name Type Optional
eventService EventService No

Inputs

asset
Type : IManagedObject

Methods

Async ngOnChanges
ngOnChanges()
Returns : any

Properties

event
Type : IEvent
loading
Default value : true
<div class="text-muted text-10 p-t-4 p-b-4">
  <span translate>Last position update:</span>
  <br />
  <c8y-loading *ngIf="loading"></c8y-loading>
  <ng-container *ngIf="!loading">
    <i *ngIf="!event" translate>No information found</i>
    <ng-container *ngIf="event">
      <i>{{ event.time | c8yDate }}</i>
      <ng-content></ng-content>
    </ng-container>
  </ng-container>
</div>

results matching ""

    No results matching ""