Comments (7)
Which version of Angular you wanna take first? AngularJS or Angular 2 ?
from funnies.
@kobvel I have familiarity myself with Angular 1.x, but I hear Angular 2 is the new hotness. Probably Angular 2? What do you think?
from funnies.
@1egoman no problem. In case it would be more helpful !
from funnies.
I've done a component that cycles the funnies in Angular2, I've tried to use the same style of the one you have in the homepage, I've also added some animations.
Where do you want me to pull the .ts file ? do you want me to pull only the component or also a small demo (I've got the demo already)? Do you want me to do a small docs on how to install the component and how to use it ?
the usage is similar to the react implementation
<app-funnies [interval]="'4000'" [customMessages]="messages"></app-funnies>
from funnies.
@david1983 This is really cool!
Go ahead and either add the code directly in the src/
folder or in a src/angular/
subfolder if there's more than one file. Also, if you wouldn't mind, could you add the required gulp configuration to compile and import?
Thanks a lot!
from funnies.
@1egoman Any interest in an Angular 1.x directive?
from funnies.
@kevinralph Sure!
from funnies.
Related Issues (12)
- Consider supporting custom react component? HOT 5
- Revise build system to use gulp HOT 7
- Add more funny phrases! HOT 13
- Browserified funnies.min.js throws error
- Gulp watch task HOT 4
- Allow the react component animation duration to be configurable HOT 1
- Duplicated funnies?
- couple typos
- Disable react components? HOT 8
- Uncaught Error: Cannot find module "funnies/react" HOT 2
- Any desire to update the React component + testing? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funnies.