English
@eightkk/vue-weave / core / EventCalendarPngExportOptions
Interface: EventCalendarPngExportOptions<E>
Defined in: src/core/exportCalendarSvg.ts:85
Options of the EventCalendar exportSvg method. Current props and the shown view and date supply everything else.
Extends
Type Parameters
E
E extends CalendarEvent = CalendarEvent
Properties
background?
optionalbackground?:boolean
Defined in: src/core/exportCalendarSvg.ts:72
Paint an opaque background. Default true.
Inherited from
EventCalendarExportOptions.background
eventLabel?
optionaleventLabel?: (event) =>string
Defined in: src/core/exportCalendarSvg.ts:82
Parameters
event
E
Returns
string
Inherited from
EventCalendarExportOptions.eventLabel
heading?
optionalheading?:string|false
Defined in: src/core/exportCalendarSvg.ts:79
Text drawn above the view. Defaults to the toolbar title; false draws none.
Inherited from
EventCalendarExportOptions.heading
includeSelection?
optionalincludeSelection?:boolean
Defined in: src/core/exportCalendarSvg.ts:81
Draw the selected event in the selected style. Default true.
Inherited from
EventCalendarExportOptions.includeSelection
scale?
optionalscale?:number
Defined in: src/core/types.ts:914
Device pixels per CSS pixel, greater than 0 and at most 8. Default 1.
Inherited from
theme?
optionaltheme?:SvgExportThemeInput
Defined in: src/core/exportCalendarSvg.ts:75
Colours that replace the values read from the --vw-* custom properties.
Inherited from
EventCalendarExportOptions.theme
title?
optionaltitle?:string
Defined in: src/core/exportCalendarSvg.ts:73
Inherited from
EventCalendarExportOptions.title
width?
optionalwidth?:number
Defined in: src/core/exportCalendarSvg.ts:77
Width of the document in pixels. Defaults to the width of the component, or 896 before it is mounted.