web_sys/features/
gen_IdbFileRequest.rs#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
# [wasm_bindgen (extends = DomRequest , extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBFileRequest , typescript_type = "IDBFileRequest")]
#[derive(Debug, Clone, PartialEq, Eq)]
#[doc = "The `IdbFileRequest` class."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbFileRequest`*"]
#[deprecated]
pub type IdbFileRequest;
#[cfg(feature = "IdbFileHandle")]
# [wasm_bindgen (structural , method , getter , js_class = "IDBFileRequest" , js_name = fileHandle)]
#[doc = "Getter for the `fileHandle` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/fileHandle)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
#[deprecated]
pub fn file_handle(this: &IdbFileRequest) -> Option<IdbFileHandle>;
#[cfg(feature = "IdbFileHandle")]
# [wasm_bindgen (structural , method , getter , js_class = "IDBFileRequest" , js_name = lockedFile)]
#[doc = "Getter for the `lockedFile` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/lockedFile)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
#[deprecated]
pub fn locked_file(this: &IdbFileRequest) -> Option<IdbFileHandle>;
# [wasm_bindgen (structural , method , getter , js_class = "IDBFileRequest" , js_name = onprogress)]
#[doc = "Getter for the `onprogress` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbFileRequest`*"]
#[deprecated]
pub fn onprogress(this: &IdbFileRequest) -> Option<::js_sys::Function>;
# [wasm_bindgen (structural , method , setter , js_class = "IDBFileRequest" , js_name = onprogress)]
#[doc = "Setter for the `onprogress` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `IdbFileRequest`*"]
#[deprecated]
pub fn set_onprogress(this: &IdbFileRequest, value: Option<&::js_sys::Function>);
}