Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /**
|
---|
2 | * Creates a new, generic directive definition in the given or default project.
|
---|
3 | */
|
---|
4 | export interface Schema {
|
---|
5 | /**
|
---|
6 | * The declaring NgModule exports this directive.
|
---|
7 | */
|
---|
8 | export?: boolean;
|
---|
9 | /**
|
---|
10 | * When true (the default), creates the new files at the top level of the current project.
|
---|
11 | */
|
---|
12 | flat?: boolean;
|
---|
13 | /**
|
---|
14 | * Apply lint fixes after generating the directive.
|
---|
15 | * @deprecated Use "ng lint --fix" directly instead.
|
---|
16 | */
|
---|
17 | lintFix?: boolean;
|
---|
18 | /**
|
---|
19 | * The declaring NgModule.
|
---|
20 | */
|
---|
21 | module?: string;
|
---|
22 | /**
|
---|
23 | * The name of the new directive.
|
---|
24 | */
|
---|
25 | name: string;
|
---|
26 | /**
|
---|
27 | * The path at which to create the interface that defines the directive, relative to the
|
---|
28 | * workspace root.
|
---|
29 | */
|
---|
30 | path?: string;
|
---|
31 | /**
|
---|
32 | * A prefix to apply to generated selectors.
|
---|
33 | */
|
---|
34 | prefix?: string;
|
---|
35 | /**
|
---|
36 | * The name of the project.
|
---|
37 | */
|
---|
38 | project?: string;
|
---|
39 | /**
|
---|
40 | * The HTML selector to use for this directive.
|
---|
41 | */
|
---|
42 | selector?: string;
|
---|
43 | /**
|
---|
44 | * Do not import this directive into the owning NgModule.
|
---|
45 | */
|
---|
46 | skipImport?: boolean;
|
---|
47 | /**
|
---|
48 | * Do not create "spec.ts" test files for the new class.
|
---|
49 | */
|
---|
50 | skipTests?: boolean;
|
---|
51 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.