Function MockWorkspaceDocumentSection
- MockWorkspaceDocumentSection(overrides?): DeviceApi.DocumentSection
Parameters
Optionaloverrides: {
colSpan?: ColSpan;
id?: string;
metadata?: {
backgroundColor?: string;
itemSlug?: string;
kioskMode?: boolean;
linkToDocumentView?: boolean;
mobileItemSlug?: string;
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
pagingControls?: PagingControlsType;
pdfPageDropShadow?: boolean;
pdfPagingMode?: DocumentSectionPdfPagingMode;
showZoomControls?: boolean;
startPage?: 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";
};
topBarStyle?: "none" | "full" | "pageButtonsOnly";
};
offset?: number;
type?: "document";
}OptionalcolSpan?: ColSpan
Optionalid?: string
Optionalmetadata?: {
backgroundColor?: string;
itemSlug?: string;
kioskMode?: boolean;
linkToDocumentView?: boolean;
mobileItemSlug?: string;
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
pagingControls?: PagingControlsType;
pdfPageDropShadow?: boolean;
pdfPagingMode?: DocumentSectionPdfPagingMode;
showZoomControls?: boolean;
startPage?: 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";
};
topBarStyle?: "none" | "full" | "pageButtonsOnly";
}
OptionalbackgroundColor?: string
OptionalitemSlug?: string
OptionalkioskMode?: boolean
OptionallinkToDocumentView?: boolean
OptionalmobileItemSlug?: string
Optionalpadding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
}
Optionalbottom?: number
Optionalleft?: number
Optionalright?: number
Optionaltop?: number
OptionalpagingControls?: PagingControlsType
OptionalpdfPageDropShadow?: boolean
OptionalpdfPagingMode?: DocumentSectionPdfPagingMode
OptionalshowZoomControls?: boolean
OptionalstartPage?: 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"
OptionaltopBarStyle?: "none" | "full" | "pageButtonsOnly"
Optionaloffset?: number
Optionaltype?: "document"
Returns DeviceApi.DocumentSection
PowerPoints will normally advance if you click anywhere on the slide. kioskMode disables that.