test.ts
import { OnInit, Output} from '@angular/core';
import { Model } from './model';
@Component({
selector: 'app-test'
})
export class Test {
constructor(
public model: Model
) { }
}
Model class model.ts
import { Input } from '@angular/core';
export class Model {
@Input() title: string;
}
Template (*.html) which has selector
<app-test model.title="some text"></app-test>
I am not permitted to utilize the model.title notation.
Is there a way to use class.property notation on selector properties?