Detailed options
Quite a lot of options are necessary to run daltons
, some being mandatory and other optional.
Here are the details:
Global options to limit viewport widths
These options can be useful:
- When some viewport width values taken from statistics are obviously out of range
- For the Art Direction use case
option | alias | required? | type | default value | description |
---|---|---|---|---|---|
--minViewport |
-i |
optional | number | Sets the minimum viewport width to check. | |
--maxViewport |
-x |
optional | number | Sets the maximum viewport width to check. |
Step 1: get actual stats of site visitors
option | alias | required? | type | default value | description |
---|---|---|---|---|---|
--statsFile |
required | file path | File path from which reading the actual stats data |
You need to provide a file with stats, which means statistics about viewport widths and screen density of the website’s visitors.
See the details of step 1.
Step 2: get variations of image width across viewport widths
option | alias | required? | type | default value | description |
---|---|---|---|---|---|
--url |
-u |
required | URL | Defines the URL of the page in which to check the image width across viewport widths. |