You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
397 B
12 lines
397 B
4 years ago
|
import {DocModel, IRowModel, refRecord, ViewRec} from 'app/client/models/DocModel';
|
||
|
import * as ko from 'knockout';
|
||
|
|
||
|
// Represents a page entry in the tree of pages.
|
||
|
export interface TabBarRec extends IRowModel<"_grist_TabBar"> {
|
||
|
view: ko.Computed<ViewRec>;
|
||
|
}
|
||
|
|
||
|
export function createTabBarRec(this: TabBarRec, docModel: DocModel): void {
|
||
|
this.view = refRecord(docModel.views, this.viewRef);
|
||
|
}
|