Skip to content
dill pixel
Search
Cancel
GitHub
Select theme
Dark
Light
Auto
Getting Started
Introduction
Quick Start
Guides
Creating a Game
Project Setup
Examples
Using Spine
Physics
Audio
Popups
Fundamentals
State Management
Layout
Assets
Styling Text
Copy and Content
Focus Management
Web Events
API
References
capitalize
createGradientTexture
createLinearGradientTexture
createRadialGradientTexture
scaleToHeight
scaleToSize
scaleToWidth
scaleUniform
toHex
toRgb
Namespaces
ArrayUtils
functions
random
shuffle
AudioCategory
variables
BGM
DEFAULT
SFX
VO
ColorUtils
functions
toHex
toRgb
HowlerUtils
enumerations
Events
State
LogUtils
classes
LogOptions
functions
log
logError
logWarning
variables
COLOR_LIGHT_BLUE
COLOR_RELISH
STYLE_BLACK
STYLE_BLUE_BOLD
STYLE_LIGHT_BLUE
STYLE_PINK_DARK
STYLE_RED_BOLD
STYLE_RELISH
STYLE_RELISH_BOLD
STYLE_WHITE
MathUtils
functions
clamp
lerp
NumberUtils
functions
addZeroPadding
PixiUtils
enumerations
SpineTrack
functions
cloneHitArea
getGlobalBounds
getTexture
makeSprite
makeText
objectDiagonal
offsetShape
offsetSimpleShape
scaleToHeight
scaleToSize
scaleToWidth
scaleUniform
sendToBack
sendToFront
setAnchor
setParent
type-aliases
PixiShape
PixiSimpleShape
PlatformUtils
functions
getiPadModel
getiPhoneModel
getRenderer
isAmazonOS
isHTTPS
isMobile
isRetina
isSafari
isSupportedDevice
variables
DISPLAY_ZOOM
IPAD
IPAD_2
IPAD_3
IPAD_4
IPAD_5
IPAD_6
IPAD_AIR
IPAD_AIR_2
IPAD_MINI
IPAD_MINI_2
IPAD_MINI_3
IPAD_MINI_4
IPAD_PRO
IPAD_PRO_2ND_GEN
IPAD_PRO_3RD_GEN
IPAD_PRO_9_7
IPHONE_1
IPHONE_3G
IPHONE_3GS
IPHONE_4
IPHONE_4S
IPHONE_5_OR_5C
IPHONE_5S
IPHONE_6
IPHONE_6_PLUS
IPHONE_6S
IPHONE_6S_PLUS
IPHONE_7
IPHONE_7_PLUS
IPHONE_8
IPHONE_8_PLUS
IPHONE_SE
IPHONE_X
IPHONE_XR
IPHONE_XS
IPHONE_XS_MAX
PointUtils
functions
add
addToPoint
distance
distanceSq
lerp
magnitude
multiply
subtract
subtractFromPoint
Random
functions
bool
floatBetween
floatBetweenPoint
intBetween
intBetweenPoint
RectUtils
functions
center
offset
scale
size
StringUtils
functions
capitalize
TextureUtils
functions
createGradientTexture
createLinearGradientTexture
createRadialGradientTexture
TransitionType
variables
TRANSITION_ANIM_NEW_IN_FRONT
TRANSITION_ANIM_OLD_OUT_REVEAL
TRANSITION_ANIM_SEQUENTIAL_MID_ASSETS
TRANSITION_ANIM_SEQUENTIAL_PRE_ASSETS
TRANSITION_ANIM_SIMULTANEOUSLY_NEW_BEHIND
TRANSITION_ANIM_SIMULTANEOUSLY_NEW_IN_FRONT
TRANSITION_FIRST_VIEW
TRANSITION_INTERSTITIAL_OVERLAY
TRANSITION_SIMPLE_INTERSTITIAL
Enumerations
AssetType
CoordinateSystem
Direction
Events
GestureType
KeyCodes
PhysicsBodyType
PhysicsEngineType
PlayMode
PopupState
Storage
TransitionStep
Classes
Add
AnimatedSprite
AppConfig
Application
AssetMap
AssetMapAudioData
AssetMapData
AssetMapSpineData
AssetUtils
AudioAsset
AudioCollection
AudioToken
Button
CompoundHitArea
Container
CookieStorage
CopyManager
DefaultKeyboardFocusManagerSprite
Draggable
FlexContainer
FontAsset
HitAreaRenderer
HowlerManager
HowlerTrack
HTMLTextStyleManager
JsonAsset
KeyboardFocusManager
KeyboardManager
KeyboardMapToken
LoadManager
LoadScreen
LoadToken
LocalStorage
Logger
Make
MatterPhysics
MatterPhysicsSprite
MouseManager
ObjectPool
OrientationManager
ParticleContainer
PhysicsBase
PixelPerfectHitArea
Popup
PopupManager
PopupToken
RadioGroup
RapierPhysics
RapierPhysicsComposite
RapierPhysicsSprite
Receptacle
ResizeManager
SaveManager
Selectable
Signal
Signals
SpineAsset
SplashScreen
Sprite
SpriteAnimation
State
StateManager
StateToken
TextureAsset
TextureAtlasAsset
TouchManager
UICanvas
VoiceOverManager
WebEventsManager
WebFontAsset
Interfaces
DillPixelApplicationOptions
FlexContainerSettings
IAsset
IAudioManager
IAudioTrack
IBitmapFontCharData
IBitmapFontData
IFocusable
IKeyboardFocus
IKeyboardStatus
IMatterPhysicsObject
IObjectPoolItem
IPhysicsAddFactory
IPhysicsBase
IPhysicsBodySettings
IPhysicsFactory
IPhysicsMakeFactory
IPhysicsObject
IPlayOptions
IPopup
IPopupToken
IRapierPhysicsObject
IRapierWallDefinition
ISelectable
IVoiceOverManager
PhysicsSpriteSettings
UICanvasChildSettings
Type Aliases
AssetFactoryFunction
AssetFactoryPattern
AudioTrackConfig
Callback
ContainerLike
Font
LoadScreenProvider
MatterBodyLike
PointLike
PointObjectLike
PopupConfig
RapierBodyLike
RectLike
RequiredAudioTrackConfig
RequiredPopupConfig
SpritesheetLike
TextureLike
UICanvasEdge
UICanvasPadding
UICanvasProps
UICanvasSettings
WithPointLike
WithRequiredProps
Variables
env
PIXI
Functions
addHTMLTextStyle
addKeyboardLayer
AssetFactory
audioLoadError
bindAllMethods
bindMethods
cancellableDelay
changeLanguage
clearFocus
clearNeighbours
create
createAudioTrack
Delay
delay
dragBegin
dragEnd
draggableDeselected
draggableSelected
fadeAudioTo
forceFocus
forceNeighbours
getAudioCategoryVolume
getAudioTrack
getAudioTrackDuration
getHTMLTextStyle
getKeyboardStatus
getMasterVolume
getNumKeyboardLayers
getSheetLikeString
hideAllPopups
hideLoadScreen
hidePopup
hidePopupComplete
hideTopMostPopup
hitAreaFromSprite
initState
isDev
isProduction
keyboardFocusBegin
keyboardFocusEnd
keyboardReFocus
loadAndAddHTMLTextStyle
loadAssets
loadAudio
loadAudioFromAssetMap
loadComplete
loadHTMLTextStyle
loadScreenHidden
loadState
orientationLandscape
orientationPortrait
pause
pauseAudioTrack
playAudio
playAudioTrack
playCaption
playVO
popKeyboardLayer
pushKeyboardLayer
registerFocusable
registerFocusables
registerState
removeKeyboardLayer
resolvePointLike
setAudioCategoryVolume
setKeyboardEnabled
setMasterVolume
setObjectName
showLoadScreen
showPopup
stateTransitionHalted
stopAudio
stopAudioTrack
stopCaption
stopVO
transitionToState
unloadAssets
unpause
unregisterAllFocusables
unregisterFocusable
unregisterFocusables
updateFocus
voiceoverEnded
voiceoverStarted
GitHub
Select theme
Dark
Light
Auto
hidePopupComplete
hidePopupComplete
(
popup
):
void
Parameters
•
popup
:
IPopup
Returns
void
Source
src/functions/popups.ts:28