Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ isTextualFormElement
Function
isTextualFormElement
packages/forms/src/directives/native.ts:39–41 ·
view source on GitHub ↗
(element: HTMLElement)
Source
from the content-addressed store, hash-verified
37
}
38
39
export
function
isTextualFormElement(element: HTMLElement): boolean {
40
return
element.tagName ===
'INPUT'
|| element.tagName ===
'TEXTAREA'
;
41
}
42
43
/**
44
* Updates the native DOM property on the given node.
Callers
1
FormField
Class · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected