@rnacanvas/app-object 1.1.0 → 1.3.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.
- package/dist/RNAcanvas.d.ts +23 -0
- package/dist/RNAcanvas.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -1
package/dist/RNAcanvas.d.ts
CHANGED
|
@@ -22,5 +22,28 @@ export declare class RNAcanvas {
|
|
|
22
22
|
*/
|
|
23
23
|
readonly drawing: Drawing;
|
|
24
24
|
constructor();
|
|
25
|
+
/**
|
|
26
|
+
* Appends the DOM node of the app object to the given container node.
|
|
27
|
+
*/
|
|
28
|
+
appendTo(container: Node): void;
|
|
29
|
+
/**
|
|
30
|
+
* Draws the structure given in dot-bracket notation.
|
|
31
|
+
*
|
|
32
|
+
* Will create a nucleobase for each character in the sequence string of the structure.
|
|
33
|
+
*
|
|
34
|
+
* Will create a secondary bond for each base-pair in the structure.
|
|
35
|
+
*
|
|
36
|
+
* Will throw if the dot-bracket notation is invalid
|
|
37
|
+
* (i.e., contains unmatched upstream and/or downstream partner(s)).
|
|
38
|
+
*
|
|
39
|
+
* Currently, only simple dot-bracket notation is supported
|
|
40
|
+
* (i.e., containing only the characters ".", "(" and ")").
|
|
41
|
+
*
|
|
42
|
+
* Dot-bracket notation is allowed to be shorter than the sequence length.
|
|
43
|
+
*
|
|
44
|
+
* @param seq The sequence of the structure.
|
|
45
|
+
* @param dotBracket Dot-bracket notation of the base-pairs in the structure.
|
|
46
|
+
*/
|
|
47
|
+
drawDotBracket(seq: string, dotBracket: string): void | never;
|
|
25
48
|
}
|
|
26
49
|
//# sourceMappingURL=RNAcanvas.d.ts.map
|
package/dist/RNAcanvas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNAcanvas.d.ts","sourceRoot":"","sources":["../src/RNAcanvas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;
|
|
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;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK;CAoB9D"}
|