Directives
Learn about the files that make up directives and how to create new directives using the Ionic CLI.
We'll cover the following
As discussed previously, directives are used to modify the behavior of an already existing component.
Creating new directives
Directives, when generated through the Ionic CLI, are automatically added to the application’s root module src/app/app.module.ts
, like so (highlighted):
Get hands-on with 1200+ tech skills courses.