Skip to content

Cards

nodekit.cards.TextCard pydantic-model

Fields:

background_color pydantic-field

background_color: ColorHexString = '#E6E6E600'

The background color of the TextCard in hexadecimal format.

font_size pydantic-field

font_size: PixelSize = 20

The height of the em-box, in Board units.

nodekit.cards.ImageCard pydantic-model

Fields:

nodekit.cards.VideoCard pydantic-model

Video placed on the Board. The audio channel is ignored.

Attributes:

  • video (Video) –

    The video asset to render.

  • loop (bool) –

    Whether to loop the video when it ends.

  • region (Region) –

    The Board region where the video is rendered.

Fields:

loop pydantic-field

loop: bool = False

Whether to loop the video when it ends.

nodekit.cards.CompositeCard pydantic-model

Fields: