File

projects/angular-material-extensions/google-maps-autocomplete/schematics/helpers/angular/component-schema.ts

Index

Properties

Properties

changeDetection
changeDetection: "Default" | "OnPush"
Type : "Default" | "OnPush"
Optional

Specifies the change detection strategy.

entryComponent
entryComponent: boolean
Type : boolean
Optional

Specifies if the component is an entry component of declaring module.

export
export: boolean
Type : boolean
Optional

Specifies if declaring module exports the component.

flat
flat: boolean
Type : boolean
Optional

Flag to indicate if a dir is created.

inlineStyle
inlineStyle: boolean
Type : boolean
Optional

Specifies if the style will be in the ts file.

inlineTemplate
inlineTemplate: boolean
Type : boolean
Optional

Specifies if the template will be in the ts file.

lintFix
lintFix: boolean
Type : boolean
Optional

Specifies whether to apply lint fixes after generating the component.

module
module: string
Type : string
Optional

Allows specification of the declaring module.

name
name: string
Type : string

The name of the component.

path
path: string
Type : string
Optional

The path to create the component.

prefix
prefix: string
Type : string
Optional

The prefix to apply to generated selectors.

project
project: string
Type : string
Optional

The name of the project.

selector
selector: string
Type : string
Optional

The selector to use for the component.

skipImport
skipImport: boolean
Type : boolean
Optional

Flag to skip the module import.

spec
spec: boolean
Type : boolean
Optional

Specifies if a spec file is generated.

styleext
styleext: string
Type : string
Optional

The file extension to be used for style files.

viewEncapsulation
viewEncapsulation: "Emulated" | "Native" | "None"
Type : "Emulated" | "Native" | "None"
Optional

Specifies the view encapsulation strategy.

export interface Schema {
  /**
   * The path to create the component.
   */
  path?: string;
  /**
   * The name of the project.
   */
  project?: string;
  /**
   * The name of the component.
   */
  name: string;
  /**
   * Specifies if the style will be in the ts file.
   */
  inlineStyle?: boolean;
  /**
   * Specifies if the template will be in the ts file.
   */
  inlineTemplate?: boolean;
  /**
   * Specifies the view encapsulation strategy.
   */
  viewEncapsulation?: 'Emulated' | 'Native' | 'None';
  /**
   * Specifies the change detection strategy.
   */
  changeDetection?: 'Default' | 'OnPush';
  /**
   * The prefix to apply to generated selectors.
   */
  prefix?: string;
  /**
   * The file extension to be used for style files.
   */
  styleext?: string;
  /**
   * Specifies if a spec file is generated.
   */
  spec?: boolean;
  /**
   * Flag to indicate if a dir is created.
   */
  flat?: boolean;
  /**
   * Flag to skip the module import.
   */
  skipImport?: boolean;
  /**
   * The selector to use for the component.
   */
  selector?: string;
  /**
   * Allows specification of the declaring module.
   */
  module?: string;
  /**
   * Specifies if declaring module exports the component.
   */
  export?: boolean;
  /**
   * Specifies if the component is an entry component of declaring module.
   */
  entryComponent?: boolean;
  /**
   * Specifies whether to apply lint fixes after generating the component.
   */
  lintFix?: boolean;
}

result-matching ""

    No results matching ""