You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template
Copy file name to clipboardExpand all lines: packages/schematics/angular/component/schema.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,12 @@
27
27
},
28
28
"x-prompt": "What name would you like to use for the component?"
29
29
},
30
+
"displayBlock": {
31
+
"description": "Specifies if the style will contain `:host { display: block; }`.",
32
+
"type": "boolean",
33
+
"default": false,
34
+
"alias": "b"
35
+
},
30
36
"inlineStyle": {
31
37
"description": "When true, includes styles inline in the component.ts file. Only CSS styles can be included inline. By default, an external styles file is created and referenced in the component.ts file.",
0 commit comments