MCPcopy Index your code
hub / github.com/angular/angular / get

Function get

packages/elements/src/create-custom-element.ts:242–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240 inputs.forEach(({propName, transform, isSignal: _isSignal}) => {
241 Object.defineProperty(NgElementImpl.prototype, propName, {
242 get(): any {
243 const inputValue = this.ngElementStrategy.getInputValue(propName);
244 return _isSignal && isSignal(inputValue) ? inputValue() : inputValue;
245 },
246 set(newValue: any): void {
247 this.ngElementStrategy.setInputValue(propName, newValue, transform);
248 },

Callers

nothing calls this directly

Calls 2

isSignalFunction · 0.90
getInputValueMethod · 0.65

Tested by

no test coverage detected