非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
active
property allows to know if the
LockedFile
object is still usable (
true
) 或不 (
false
). If the object is inactive then it is impossible to perform any read or write operation with it. Typically, a
LockedFile
object becomes inactive when the
LockedFile.abort()
method is called or if an error occurs.
var state = instanceOfLockedFile.active
A
布尔
.
| 规范 | 状态 | 注释 |
|---|---|---|
| FileSystem API | 编者草案 | Draft Proposal. |
LockedFile
active
fileHandle
location
mode
onabort
oncomplete
onerror
FileError
FileException
FileHandle
FileRequest
FileSystem
FileSystemDirectoryEntry
FileSystemDirectoryEntrySync
FileSystemDirectoryReader
FileSystemDirectoryReaderSync
FileSystemEntry
FileSystemEntrySync
FileSystemFileEntry
FileSystemFileEntrySync
FileSystemFlags
FileSystemSync
HTMLInputElement
LocalFileSystem
LocalFileSystemSync
元数据
Window.requestFileSystem()
Window.resolveLocalFileSystemURL()
WorkerGlobalScope.requestFileSystemSync()