本文へ移動

@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? ​

optional background?: boolean

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

Paint an opaque background. Default true.

Inherited from ​

EventCalendarExportOptions.background


eventLabel? ​

optional eventLabel?: (event) => string

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

Parameters ​

event ​

E

Returns ​

string

Inherited from ​

EventCalendarExportOptions.eventLabel


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.

Inherited from ​

EventCalendarExportOptions.heading


includeSelection? ​

optional includeSelection?: boolean

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

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

Inherited from ​

EventCalendarExportOptions.includeSelection


scale? ​

optional scale?: number

Defined in: src/core/types.ts:914

Device pixels per CSS pixel, greater than 0 and at most 8. Default 1.

Inherited from ​

PngExportOptions.scale


theme? ​

optional theme?: SvgExportThemeInput

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

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

Inherited from ​

EventCalendarExportOptions.theme


title? ​

optional title?: string

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

Inherited from ​

EventCalendarExportOptions.title


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.

Inherited from ​

EventCalendarExportOptions.width

MIT ライセンスで公開しています。