The small text styles atom.

Hierarchy (view full)

Properties

callToAction: TypographyStyling

The call-to-action topography styling properties

callToActionSmall: TypographyStyling

The call-to-action small topography styling properties

The caption topography styling properties

captionBold: TypographyStyling

The caption bold topography styling properties

key: string

The unique key for the node. It is unique from all other nodes in the ThemeBuilder

The label1 topography styling properties

label1AllCaps: TypographyStyling

The label1 all caps topography styling properties

The label2 all caps topography styling properties

label2AllCaps: TypographyStyling

The label2 all caps topography styling properties

labelSmall: TypographyStyling

The label small topography styling properties

name: string

The name of the node, which is unique relative to it's siblings

The overline topography styling properties

overlineExtraLarge: TypographyStyling

The overline extra large topography styling properties

overlineLarge: TypographyStyling

The overline large topography styling properties

required: boolean

Is this a required atom?

The small topography styling properties

smallSemibold: TypographyStyling

The small semi-bold topography styling properties

The subtitle1 topography styling properties

The subtitle2 topography styling properties

Methods

  • Determine if this node is enabled. A node is enabled if all other nodes on which this node depends have been initialized.

    Returns boolean

    True if enabled, or false otherwise.

  • Determine if this node is initialized.

    If this node is a property, it is initialized if it is not required to have a value, or if it is required and has either a default or non-default value.

    Returns boolean

    True if initialized, or false otherwise.

  • Set a listener on this node

    Parameters

    • name: string

      The name of the listener.

    • callback: EventCallback

      The callback to call when an event occurs.

    • OptionaleventTypes: EventType[]

      The types of events to wait for. If none are specified, listen for all events.

    Returns ListenerSubscription

    The ListenerSubscription which should be canceled to stop listening.