mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
24 lines
584 B
TypeScript
24 lines
584 B
TypeScript
|
import {GristDoc} from "../components/GristDoc";
|
||
|
import {ViewSectionRec} from "../models/entities/ViewSectionRec";
|
||
|
import {CustomSectionConfig} from "./CustomSectionConfig";
|
||
|
|
||
|
export class PredefinedCustomSectionConfig extends CustomSectionConfig {
|
||
|
|
||
|
|
||
|
constructor(section: ViewSectionRec, gristDoc: GristDoc) {
|
||
|
super(section, gristDoc);
|
||
|
}
|
||
|
|
||
|
public buildDom() {
|
||
|
return this._customSectionConfigurationConfig.buildDom();
|
||
|
}
|
||
|
|
||
|
protected shouldRenderWidgetSelector(): boolean {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
protected async _getWidgets(): Promise<void> {
|
||
|
// Do nothing.
|
||
|
}
|
||
|
}
|