JumpListCategory Object¶
typestring (optional) - One of the following:tasks- Items in this category will be placed into the standardTaskscategory. There can be only one such category, and it will always be displayed at the bottom of the Jump List.frequent- Displays a list of files frequently opened by the app, the name of the category and its items are set by Windows.recent- Displays a list of files recently opened by the app, the name of the category and its items are set by Windows. Items may be added to this category indirectly usingapp.addRecentDocument(path).custom- Displays tasks or file links,namemust be set by the app.
namestring (optional) - Must be set iftypeiscustom, otherwise it should be omitted.itemsJumpListItem[] (optional) - Array ofJumpListItemobjects iftypeistasksorcustom, otherwise it should be omitted.
[!NOTE] If a
JumpListCategoryobject has neither thetypenor thenameproperty set then itstypeis assumed to betasks. If thenameproperty is set but thetypeproperty is omitted then thetypeis assumed to becustom.[!NOTE] The maximum length of a Jump List item's
descriptionproperty is 260 characters. Beyond this limit, the item will not be added to the Jump List, nor will it be displayed.
Markdown source: View on AtomGit·Content from the open-source project el/electron