OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace":"fileBrowserPrivate", | 3 "namespace":"fileBrowserPrivate", |
4 "nodoc": "true", | 4 "nodoc": "true", |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "FileBrowserTask", | 7 "id": "FileBrowserTask", |
8 "type": "object", | 8 "type": "object", |
9 "description": "Represents information about available browser tasks. A
task is an abstraction of an operation that the file browser can perform over a
selected file set.", | 9 "description": "Represents information about available browser tasks. A
task is an abstraction of an operation that the file browser can perform over a
selected file set.", |
10 "properties": { | 10 "properties": { |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 { | 529 { |
530 "name": "formatDevice", | 530 "name": "formatDevice", |
531 "description": "Formats a mounted device", | 531 "description": "Formats a mounted device", |
532 "parameters": [ | 532 "parameters": [ |
533 { | 533 { |
534 "name": "mountPath", | 534 "name": "mountPath", |
535 "type": "string", | 535 "type": "string", |
536 "description": "Device's mount path." | 536 "description": "Device's mount path." |
537 } | 537 } |
538 ] | 538 ] |
| 539 }, |
| 540 { |
| 541 "name": "toggleFullscreen", |
| 542 "description": "Switches fullscreen mode on/off for the File Browser.", |
| 543 "parameters": [] |
| 544 }, |
| 545 { |
| 546 "name": "isFullscreen", |
| 547 "description": "Checks if the browser is in fullscreen mode.", |
| 548 "parameters": [ |
| 549 { |
| 550 "name": "callback", |
| 551 "type": "function", |
| 552 "optional": false, |
| 553 "parameters": [ |
| 554 { |
| 555 "name" : "result", |
| 556 "type": "boolean", |
| 557 "description": "Whether the browser is in fullscreen mode." |
| 558 } |
| 559 ] |
| 560 } |
| 561 ] |
539 } | 562 } |
540 ], | 563 ], |
541 "events": [ | 564 "events": [ |
542 { | 565 { |
543 "name": "onDiskChanged", | 566 "name": "onDiskChanged", |
544 "type": "function", | 567 "type": "function", |
545 "description": "Fired when disk mount/unmount event is detected.", | 568 "description": "Fired when disk mount/unmount event is detected.", |
546 "parameters": [ | 569 "parameters": [ |
547 { | 570 { |
548 "$ref": "MountEvent", | 571 "$ref": "MountEvent", |
(...skipping 22 matching lines...) Expand all Loading... |
571 { | 594 { |
572 "$ref": "FileWatchEvent", | 595 "$ref": "FileWatchEvent", |
573 "name": "event", | 596 "name": "event", |
574 "description": "File watch event information." | 597 "description": "File watch event information." |
575 } | 598 } |
576 ] | 599 ] |
577 } | 600 } |
578 ] | 601 ] |
579 } | 602 } |
580 ] | 603 ] |
OLD | NEW |