import * as ko from "knockout"; import template from "./placeholder.html"; import { Component } from "@paperbits/common/ko/decorators"; import { ComponentFlow } from "@paperbits/common/components"; @Component({ selector: "paperbits-placeholder", template: template }) export class Placeholder { public title: ko.Observable; public widgetBinding: any; constructor(title: string) { this.title = ko.observable(title); this.widgetBinding = { displayName: title, flow: ComponentFlow.Placeholder, readonly: true }; } }