From dcfab1b6a0830ab049fa4a1f58b15f237a47604c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 8 Mar 2017 13:04:55 -0800 Subject: [PATCH] Link more touch bar params --- docs/api/touch-bar-button.md | 2 +- docs/api/touch-bar-group.md | 2 +- docs/api/touch-bar-popover.md | 4 ++-- docs/api/touch-bar.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api/touch-bar-button.md b/docs/api/touch-bar-button.md index 30f7033caff2..41a2d8505ddc 100644 --- a/docs/api/touch-bar-button.md +++ b/docs/api/touch-bar-button.md @@ -10,7 +10,7 @@ Process: [Main](../tutorial/quick-start.md#main-process) * `label` String (optional) - Button text. * `backgroundColor` String (optional) - Button background color in hex format, i.e `#ABCDEF`. - * `icon` NativeImage (optional) - Button icon. + * `icon` [NativeImage](native-image.md) (optional) - Button icon. * `click` Function (optional) - Function to call when the button is clicked. ### Instance Properties diff --git a/docs/api/touch-bar-group.md b/docs/api/touch-bar-group.md index d765effa8995..a0086989fe5e 100644 --- a/docs/api/touch-bar-group.md +++ b/docs/api/touch-bar-group.md @@ -7,4 +7,4 @@ Process: [Main](../tutorial/quick-start.md#main-process) ### `new TouchBarGroup(options)` * `options` Object - * `items` TouchBar - Items to display as a group. + * `items` [TouchBar](touch-bar.md) - Items to display as a group. diff --git a/docs/api/touch-bar-popover.md b/docs/api/touch-bar-popover.md index 231a68c43d3b..c7391cb9b454 100644 --- a/docs/api/touch-bar-popover.md +++ b/docs/api/touch-bar-popover.md @@ -8,8 +8,8 @@ Process: [Main](../tutorial/quick-start.md#main-process) * `options` Object * `label` String (optional) - Popover button text. - * `icon` NativeImage (optional) - Popover button icon. - * `items` TouchBar (optional) - Items to display in the popover. + * `icon` [NativeImage](native-image.md) (optional) - Popover button icon. + * `items` [TouchBar](touch-bar.md) (optional) - Items to display in the popover. * `showCloseButton` Boolean (optional) - `true` to display a close button on the left of the popover, `false` to not show it. Default is `true`. diff --git a/docs/api/touch-bar.md b/docs/api/touch-bar.md index 8f0f35449635..018652138726 100644 --- a/docs/api/touch-bar.md +++ b/docs/api/touch-bar.md @@ -6,7 +6,7 @@ Process: [Main](../tutorial/quick-start.md#main-process) ### `new TouchBar(items)` -* `items` (TouchBarButton | TouchBarColorPicker | TouchBarGroup | TouchBarLabel | TouchBarPopOver | TouchBarSlider | TouchBarSpacer)[] +* `items` ([TouchBarButton](touch-bar-button.md) | [TouchBarColorPicker](touch-bar-color-picker.md) | [TouchBarGroup](touch-bar-group.md) | [TouchBarLabel](touch-bar-label.md) | [TouchBarPopover](touch-bar-popover.md) | [TouchBarSlider](touch-bar-slider.md) | [TouchBarSpacer](touch-bar-spacer.md))[] Creates a new touch bar with the specified items. Use `BrowserWindow.setTouchBar` to add the `TouchBar` to a window.