Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
4681b605
Commit
4681b605
authored
Dec 21, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11111
parent
cec7f22f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
.DS_Store
project/.DS_Store
+0
-0
.gitignore
project/.gitignore
+3
-1
package.json
project/package.json
+1
-1
main3.jsx
project/src/pages/main3/main3.jsx
+1
-1
svga.js
project/src/svga.js
+4
-4
No files found.
project/.DS_Store
View file @
4681b605
No preview for this file type
project/.gitignore
View file @
4681b605
node_modules
dist
.DS_Store
node_modules
dist
\ No newline at end of file
project/package.json
View file @
4681b605
project/src/pages/main3/main3.jsx
View file @
4681b605
...
...
@@ -11,7 +11,7 @@ class Main3 extends Component {
super
(
props
);
this
.
state
=
{
resList
:
resList
,
nickname
:
'
nickname
'
,
nickname
:
'
d9813k
'
,
avatar
:
1
,
num
:
"1123"
};
...
...
project/src/svga.js
View file @
4681b605
...
...
@@ -25,10 +25,10 @@ export const loadSVGA = (url) => {
export
const
getSVGA
=
async
(
url
,
className
,
loops
,
clearsAfterStop
)
=>
{
const
videoItem
=
await
loadSVGA
(
url
);
var
svga
=
new
SVGA
.
Player
(
className
);
//
if (loops)
//
svga.loops = loops;
//
if (clearsAfterStop)
//
svga.clearsAfterStop = clearsAfterStop;
if
(
loops
)
svga
.
loops
=
loops
;
if
(
clearsAfterStop
)
svga
.
clearsAfterStop
=
clearsAfterStop
;
svga
.
setVideoItem
(
videoItem
);
svga
.
startAnimation
();
return
svga
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment