MCPcopy Create free account
hub / github.com/angular/components / enabled

Method enabled

src/cdk/text-field/autosize.ts:90–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 /** Whether autosizing is enabled or not */
89 @Input({alias: 'cdkTextareaAutosize', transform: booleanAttribute})
90 get enabled(): boolean {
91 return this._enabled;
92 }
93 set enabled(value: boolean) {
94 // Only act if the actual value changed. This specifically helps to not run
95 // resizeToFitContent too early (i.e. before ngAfterViewInit)

Callers

nothing calls this directly

Calls 2

resizeToFitContentMethod · 0.95
resetMethod · 0.95

Tested by

no test coverage detected