K
K
Konstantin2020-01-17 09:38:07
Angular
Konstantin, 2020-01-17 09:38:07

How to create a DOM element dynamically in Angular?

Now all DOM elements are pre-designed and added to the component template.
But what if I need to create a DOM element dynamically, what tools does Angular have to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2020-01-17
@Junart1

https://angular.io/api/core/Renderer2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question