소스 검색

Add function documentation.

Jason Grout 7 년 전
부모
커밋
fa295cb2ed
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      packages/imageviewer/src/widget.ts

+ 3 - 0
packages/imageviewer/src/widget.ts

@@ -176,6 +176,9 @@ class ImageViewer extends Widget implements DocumentRegistry.IReadyWidget {
     this._img.src = `data:${cm.mimetype};${cm.format},${content}`;
   }
 
+  /**
+   * Update the image CSS style, including the transform and filter.
+   */
   private _updateStyle(): void {
     let [a, b, c, d] = this._matrix;
     let [tX, tY] = Private.prodVec(this._matrix, [1, 1]);