Posts by Valeria Machado • 43 points
3 posts
-
1
votes1
answer53
viewsA: Passage of variables from one function to another in Python
When calling the function computador_escolhe_jogada you need to inform the vestments that will pass, this way computador_escolhe_jogada(n, m) def computador_escolhe_jogada(n,m): if n == m+1: return…
-
0
votes1
answer49
viewsQ: dlclick on Transformer give me a stack error: Maximum call stack size exceed
I’m creating a website with konva.js, in it is possible to resize the "rects" of the screen. However, when I click dblclick on the transformer I get the error: Uncaught RangeError: tamanho máximo da…
javascriptasked Valeria Machado 43 -
3
votes2
answers186
viewsQ: How to take an image input and display it in the background-image?
I have an input field that should receive an image, when receiving it I should add it as background-image from a div. I used Filereader to get the Base64 from the image. It works fine, but CSS…