Class: TouchBarLabel

    Process:
    This class is not exported from the 'electron' module. It is only available as a return value of other methods in the Electron API.

    • Object
      • label string (optional) - Text to display.
      • textColor string (optional) - Hex color of text, i.e #ABCDEF.

    Instance Properties

    The following properties are available on instances of :

    touchBarLabel.label

    touchBarLabel.accessibilityLabel

    A string representing the description of the label to be read by a screen reader.

    touchBarLabel.textColor