-
-
Notifications
You must be signed in to change notification settings - Fork 3
yss js functions pager
Bartlomiej Ceglik edited this page Feb 19, 2023
·
3 revisions
Class sPager is a helper from oiyshTerminal family - Main class
But we should refer to instance pager
Nice!
This one is helping managing sites. Having menu shaders and work with Screens manager. This is only a documentation to help you how to use it to do somethin you want!
Kind: global class
-
sPager
- .setPage(pageNo)
-
.goToByHash(url) ⇒
string
Methode - not recomendet shortest way to set now a different site but not the best. Check .goToByHash()
Kind: instance method of sPager
Param | Type | Description |
---|---|---|
pageNo | integer |
will sec curent site from this.pages[pageNo] to set now |
Kind: instance method of sPager
Returns: string
- correct string to use in onclick="returnValue"
to sustain back in browser. Passing arguments and not reload ish
Param | Type | Description |
---|---|---|
url | string |
in zone of yss |
Example
// clean way to change a page and ads timestamp
// at end as updater to reduce chaching
pager.goToByHash('pageByName=pack it so');