Skip to main content

gcal.gadget

Home > @runlightyear/gcal > Gadget

Gadget interface

Signature:
interface Gadget 

Required Properties

PropertyModifiersTypeDescription
display"icon" | "chip"The gadget's display mode. Deprecated. Possible values are: "icon" - The gadget displays next to the event's title in the calendar view. "chip" - The gadget displays when the event is clicked.
heightnumberThe gadget's height in pixels. The height must be an integer greater than 0.
iconLink"https"The gadget's icon URL. The URL scheme must be HTTPS.
linkstringThe gadget's URL. The URL scheme must be HTTPS.
preferencesobjectPreferences.
titlestringThe gadget's title.
typestringThe gadget's type.
widthnumberThe gadget's width in pixels. The width must be an integer greater than 0.