@xw3/maki-ts
Preparing search index...
useBackButton
Function useBackButton
useBackButton
(
onBack
:
Function
,
)
:
{
accelerometer
:
(
params
?:
any
,
callback
?:
Function
)
=>
void
;
addToHomeScreen
:
()
=>
void
;
closeApp
:
()
=>
void
;
disableSwipe
:
()
=>
void
;
enableSwipe
:
()
=>
void
;
exitFullscreen
:
()
=>
void
;
expandApp
:
()
=>
void
;
fullscreen
:
()
=>
void
;
gyroscope
:
(
params
?:
any
,
callback
?:
Function
)
=>
void
;
haptic
:
(
impact
?:
string
)
=>
void
;
hasBackButton
:
any
;
hasMainButton
:
any
;
hasSecondaryButton
:
any
;
hasSettingsButton
:
any
;
hideBackButton
:
()
=>
void
;
hideMainButton
:
()
=>
void
;
location
:
(
callback
?:
Function
)
=>
void
;
locationSetting
:
()
=>
void
;
openContact
:
()
=>
void
;
openGramLink
:
(
url
?:
string
)
=>
void
;
openLink
:
(
url
?:
string
)
=>
void
;
openShare
:
(
url
:
string
,
message
:
string
)
=>
void
;
orientation
:
()
=>
void
;
platform
:
any
;
readClipboard
:
(
callback
?:
Function
)
=>
void
;
scanQR
:
()
=>
void
;
setColorTheme
:
(
bgColor
:
string
)
=>
void
;
setEmojiStatus
:
(
emoji
:
string
,
params
?:
any
,
callback
?:
Function
)
=>
void
;
setMainButton
:
(
text
:
string
,
onClick
?:
Function
)
=>
void
;
share
:
(
url
:
string
,
text
:
string
)
=>
void
;
shareMessage
:
(
msg
:
string
,
callback
?:
Function
)
=>
void
;
shareToStory
:
(
media_url
:
string
,
params
:
any
)
=>
void
;
showAlert
:
(
text
?:
string
,
callback
?:
Function
)
=>
void
;
showBackButton
:
(
onClick
?:
Function
)
=>
void
;
showConfirm
:
(
text
?:
string
,
callback
?:
Function
)
=>
void
;
showMainButton
:
(
text
:
string
,
onClick
:
Function
,
params
?:
boolean
)
=>
void
;
telegram
:
any
;
}
Parameters
onBack
:
Function
Returns
{
accelerometer
:
(
params
?:
any
,
callback
?:
Function
)
=>
void
;
addToHomeScreen
:
()
=>
void
;
closeApp
:
()
=>
void
;
disableSwipe
:
()
=>
void
;
enableSwipe
:
()
=>
void
;
exitFullscreen
:
()
=>
void
;
expandApp
:
()
=>
void
;
fullscreen
:
()
=>
void
;
gyroscope
:
(
params
?:
any
,
callback
?:
Function
)
=>
void
;
haptic
:
(
impact
?:
string
)
=>
void
;
hasBackButton
:
any
;
hasMainButton
:
any
;
hasSecondaryButton
:
any
;
hasSettingsButton
:
any
;
hideBackButton
:
()
=>
void
;
hideMainButton
:
()
=>
void
;
location
:
(
callback
?:
Function
)
=>
void
;
locationSetting
:
()
=>
void
;
openContact
:
()
=>
void
;
openGramLink
:
(
url
?:
string
)
=>
void
;
openLink
:
(
url
?:
string
)
=>
void
;
openShare
:
(
url
:
string
,
message
:
string
)
=>
void
;
orientation
:
()
=>
void
;
platform
:
any
;
readClipboard
:
(
callback
?:
Function
)
=>
void
;
scanQR
:
()
=>
void
;
setColorTheme
:
(
bgColor
:
string
)
=>
void
;
setEmojiStatus
:
(
emoji
:
string
,
params
?:
any
,
callback
?:
Function
)
=>
void
;
setMainButton
:
(
text
:
string
,
onClick
?:
Function
)
=>
void
;
share
:
(
url
:
string
,
text
:
string
)
=>
void
;
shareMessage
:
(
msg
:
string
,
callback
?:
Function
)
=>
void
;
shareToStory
:
(
media_url
:
string
,
params
:
any
)
=>
void
;
showAlert
:
(
text
?:
string
,
callback
?:
Function
)
=>
void
;
showBackButton
:
(
onClick
?:
Function
)
=>
void
;
showConfirm
:
(
text
?:
string
,
callback
?:
Function
)
=>
void
;
showMainButton
:
(
text
:
string
,
onClick
:
Function
,
params
?:
boolean
)
=>
void
;
telegram
:
any
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@xw3/maki-ts
Loading...