mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add docs
This commit is contained in:
committed by
Kevin Sawicki
parent
05cb26a174
commit
fe99b255c4
@@ -401,6 +401,14 @@ You can request the following paths by the name:
|
||||
* `videos` Directory for a user's videos.
|
||||
* `pepperFlashSystemPlugin` Full path to the system version of the Pepper Flash plugin.
|
||||
|
||||
### `app.getFileIcon(path, [options], callback)`
|
||||
|
||||
* `path` String
|
||||
* `options` Object (optional)
|
||||
* `size` String - Defaults to `normal`. Can be `small`, `normal`, `large`
|
||||
* `callback` Function
|
||||
* `Icon` [NativeImage](native-image.md)
|
||||
|
||||
### `app.setPath(name, path)`
|
||||
|
||||
* `name` String
|
||||
|
||||
Reference in New Issue
Block a user