@rnacanvas/app-object 1.4.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import { Drawing } from '@rnacanvas/draw';
2
+ import { Scrollbars } from '@rnacanvas/scrollbars';
2
3
  /**
3
4
  * An RNAcanvas app object that can be included as a component of a web page / app.
4
5
  */
@@ -21,6 +22,10 @@ export declare class RNAcanvas {
21
22
  * The 2D nucleic acid structure drawing of the app object.
22
23
  */
23
24
  readonly drawing: Drawing;
25
+ /**
26
+ * The scrollbars controlling the user's view of the drawing.
27
+ */
28
+ readonly drawingScrollbars: Scrollbars;
24
29
  constructor();
25
30
  /**
26
31
  * Appends the DOM node of the app object to the given container node.
@@ -1 +1 @@
1
- {"version":3,"file":"RNAcanvas.d.ts","sourceRoot":"","sources":["../src/RNAcanvas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAY1C;;GAEG;AACH,qBAAa,SAAS;IACpB;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAE9B;;;;;;OAMG;IACH,OAAO,CAAC,WAAW,CAAiB;IAEpC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;;IAqB1B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,IAAI,GAAG,IAAI;IAI/B;;;;OAIG;IACH,MAAM,IAAI,IAAI;IAId;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK;CAoB9D"}
1
+ {"version":3,"file":"RNAcanvas.d.ts","sourceRoot":"","sources":["../src/RNAcanvas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAYnD;;GAEG;AACH,qBAAa,SAAS;IACpB;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAE9B;;;;;;OAMG;IACH,OAAO,CAAC,WAAW,CAAiB;IAEpC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC;;IAuBvC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,IAAI,GAAG,IAAI;IAI/B;;;;OAIG;IACH,MAAM,IAAI,IAAI;IAId;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK;CAoB9D"}