Members
-
<static> backButton
-
Description
All but index page will have a back button
Details
Methods
-
<static> translate( key, args )
-
Description
Get localized text value
Parameters
Name Type Description key
string localization dictionary key
args
string | undefined placeholder
Returns
Details
-
<static> setTitle( value )
-
Description
Setup page title
Parameters
Name Type Description value
Details
-
<static> getElement( id )
-
Description
Get some DOM element by its ID
Parameters
Name Type Description id
DOM element id
Returns
Details
-
<static> setupShare()
-
Description
Generate share links
Details
-
<static> makeShareLink( label, url, svgPath )
-
Description
Generate a share link
Parameters
Name Type Description label
string i18n dictionary key
url
string the URL to share
svgPath
string icon path
Returns
Details
-
<static> setupBackButton()
-
Description
Bind back button behavior
Details
-
<static> onBackClick()
-
Description
Clicking back button goes to index page
Details