mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-29 08:56:52 +00:00
15f9146ac9
Co-authored-by: Steve Faulkner <stfaul@microsoft.com>
24 lines
467 B
TypeScript
24 lines
467 B
TypeScript
import "../less/index.less";
|
|
import "./Libs/jquery";
|
|
|
|
import * as ko from "knockout";
|
|
|
|
class Index {
|
|
public navigationSelection: ko.Observable<string>;
|
|
|
|
constructor() {
|
|
this.navigationSelection = ko.observable("quickstart");
|
|
}
|
|
|
|
public quickstart_click() {
|
|
this.navigationSelection("quickstart");
|
|
}
|
|
|
|
public explorer_click() {
|
|
this.navigationSelection("explorer");
|
|
}
|
|
}
|
|
|
|
var index = new Index();
|
|
ko.applyBindings(index);
|