spectacle
spectacle copied to clipboard
Create a util to more concisely parse query params
[regarding v6]
Currently, there are two issues with the way we are parsing query params:
- Users need to pass
=trueto query params for them to take hold, i.e.localhost:3000/?presenterMode=true - Location matters, so a user cannot append their URL with
presenterMode=true, it has to come immediately after the localhost, before any otherslideElementsare tacked on
We should handle this differently. In addition to parsing these in a cleaner way, we should add support for (listed in priority order):
-
?presenter -
?overview -
?export -
?print -
?export&print
Hii, @kale-stew can I work on this .?
@ruhci28 absolutely!