Skip to content

Commit d394d74

Browse files
committed
feat: add changeOptions annotation
1 parent 73a95da commit d394d74

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/core/watermark.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ class Watermark {
3131
bootstrap()
3232
}
3333

34+
/**
35+
* Change watermark options
36+
* @param args
37+
* @param mode
38+
* @param redraw
39+
*/
3440
async changeOptions (args: Partial<WatermarkOptions> = {}, mode: ChangeOptionsMode = 'overwrite', redraw: boolean = true) {
3541
this.initConfigData(args, mode)
3642
if (redraw) {

0 commit comments

Comments
 (0)