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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 { | 523 { |
524 "name": "formatDevice", | 524 "name": "formatDevice", |
525 "description": "Formats a mounted device", | 525 "description": "Formats a mounted device", |
526 "parameters": [ | 526 "parameters": [ |
527 { | 527 { |
528 "name": "mountPath", | 528 "name": "mountPath", |
529 "type": "string", | 529 "type": "string", |
530 "description": "Device's mount path." | 530 "description": "Device's mount path." |
531 } | 531 } |
532 ] | 532 ] |
| 533 }, |
| 534 { |
| 535 "name": "toggleFullscreen", |
| 536 "description": "Switches fullscreen mode on/off for the File Browser.", |
| 537 "parameters": [] |
| 538 }, |
| 539 { |
| 540 "name": "isFullscreen", |
| 541 "description": "Checks if the browser is in fullscreen mode.", |
| 542 "parameters": [ |
| 543 { |
| 544 "name": "callback", |
| 545 "type": "function", |
| 546 "optional": false, |
| 547 "parameters": [ |
| 548 { |
| 549 "name" : "result", |
| 550 "type": "boolean", |
| 551 "description": "Whether the browser is in fullscreen mode." |
| 552 } |
| 553 ] |
| 554 } |
| 555 ] |
533 } | 556 } |
534 ], | 557 ], |
535 "events": [ | 558 "events": [ |
536 { | 559 { |
537 "name": "onDiskChanged", | 560 "name": "onDiskChanged", |
538 "type": "function", | 561 "type": "function", |
539 "description": "Fired when disk mount/unmount event is detected.", | 562 "description": "Fired when disk mount/unmount event is detected.", |
540 "parameters": [ | 563 "parameters": [ |
541 { | 564 { |
542 "$ref": "MountEvent", | 565 "$ref": "MountEvent", |
(...skipping 22 matching lines...) Expand all Loading... |
565 { | 588 { |
566 "$ref": "FileWatchEvent", | 589 "$ref": "FileWatchEvent", |
567 "name": "event", | 590 "name": "event", |
568 "description": "File watch event information." | 591 "description": "File watch event information." |
569 } | 592 } |
570 ] | 593 ] |
571 } | 594 } |
572 ] | 595 ] |
573 } | 596 } |
574 ] | 597 ] |
OLD | NEW |