Skip to content

Machine configuration and api usage #696

Discussion options

You must be logged in to vote

Using highlightedId in the initial context was not working for me because there was a delay setting the initial options ahead of the machine being ready (and highlightedId only applies on first pass).

In my case, using the api in onOpen seems fine, or I can call the underlying instead of api:

send({ type: "SET_HIGHLIGHTED_ID", id: "2" });

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@martinpengellyphillips
Comment options

Answer selected by martinpengellyphillips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants