icons8 / titanic Goto Github PK
View Code? Open in Web Editor NEWA set of animated icons + code to insert them into the webpages
Home Page: https://icons8.com/c/animated-icons
A set of animated icons + code to insert them into the webpages
Home Page: https://icons8.com/c/animated-icons
Hi,
How can i have some icons on hover and others just on click.?
Thanks and great work
Hello World~
This project is so awesome, and I have written a README.md in Chinese.
Can I commit it into this project?
There are good advantages from adopting a license and explicitly mentioning it in your README
as well as including a LICENSE
file. See Why I'm not using your open source project
for example. If you want, mention your preferred license in this Issue and I'll send the PR.
I need an icon loaded with its "on" state without sending a js event (ex:
Hi Guys, can i use this in react native?
Will this be compatible with Lottie?
Hello, I am trying to change the color of the icon with the value in hexadecimal... how do I do this?
I still have a preference for JS or CSS.
Thank you.
I tried to implement your library in an Angular 4 Project.
I installed the npm package as you suggested.
The issue is import Titanic from 'titanic-icons';
doesn't work. Error : [ts]Cannot find module 'titanic-icons'
.
I tried import Titanic from 'titanic-icons/dist/js/titanic.min';
and
ngOnInit(): void {
this.titanic = new Titanic({
hover: true, // auto animated on hover (default true)
click: false // auto animated on click/tap (default false)
});
}
Neither the import nor the compilation throw me any errors.
However the icon doesn't appear as expected.
Could you please provide Angular implementation example ?
SVG doesn't work correctly on ie edge and chrome mobile.
How to fix this problem?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="https://cdn.rawgit.com/icons8/titanic/master/dist/js/titanic.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/4.5.9/bodymovin.min.js"></script>
</head>
<body>
<div class='titanic titanic-unlock'></div>
<script>
console.log(Titanic);
var titanic = new Titanic('https://rawgit.com/icons8/titanic/master/src/icons/');
console.log(JSON.stringify(titanic));
console.log(titanic.toSource());
console.log(titanic.play('unlock'));
</script>
</body>
</html>
function Titanic()
{"options":{"baseURL":"https://cdn.rawgit.com/icons8/titanic/master/dist/icons/","hover":true,"click":false}}
({options:{baseURL:"https://cdn.rawgit.com/icons8/titanic/master/dist/icons/", hover:true, click:false}})
TypeError: titanic.play is not a function
Thanks to your work for this awesome project.
I wonder is there an function that get the icon is on or off?
I think it is useful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.