Posts by João Marcos Duarte • 1 point
3 posts
-
-1
votes1
answer52
viewsQ: How to verify if a matrix contains a specific value?
I have the following function: const role = tokenPayload.params.role.map(r => { return r.value; }) [0]; She returns this: author If I remove index [0], returns this: ["author", "admin"] Is it…
-
0
votes0
answers31
viewsQ: Submit to a hidden "form" component div to another component
I have two components, one (formNewPost) inside another (container-posts). I wonder if it is possible user Hostbinding and Hostlistener in this case. Follows code... container-posts.component.html…
angularasked João Marcos Duarte 1 -
0
votes1
answer600
viewsQ: Child component of other component does not load
I configured the routes, but the component does not render when the application is initialized. I need the component posts render inside the component blog, and the blog already loads correctly.…