MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / IComment

Interface IComment

src/core/Core.d.ts:98–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98interface IComment {
99 dom:any;
100 stime:number;
101 dur:number;
102 ttl:number;
103 cindex:number;
104 align:number;
105 axis:number;
106 x:number;
107 y:number;
108 bottom:number;
109 right:number;
110 width:number;
111 height:number;
112 movable:boolean;
113 border:boolean;
114 shadow:boolean;
115 font:string;
116 color:number;
117 alpha:number;
118 size:number;
119 /**
120 * Updates the comment life by subtracting t from ttl
121 * @param t - difference in time
122 */
123 time(t:number):void;
124 /**
125 * Update the comment's position based on the time.
126 * This is called by time()
127 */
128 update():void;
129 /**
130 * Invalidate the coordinates and dimensions of the
131 * current comment object
132 */
133 invalidate():void;
134 /**
135 * Perform an animation alongside the update
136 */
137 animate():void;
138 /**
139 * Remove the comment from display
140 */
141 finish():void;
142
143 /**
144 * Called when the outside container stops
145 */
146 stop():void;
147}

Callers 16

CommentManager.jsFile · 0.65
resumeFunction · 0.65
bindFunction · 0.65
bindVideoFunction · 0.65
main.jsFile · 0.65
animate.jsFile · 0.65
invalidateMethod · 0.65
CommentManager.jsFile · 0.65
finishMethod · 0.65
clearMethod · 0.65
CommentManager.jsFile · 0.65
stopMethod · 0.65

Implementers 1

CoreCommentsrc/core/Comment.ts

Calls

no outgoing calls

Tested by

no test coverage detected