How to change the class properties in Dojo Like Jquery
-
09-12-2019 - |
Pergunta
I know that the follwoing line used in jquery to set the property of guide_nav class. $(".guide_nav").css("display", "none");
Like that is there any way in dojo to set the existing style property of a class.
If there please give me a solution for that.
Solução
Umm did you RTFM??? :-) http://dojocampus.com/explorer/#Dojo_Query_Styling
dojo.query(".guide_nav").style('display', 'none');
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow