Skip to content

@eightkk/vue-weave / core / EventCalendarExportOptions

Interface: EventCalendarExportOptions<E> ​

Defined in: src/core/exportCalendarSvg.ts:70

Options of the EventCalendar exportSvg method. Current props and the shown view and date supply everything else.

Extended by ​

Type Parameters ​

E ​

E extends CalendarEvent = CalendarEvent

Properties ​

background? ​

optional background?: boolean

Defined in: src/core/exportCalendarSvg.ts:72

Paint an opaque background. Default true.


eventLabel? ​

optional eventLabel?: (event) => string

Defined in: src/core/exportCalendarSvg.ts:82

Parameters ​

event ​

E

Returns ​

string


heading? ​

optional heading?: string | false

Defined in: src/core/exportCalendarSvg.ts:79

Text drawn above the view. Defaults to the toolbar title; false draws none.


includeSelection? ​

optional includeSelection?: boolean

Defined in: src/core/exportCalendarSvg.ts:81

Draw the selected event in the selected style. Default true.


theme? ​

optional theme?: SvgExportThemeInput

Defined in: src/core/exportCalendarSvg.ts:75

Colours that replace the values read from the --vw-* custom properties.


title? ​

optional title?: string

Defined in: src/core/exportCalendarSvg.ts:73


width? ​

optional width?: 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.

Released under the MIT License.