apim-developer-portal4
Version:
API management developer portal
21 lines (17 loc) • 489 B
text/typescript
import * as ko from "knockout";
import template from "./code-sample.html";
import { Component, Param } from "@paperbits/common/ko/decorators";
({
selector: "code-sample",
template: template
})
export class CodeSampleViewModel {
constructor() {
this.content = ko.observable();
this.language = ko.observable();
}
()
public readonly content: ko.Observable<string>;
()
public readonly language: ko.Observable<string>;
}