Procházet zdrojové kódy

Documentation updates

Jonny Wenmoth před 11 roky
rodič
revize
4ce24a4f2e
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      doc/advanced.rst

+ 4 - 0
doc/advanced.rst

@@ -167,6 +167,10 @@ A default request instance contains the following accessors:
 +--------------------------+-----------------------------------------------+------------------------------------+
 | getDelay()               | The page render delay in seconds.             | {{ request.getDelay() }}           |
 +--------------------------+-----------------------------------------------+------------------------------------+
+| getViewportWidth()       | The viewport width.                           | {{ request.getViewportWidth() }}   |
++--------------------------+-----------------------------------------------+------------------------------------+
+| getViewportHeight()      | The viewport height.                          | {{ request.getViewportHeight() }}  |
++--------------------------+-----------------------------------------------+------------------------------------+
 | getUrl()                 | The request URL.                              | {{ request.getUrl() }}             |
 +--------------------------+-----------------------------------------------+------------------------------------+
 | getBody()                | The request body (POST, PUT).                 | {{ request.getBody() }}            |