i am having animations of things going from my boards toward the counters in the playerPanel, as well as the other way around. I am NOT animating or manipulating any divs inside the playerPanel, but i am calling so i can tell my animations where they start or end.
I am getting a warning when building this project
and so the questions: can I ignore these as my usage is justifiable? am i doing this wrong and there is a better way? or is there no better way but what i am doing is not allowed?
PS best i can figure out the "player panel functions" just let me manipulate the counter values, not learn where they are on the page
Code: Select all
const playerPanel = document.getElementById('player_board_' + player.id);I am getting a warning when building this project
Code: Select all
The player panel elements should not be accessed directly, please use the player panel functions.PS best i can figure out the "player panel functions" just let me manipulate the counter values, not learn where they are on the page