Ionicmathlive


#1

Hello

I need help with the

ControlValueAccessor.

I want to ngmodel the mathlive editor


#2

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.


#3

What exactly doesn’t work?


#4

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


#5

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.