Monday, 23 April 2018
style vs styleUrl in angular 2 component.
in: angular
In this article, We will discuss about What is the difference between style and styleUrl in angular 2 component.
style : -
---------
1/ style can be used to specify the inline style to component.
2/ style doesn't provide intellisense and auto-completion.
3/ style can't be reusable.
styleUrl : -
-------------
1/ styleUrl can be used to specify component style within css files.
2/ styleUrl provide intellisense and auto-completion.
3/ styleUrl can be reusable through components.
RELATED POSTS

Difference between Angular and Angular JS?
In this article, We will discuss about What is the difference between An ...

template vs templateUrl in angular 2 components.
In this article, We will discuss about What is the difference between te ...

HelloWorld Example in angular 2 application.
In this article, We will discuss about How to Create a HelloWorld Exampl ...

What are the node packages required for Angular 2 app development?
In this article, We will discuss about What are the node packages requir ...
-
This issue is Completely related to EntityFramework and this issue arises whenever you have installed EntityFramework in one project at th...
-
This is generally a Common Problem or the error could be like this, To Resolve this error, One Small Solution is Exists which is as b...
-
In this article, We will discuss What is the above Error and How to resolve this Error. Whenever, We are Restoring our database into A...
0 comments:
Post a Comment