Class: TouchBarLabel

    Process: Main
    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