Hi
where to put connectedCallback()?
connectedCallback() { I get error exptected ;
Thanks
Hi
where to put connectedCallback()?
connectedCallback() { I get error exptected ;
Thanks
it should be a method of your main instrument class, i.e. your subclass of BaseInstrument.
The sim will call it during the initialisation sequence for your class.
Here’s an example, note the Update() method checks connectedCallback() has completed.