/** * @license * Copyright Paperbits. All Rights Reserved. * * Use of this source code is governed by a Commercial license that can be found in the LICENSE file and at https://paperbits.io/license/commercial. */ import * as ko from "knockout"; import template from "./layout.html"; import { Component } from "@paperbits/common/ko/decorators"; @Component({ selector: "email-layout", template: template }) export class LayoutViewModel { public title: ko.Observable; public description: ko.Observable; public permalinkTemplate: ko.Observable; public widgets: ko.ObservableArray; constructor() { this.widgets = ko.observableArray(); this.title = ko.observable(); this.description = ko.observable(); this.permalinkTemplate = ko.observable(); } }