Skip to content

Commit ec2d394

Browse files
authored
Merge pull request #24 from takker99/jsdoc
💡 UserScript eventsの解説を書いた
2 parents c47aacc + e91cb73 commit ec2d394

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

userscript.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,15 @@ export interface TimeStamp {
108108
removeAllFormat: () => void;
109109
}
110110

111-
/** built-in UserScript events */
111+
/** built-in UserScript events
112+
*
113+
* | Event | Description |
114+
* | ------ | ----------- |
115+
* | lines:changed | 今開いているページの文章が変更された |
116+
* | page:changed | 別のページに遷移した |
117+
* | layout:changed | 別の種類のページに遷移した |
118+
* | project:changed | 別のprojectに遷移した |
119+
*/
112120
export type eventName =
113121
| "lines:changed"
114122
| "page:changed"

0 commit comments

Comments
 (0)