Ionicmathlive

Hello

I need help with the

ControlValueAccessor.

I want to ngmodel the mathlive editor

I would suggest doing some tutorials on creating directives and models in angular. Then try doing the things you learned with this lib. If you need further help, make sure to also ask this question also in the libraries issues page, in an angular forum and on stackoverflow.

What exactly doesn’t work?

Custome Mathlive component works. But I dont know how to ngmodel the input data.

I can’t exactly remember on the exact syntax, so I would highly suggest searching this question on the angular space.
There are some possibilities on binding data in your template:
key=“value”
[key]=“expression that returns a value”
(key)=“function”
and one with [(key)]=“model” (two way binding)
when I remember correctly.

please research “angular two ways binding”, I think that is what you want to do.