@paperbits/core
Version:
Paperbits core components.
52 lines (41 loc) • 1.29 kB
text/typescript
import * as ko from "knockout";
import template from "./map-runtime.html";
import { Component, Param, RuntimeComponent, OnMounted } from "@paperbits/common/ko/decorators";
export class MapRuntime {
constructor() {
this.caption = ko.observable();
this.layout = ko.observable();
this.location = ko.observable();
this.zoom = ko.observable();
this.mapType = ko.observable();
this.apiKey = ko.observable();
this.markerIcon = ko.observable();
this.markerPopupKey = ko.observable();
this.customizations = ko.observable();
}
public caption: ko.Observable<string>;
public layout: ko.Observable<string>;
public location: ko.Observable<string>;
public zoom: ko.Observable<number>;
public mapType: ko.Observable<string>;
public apiKey: ko.Observable<string>;
public markerIcon: ko.Observable<string>;
public markerPopupKey: ko.Observable<string>;
public customizations: ko.Observable<any>;
}