Header menu logo fable-electron-docs-api

FilesystemPermissionRequest Type

Constructors

Constructor Description

FilesystemPermissionRequest(requestingUrl, isMainFrame, ?filePath, ?isDirectory, ?fileAccessType)

Full Usage: FilesystemPermissionRequest(requestingUrl, isMainFrame, ?filePath, ?isDirectory, ?fileAccessType)

Parameters:
    requestingUrl : string - The last URL the requesting frame loaded.
    isMainFrame : bool - Whether the frame making the request is the main frame.
    ?filePath : string - The path of the fileSystem request.
    ?isDirectory : bool - Whether the fileSystem request is a directory.
    ?fileAccessType : FileAccessType - The access type of the fileSystem request. Can be writable or readable.

Returns: FilesystemPermissionRequest
requestingUrl : string

The last URL the requesting frame loaded.

isMainFrame : bool

Whether the frame making the request is the main frame.

?filePath : string

The path of the fileSystem request.

?isDirectory : bool

Whether the fileSystem request is a directory.

?fileAccessType : FileAccessType

The access type of the fileSystem request. Can be writable or readable.

Returns: FilesystemPermissionRequest

Instance members

Instance member Description

this.fileAccessType

Full Usage: this.fileAccessType

The access type of the fileSystem request. Can be writable or readable.

this.filePath

Full Usage: this.filePath

The path of the fileSystem request.

this.isDirectory

Full Usage: this.isDirectory

Whether the fileSystem request is a directory.

this.isMainFrame

Full Usage: this.isMainFrame

Whether the frame making the request is the main frame.

this.requestingUrl

Full Usage: this.requestingUrl

The last URL the requesting frame loaded.

Type something to start searching.