blob: 96a07322b18a76e1b57dfd32cd64b2633d88a43f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/**
* Model for Page Refresh Policy
*/
import { Model } from "./base";
/** @public */
export class PageRefreshPolicy extends Model {
constructor(strategy, updateDelayInterval, timeSinceOnScreenInterval, timeToLiveEndDate, refreshWhileVisible = false, refreshForDeviceDrivenContentChange = false) {
super();
this.strategy = strategy;
this.updateDelayInterval = updateDelayInterval;
this.timeSinceOnScreenInterval = timeSinceOnScreenInterval;
this.timeToLiveEndDate = timeToLiveEndDate;
this.refreshWhileVisible = refreshWhileVisible;
this.refreshForDeviceDrivenContentChange = refreshForDeviceDrivenContentChange;
}
}
//# sourceMappingURL=page-refresh-policy.js.map
|