MCPcopy Create free account
hub / github.com/microsoft/SandDance / KeytipManager1

Function KeytipManager1

docs/app/js/sanddance-app.js:34169–34182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34167 * This class is responsible for handling registering, updating, and unregistering of keytips
34168 */ var KeytipManager = /** @class */ function() {
34169 function KeytipManager1() {
34170 this.keytips = {};
34171 this.persistedKeytips = {};
34172 this.sequenceMapping = {};
34173 // This is (and should be) updated and kept in sync
34174 // with the inKeytipMode in KeytipLayer.
34175 this.inKeytipMode = false;
34176 // Boolean that gets checked before entering keytip mode by the KeytipLayer
34177 // Used for an override in special cases (e.g. Disable entering keytip mode when a modal is shown)
34178 this.shouldEnterKeytipMode = true;
34179 // Boolean to indicate whether to delay firing an event to update subscribers of
34180 // keytip data changed.
34181 this.delayUpdatingKeytipChange = false;
34182 }
34183 /**
34184 * Static function to get singleton KeytipManager instance
34185 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected