TeselaGen / openVectorEditor

DEPRECATED - Teselagen's Open Source Vector/Plasmid Editor Component
https://teselagen.github.io/tg-oss/ove/#/Editor
MIT License
200 stars 72 forks source link

Toggle menu option function #886

Open Oliwans opened 1 year ago

Oliwans commented 1 year ago

@tnrich Excuse me,how to set Translations uncheck,or other options in the menu toggle the selected effect

image

Oliwans commented 1 year ago

I want loading page is not selected by default, thank you

tnrich commented 1 year ago

@Oliwans sorry I don't understand what you're asking for. Can you please be more specific?

Oliwans commented 1 year ago

When I load the page,the Translations option is checked,I want loading page Translations is unchecked by default

@Oliwans sorry I don't understand what you're asking for. Can you please be more specific?

tnrich commented 1 year ago

Hi @Oliwans I see, how are you instantiating the editor?

You'll probably want to pass the following option like so:

updateEditor(annotationVisibility: {
    features: false
}

Try that and let me know if it works for ya

Oliwans commented 1 year ago

It works, thank you very much