docs: revised version of the quick start guide (#25760)

This commit is contained in:
Antonio 2020-10-13 23:15:40 +03:00 committed by GitHub
commit 8dfb1cf78f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 316 additions and 408 deletions

View file

@ -13,7 +13,7 @@ either process type.
The basic rule is: if a module is [GUI][gui] or low-level system related, then
it should be only available in the main process. You need to be familiar with
the concept of [main process vs. renderer process](../tutorial/application-architecture.md#main-and-renderer-processes)
the concept of [main process vs. renderer process](../tutorial/quick-start.md#main-and-renderer-processes)
scripts to be able to use those modules.
The main process script is like a normal Node.js script:
@ -43,7 +43,7 @@ extra ability to use node modules if `nodeIntegration` is enabled:
</html>
```
To run your app, read [Run your app](../tutorial/first-app.md#running-your-app).
To run your app, read [Run your app](../tutorial/quick-start.md#run-your-application).
## Destructuring assignment

View file

@ -2,7 +2,7 @@
> Create a button in the touch bar for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarButton(options)`

View file

@ -2,7 +2,7 @@
> Create a color picker in the touch bar for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarColorPicker(options)`

View file

@ -2,7 +2,7 @@
> Create a group in the touch bar for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarGroup(options)`

View file

@ -2,7 +2,7 @@
> Create a label in the touch bar for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarLabel(options)`

View file

@ -7,6 +7,6 @@
>
> Note: Only one instance of this class can be added per TouchBar.
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarOtherItemsProxy()`

View file

@ -2,7 +2,7 @@
> Create a popover in the touch bar for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarPopover(options)`

View file

@ -2,7 +2,7 @@
> Create a scrubber (a scrollable selector)
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarScrubber(options)`

View file

@ -2,7 +2,7 @@
> Create a segmented control (a button group) where one button has a selected state
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarSegmentedControl(options)`

View file

@ -2,7 +2,7 @@
> Create a slider in the touch bar for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarSlider(options)`

View file

@ -2,7 +2,7 @@
> Create a spacer between two items in the touch bar for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBarSpacer(options)`

View file

@ -2,7 +2,7 @@
> Create TouchBar layouts for native macOS applications
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
Process: [Main](../glossary.md#main-process)
### `new TouchBar(options)`