mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Support dark mode in custom widgets
Test Plan: Manual. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D4036
This commit is contained in:
@@ -18,6 +18,13 @@ export interface ICustomWidget {
|
||||
* Optional desired access level.
|
||||
*/
|
||||
accessLevel?: AccessLevel;
|
||||
/**
|
||||
* If set, Grist will render the widget after `grist.ready()`.
|
||||
*
|
||||
* Currently, this is only used to defer rendering a widget until it has had
|
||||
* a chance to apply the Grist theme.
|
||||
*/
|
||||
renderAfterReady?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user