fix scroll value and record viewport when loaded

This commit is contained in:
Yanzhen Yu
2018-10-12 13:08:03 +08:00
parent c07cce74bf
commit 85a56d2047
4 changed files with 41 additions and 16 deletions

View File

@@ -16,7 +16,10 @@ export type domContentLoadedEvent = {
export type loadedEvent = {
type: EventType.Load;
data: {};
data: {
width: number;
height: number;
};
};
export type fullSnapshotEvent = {