79451683

Date: 2025-02-19 14:27:50
Score: 0.5
Natty:
Report link

this can be achieved using model inputs

import {Component, inject, model} from '@angular/core';
@Component({ ... })
export class SomeComponent {
  test = model<string>();

  ngOnInit() {
    this.test.set('qwerty');
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: felixjiricka