Function MockWorkspaceHtmlSection
- MockWorkspaceHtmlSection(overrides?): DeviceApi.HtmlSection
Parameters
Optionaloverrides: {
colSpan?: ColSpan;
id?: string;
metadata?: {
backgroundColor?: string;
fileSlug?: string;
html?: string;
maxHeight?: number;
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
title?: string;
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
};
type?: HtmlSectionType;
};
offset?: number;
type?: "html";
}OptionalcolSpan?: ColSpan
Optionalid?: string
Optionalmetadata?: {
backgroundColor?: string;
fileSlug?: string;
html?: string;
maxHeight?: number;
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
title?: string;
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
};
type?: HtmlSectionType;
}
OptionalbackgroundColor?: string
OptionalfileSlug?: string
Optionalhtml?: string
OptionalmaxHeight?: number
Optionalpadding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
}
Optionalbottom?: number
Optionalleft?: number
Optionalright?: number
Optionaltop?: number
Optionaltitle?: string
OptionaltitleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
}
Optionalalign?: "left" | "right" | "center"
OptionalbackgroundColor?: string
OptionalborderThickness?: "thin" | "medium" | "thick"
Optionalcorner?: "rounded" | "straight"
OptionalfontColor?: string
OptionalfontFamily?: string
OptionalfontSize?: string
OptionalfontVariant?: string
Optionalstyle?: "solid" | "border" | "bottom-border"
Optionaltype?: HtmlSectionType
Optionaloffset?: number
Optionaltype?: "html"
Returns DeviceApi.HtmlSection