tw5-typed 0.1.2 → 0.1.3
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/package.json +1 -1
- package/src/widget.d.ts +2 -1
package/package.json
CHANGED
package/src/widget.d.ts
CHANGED
|
@@ -35,7 +35,8 @@ declare module 'tiddlywiki' {
|
|
|
35
35
|
/**
|
|
36
36
|
* Get parameters that user set in the widget
|
|
37
37
|
* @param name attribute name, for example, `actions` in the button widget
|
|
38
|
+
* @param fallbackText default value if the attribute is not set
|
|
38
39
|
*/
|
|
39
|
-
getAttribute(name: string): string;
|
|
40
|
+
getAttribute(name: string, fallbackText?: string): string;
|
|
40
41
|
}
|
|
41
42
|
}
|