0
Je souhaite autoriser les utilisateurs à définir l'option de diagramme hoverDelay via un formulaire. Comment puis-je/je mettre à jour la valeur hoverDelay après la création du diagramme?GoJs Diagram Change HoverDelay Timeout
Voici comment configurer i mon schéma:
this.myDiagram =
Make(go.Diagram, this._element.nativeElement, // must be the ID or reference to an HTML DIV
{
// start everything in the middle of the viewport
initialContentAlignment: go.Spot.TopCenter,
initialAutoScale: go.Diagram.Uniform,
layout: Make(go.LayeredDigraphLayout, { direction: 90, layerSpacing: 10, columnSpacing: 80, setsPortSpots: false }),
"animationManager.isInitial": false,
hoverDelay : 500
});
à partir de l'objet myDiagram est-il un moyen de mettre à jour son hoverDelay dire 1000 après le schéma est instancié?
Merci!
Ai-je besoin d'une transaction pour cela? – cobolstinks
semble pas besoin d'une transaction. Merci! – cobolstinks