File tree Expand file tree Collapse file tree 3 files changed +51
-7
lines changed Expand file tree Collapse file tree 3 files changed +51
-7
lines changed Original file line number Diff line number Diff line change @@ -7536,11 +7536,12 @@ declare var HashChangeEvent: {
7536
7536
interface History {
7537
7537
readonly length: number;
7538
7538
readonly state: any;
7539
- back(distance?: any): void;
7540
- forward(distance?: any): void;
7541
- go(delta?: any): void;
7542
- pushState(statedata: any, title?: string, url?: string): void;
7543
- replaceState(statedata: any, title?: string, url?: string): void;
7539
+ scrollRestoration: ScrollRestoration;
7540
+ back(): void;
7541
+ forward(): void;
7542
+ go(delta?: number): void;
7543
+ pushState(data: any, title: string, url?: string | null): void;
7544
+ replaceState(data: any, title: string, url?: string | null): void;
7544
7545
}
7545
7546
7546
7547
declare var History: {
@@ -14622,4 +14623,5 @@ type ScrollBehavior = "auto" | "instant" | "smooth";
14622
14623
type ScrollLogicalPosition = "start" | "center" | "end" | "nearest";
14623
14624
type IDBValidKey = number | string | Date | IDBArrayKey;
14624
14625
type BufferSource = ArrayBuffer | ArrayBufferView;
14625
- type MouseWheelEvent = WheelEvent;
14626
+ type MouseWheelEvent = WheelEvent;
14627
+ type ScrollRestoration = "auto" | "manual";
Original file line number Diff line number Diff line change 1175
1175
"kind" : " extends" ,
1176
1176
"baseInterface" : " ParentNode" ,
1177
1177
"interface" : " DocumentFragment"
1178
+ },
1179
+ {
1180
+ "kind" : " typedef" ,
1181
+ "name" : " ScrollRestoration" ,
1182
+ "flavor" : " DOM" ,
1183
+ "type" : " \" auto\" | \" manual\" "
1184
+ },
1185
+ {
1186
+ "kind" : " property" ,
1187
+ "interface" : " History" ,
1188
+ "name" : " scrollRestoration" ,
1189
+ "type" : " ScrollRestoration"
1178
1190
}
1179
1191
]
Original file line number Diff line number Diff line change 815
815
"interface" : " Window" ,
816
816
"name" : " opener" ,
817
817
"type" : " any"
818
- }
818
+ },
819
+ {
820
+ "kind" : " method" ,
821
+ "interface" : " History" ,
822
+ "name" : " back" ,
823
+ "signatures" : [" back(): void" ]
824
+ },
825
+ {
826
+ "kind" : " method" ,
827
+ "interface" : " History" ,
828
+ "name" : " forward" ,
829
+ "signatures" : [" forward(): void" ]
830
+ },
831
+ {
832
+ "kind" : " method" ,
833
+ "interface" : " History" ,
834
+ "name" : " go" ,
835
+ "signatures" : [" go(delta?: number): void" ]
836
+ },
837
+ {
838
+ "kind" : " method" ,
839
+ "interface" : " History" ,
840
+ "name" : " pushState" ,
841
+ "signatures" : [" pushState(data: any, title: string, url?: string | null): void" ]
842
+ },
843
+ {
844
+ "kind" : " method" ,
845
+ "interface" : " History" ,
846
+ "name" : " replaceState" ,
847
+ "signatures" : [" replaceState(data: any, title: string, url?: string | null): void" ]
848
+ }
819
849
]
You can’t perform that action at this time.
0 commit comments