diff --git a/.gitignore b/.gitignore index 63b47406..232a8221 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ #VSCode stuff .vscode +#Idea stuff +.idea + # Node stuff node_modules diff --git a/js/src/rive_advanced.mjs.d.ts b/js/src/rive_advanced.mjs.d.ts index d27b17e3..5368f1b7 100644 --- a/js/src/rive_advanced.mjs.d.ts +++ b/js/src/rive_advanced.mjs.d.ts @@ -534,6 +534,16 @@ export declare class Artboard { * @param path - Path of where the text exists at an artboard level */ textByPath(name: string, path: string): TextValueRun; + /** + * Returns the number of TextValueRun objects in the artboard + * @returns number of TextValueRun objects in the artboard + */ + textValueRunCount(): number; + /** + * Returns a reference for a TextValueRun object to get/set a text value for + * @param index - Index of the Text Run to grab a reference to + */ + textValueRunByIndex(index: number): TextValueRun; /** * Getter and setter for the artboard width */