0
I’m using Materialize together with Angular, but the dropdown menu is not working.
With the following error:
Uncaught Typeerror: $(...). dropdown is not a Function functions.js:6
The file funcoes.js has the following line of code only:
$(".dropdown-trigger").dropdown()
Is the file funcoes.js called after the inclusion of the jQuery library? Edit your question to display how you include jquery and the source function script.
– Caique Romero
Yes, inside body <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="Assets/js/funcoes.js"> </script type>
– Matheus
I’m using the materialize
– Matheus
and where do you matter him?
– Caique Romero