mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
committed by
Andrey Lushnikov
parent
0c49bf5245
commit
25632133e2
@@ -25,7 +25,7 @@ class EmulationManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {!EmulationManager.Viewport} viewport
|
||||
* @param {!Puppeteer.Viewport} viewport
|
||||
* @return {Promise<boolean>}
|
||||
*/
|
||||
async emulateViewport(viewport) {
|
||||
@@ -51,14 +51,4 @@ class EmulationManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @typedef {Object} EmulationManager.Viewport
|
||||
* @property {number} width
|
||||
* @property {number} height
|
||||
* @property {number=} deviceScaleFactor
|
||||
* @property {boolean=} isMobile
|
||||
* @property {boolean=} isLandscape
|
||||
* @property {boolean=} hasTouch
|
||||
*/
|
||||
|
||||
module.exports = EmulationManager;
|
||||
|
||||
Reference in New Issue
Block a user