-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Oct 19, 2023
1 parent
6b04c0b
commit 4f86500
Showing
268 changed files
with
42,010 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
/.idea | ||
/node_modules | ||
/dist | ||
/.DS_Store | ||
/docs/type | ||
/as | ||
/coverage | ||
*.iml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
interface Comment { | ||
message: string; | ||
vpos: number; | ||
isYourPost: boolean; | ||
mail: string; | ||
fromButton: boolean; | ||
isPremium: boolean; | ||
color: number; | ||
size: number; | ||
no: number; | ||
_vpos: number; | ||
_owner: boolean; | ||
} | ||
|
||
declare class Niwango { | ||
private readonly render; | ||
static default: typeof Niwango; | ||
private lastVpos; | ||
constructor(targetElement: HTMLCanvasElement | HTMLDivElement, comments: Comment[]); | ||
private execute; | ||
draw(vpos: number, clear?: boolean): boolean; | ||
private _draw; | ||
addComments(...newComments: Comment[]): void; | ||
} | ||
|
||
export { Niwango as default }; |
Oops, something went wrong.