mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 06:56:38 +00:00
24 lines
444 B
TypeScript
24 lines
444 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);
|