Merge pull request #8078 from electron/dts-docs-update-again
Update Docs
This commit is contained in:
commit
f99dabbac6
14 changed files with 66 additions and 42 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
* `name` String - The name of the cookie.
|
||||
* `value` String - The value of the cookie.
|
||||
* `domain` String - The domain of the cookie.
|
||||
* `hostOnly` String - Whether the cookie is a host-only cookie.
|
||||
* `path` String - The path of the cookie.
|
||||
* `secure` Boolean - Whether the cookie is marked as secure.
|
||||
* `httpOnly` Boolean - Whether the cookie is marked as HTTP only.
|
||||
* `session` Boolean - Whether the cookie is a session cookie or a persistent
|
||||
* `domain` String - (optional) The domain of the cookie.
|
||||
* `hostOnly` Boolean - (optional) Whether the cookie is a host-only cookie.
|
||||
* `path` String - (optional) The path of the cookie.
|
||||
* `secure` Boolean - (optional) Whether the cookie is marked as secure.
|
||||
* `httpOnly` Boolean - (optional) Whether the cookie is marked as HTTP only.
|
||||
* `session` Boolean - (optional) Whether the cookie is a session cookie or a persistent
|
||||
cookie with an expiration date.
|
||||
* `expirationDate` Double (optional) - The expiration date of the cookie as
|
||||
* `expirationDate` Double - (optional) The expiration date of the cookie as
|
||||
the number of seconds since the UNIX epoch. Not provided for session
|
||||
cookies.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# JumpListCategory Object
|
||||
|
||||
* `type` String - One of the following:
|
||||
* `type` String - (optional) One of the following:
|
||||
* `tasks` - Items in this category will be placed into the standard `Tasks`
|
||||
category. There can be only one such category, and it will always be
|
||||
displayed at the bottom of the Jump List.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# JumpListItem Object
|
||||
|
||||
* `type` String - One of the following:
|
||||
* `type` String - (optional) One of the following:
|
||||
* `task` - A task will launch an app with specific arguments.
|
||||
* `separator` - Can be used to separate items in the standard `Tasks`
|
||||
category.
|
||||
|
@ -18,11 +18,11 @@
|
|||
Should only be set if `type` is `task`.
|
||||
* `description` String - (optional) Description of the task (displayed in a tooltip).
|
||||
Should only be set if `type` is `task`.
|
||||
* `iconPath` String - The absolute path to an icon to be displayed in a
|
||||
* `iconPath` String - (optional) The absolute path to an icon to be displayed in a
|
||||
Jump List, which can be an arbitrary resource file that contains an icon
|
||||
(e.g. `.ico`, `.exe`, `.dll`). You can usually specify `process.execPath` to
|
||||
show the program icon.
|
||||
* `iconIndex` Number - The index of the icon in the resource file. If a
|
||||
* `iconIndex` Number - (optional) The index of the icon in the resource file. If a
|
||||
resource file contains multiple icons this value can be used to specify the
|
||||
zero-based index of the icon that should be displayed for this task. If a
|
||||
resource file contains only one icon, this property should be set to zero.
|
||||
|
|
4
docs/api/structures/mime-typed-buffer.md
Normal file
4
docs/api/structures/mime-typed-buffer.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# MimeTypedBuffer Object
|
||||
|
||||
* `mimeType` String - The mimeType of the Buffer that you are sending
|
||||
* `buffer` Buffer - The actual Buffer content
|
Loading…
Add table
Add a link
Reference in a new issue