Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions content/en-US/guides/sheets/features/core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ const { univerAPI } = createUniver({
const { univerAPI } = createUniver({
// The theme of the Univer instance, default using the default theme.
theme: IStyleSheet;
// Whether to use dark mode.
/**
* Whether to use dark mode.
* @version 0.8.0+
*/
darkMode?: boolean;
// The locale of the Univer instance.
locale: LocaleType;
Expand Down Expand Up @@ -94,7 +97,10 @@ const { univerAPI } = createUniver({
* @version 0.2.0+
*/
toolbar?: boolean;
// The type of the header toolbar. default: grouped mode; simple: ungrouped mode.
/**
* The type of the header toolbar. default: grouped mode; simple: ungrouped mode.
* @version 0.8.1+
*/
ribbonType?: RibbonType;
// whether to display the footer.
footer?: false | {
Expand Down Expand Up @@ -225,7 +231,10 @@ univer.registerPlugin(UniverSheetsNumfmtUIPlugin);
new Univer({
// The theme of the Univer instance, default using the default theme.
theme: IStyleSheet;
// Whether to use dark mode.
/**
* Whether to use dark mode.
* @version 0.8.0+
*/
darkMode?: boolean;
// The locale of the Univer instance.
locale: LocaleType;
Expand Down Expand Up @@ -253,7 +262,10 @@ univer.registerPlugin(UniverUIPlugin, {
* @version 0.2.0+
*/
toolbar?: boolean;
// The type of the header toolbar. default: grouped mode; simple: ungrouped mode.
/**
* The type of the header toolbar. default: grouped mode; simple: ungrouped mode.
* @version 0.8.1+
*/
ribbonType?: RibbonType;
// Whether to display the context menu.
contextMenu?: boolean;
Expand Down
20 changes: 16 additions & 4 deletions content/zh-CN/guides/sheets/features/core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ const { univerAPI } = createUniver({
const { univerAPI } = createUniver({
// Univer 实例的主题,默认使用默认主题。
theme: IStyleSheet;
// 是否使用暗黑模式。
/**
* 是否使用暗黑模式。
* @version 0.8.0+
*/
darkMode?: boolean;
// Univer 实例的语言环境。
locale: LocaleType;
Expand Down Expand Up @@ -94,7 +97,10 @@ const { univerAPI } = createUniver({
* @version 0.2.0+
*/
toolbar?: boolean;
// 头部工具栏的类型。default: 分组模式;simple:不分组模式。
/**
* 头部工具栏的类型。default: 分组模式;simple:不分组模式。
* @version 0.8.1+
*/
ribbonType?: RibbonType;
// 是否显示底部。
footer?: false | {
Expand Down Expand Up @@ -225,7 +231,10 @@ univer.registerPlugin(UniverSheetsNumfmtUIPlugin);
new Univer({
// Univer 实例的主题,默认使用默认主题。
theme: IStyleSheet;
// 是否使用暗黑模式。
/**
* 是否使用暗黑模式。
* @version 0.8.0+
*/
darkMode?: boolean;
// Univer 实例的语言环境。
locale: LocaleType;
Expand Down Expand Up @@ -253,7 +262,10 @@ univer.registerPlugin(UniverUIPlugin, {
* @version 0.2.0+
*/
toolbar?: boolean;
// 头部工具栏的类型。default: 分组模式;simple:不分组模式。
/**
* 头部工具栏的类型。default: 分组模式;simple:不分组模式。
* @version 0.8.1+
*/
ribbonType?: RibbonType;
// 是否显示右键菜单。
contextMenu?: boolean;
Expand Down
Loading