@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
18 lines (17 loc) • 580 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoteInternalApi = void 0;
const ApiBase_1 = require("../Implementation/ApiBase");
class NoteInternalApi extends ApiBase_1.ApiBase {
areNotesSupported() {
if (this.getLayoutApi().isCurrentLayoutPivot()) {
return false;
}
return true;
}
getNotesDateFormat() {
const dateFormat = this.getNoteOptions().dateFormat;
return typeof dateFormat === 'function' ? dateFormat() : dateFormat;
}
}
exports.NoteInternalApi = NoteInternalApi;