MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / stop

Method stop

src/core/css-renderer/CssComment.ts:78–89  ·  view source on GitHub ↗

* Override the toplevel stop to actually stop the CSS.

()

Source from the content-addressed store, hash-verified

76 * Override the toplevel stop to actually stop the CSS.
77 */
78 public stop():void{
79 super.stop();
80 this.dom.style.transition = '';
81 // This clears translation (sets translate to 0px)
82 this.x = this._x;
83 // Set to null to force writing an absolute x position
84 this._x = null;
85 // Write down the current expected x as absolute
86 this.x = this.x;
87 // Make the CSS dirty so that next update will start the movement
88 this._dirtyCSS = true;
89 }
90}

Callers

nothing calls this directly

Calls 1

stopMethod · 0.65

Tested by

no test coverage detected