mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
Merge pull request #7859 from julienpa/blazy
Make options optional for Blazy constructor
This commit is contained in:
Vendored
+13
-13
@@ -14,31 +14,31 @@ interface Blazy {
|
||||
|
||||
interface BlazyOptions {
|
||||
|
||||
breakpoints: Breakpoint[];
|
||||
breakpoints?: Breakpoint[];
|
||||
|
||||
container: string;
|
||||
container?: string;
|
||||
|
||||
error: (ele: Element|HTMLElement, msg: string) => void;
|
||||
error?: (ele: Element|HTMLElement, msg: string) => void;
|
||||
|
||||
errorClass: string;
|
||||
errorClass?: string;
|
||||
|
||||
loadInvisible: boolean;
|
||||
loadInvisible?: boolean;
|
||||
|
||||
offset: number;
|
||||
offset?: number;
|
||||
|
||||
saveViewportOffsetDelay: number;
|
||||
saveViewportOffsetDelay?: number;
|
||||
|
||||
selector: string;
|
||||
selector?: string;
|
||||
|
||||
separator: string;
|
||||
separator?: string;
|
||||
|
||||
src: string;
|
||||
src?: string;
|
||||
|
||||
success: (ele: Element|HTMLElement) => void;
|
||||
success?: (ele: Element|HTMLElement) => void;
|
||||
|
||||
successClass: string;
|
||||
successClass?: string;
|
||||
|
||||
validateDelay: number;
|
||||
validateDelay?: number;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user