You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an ‹app-game› component with a Pixi v5 canvas DONE 27.01 OL+RF
Propagate resize of ‹app-game› component to its Pixi canvas TODO note this is different than window resize; we might want to use a Resize Observer, or propagate the resize event fired on the window
Debounce the resize TODO avoid too much costly resizing of the canvas, especially in case of component resize driven by window being resized by the user
MDN › Window: resize event
« […] It is still possible to set onresize attributes or use addEventListener() to set a handler on any element. However, resize events are only fired on the window object […] »
Actions
DONE
27.01 OL+RFTODO
note this is different than window resize; we might want to use a Resize Observer, or propagate the resize event fired on the windowTODO
avoid too much costly resizing of the canvas, especially in case of component resize driven by window being resized by the userTODO
see also Gōng-fu I/O en 10 min.TODO
voir jkanchelov/pixi-fpsReferences
« […] It is still possible to set
onresize
attributes or useaddEventListener()
to set a handler on any element. However,resize
events are only fired on thewindow
object […] »See also
The text was updated successfully, but these errors were encountered: