Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/braposo/react-text-loop
/ getOpacity
Method
getOpacity
src/components/TextLoop.tsx:192–194 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
190
};
191
192
getOpacity(): 0 | 1 {
193
return this.props.fade ? 0 : 1;
194
}
195
196
getDimensions(): ClientRect | DOMRect | { width: 0; height: 0 } {
197
if (this.wordBox == null) {
Callers
1
TextLoop
Class · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected