Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weichiachang/easter-eggs-mobile
đą Trigger easter eggs on mobile device
https://github.com/weichiachang/easter-eggs-mobile
easter-egg mobile surprise tricks
Last synced: 2 months ago
JSON representation
đą Trigger easter eggs on mobile device
- Host: GitHub
- URL: https://github.com/weichiachang/easter-eggs-mobile
- Owner: WeiChiaChang
- Created: 2017-09-11T07:29:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-28T11:02:13.000Z (over 5 years ago)
- Last Synced: 2024-11-16T09:07:49.078Z (3 months ago)
- Topics: easter-egg, mobile, surprise, tricks
- Language: JavaScript
- Homepage: https://git.io/v5PQC
- Size: 16.8 MB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# đą easter-eggs-mobile
![mitLicense](https://img.shields.io/badge/License-MIT-yellow.svg)
![npmPackage](https://badge.fury.io/js/easter-egg-mobile.svg)
![vulnerabilities](https://snyk.io/test/npm/easter-egg-mobile/badge.svg)
![scoreMe](https://readme-score-api.herokuapp.com/score.svg?url=WeiChiaChang/easter-eggs-mobile)> It's the special version which extended from [easter-egg-collection](https://github.com/WeiChiaChang/easter-egg-collection) this library for user to trigger lots of easter eggs on mobile device by đ clicking or tapping with ease.
## đ¤ Live Demo
- Just try to open [this page](https://git.io/v5PQC) on mobile đ˛
- Or... [Codepen](https://codepen.io/WeiChiaChang/full/BwByxN?editors=1100) is your best friend !## đĄ Inspiration
Thanks to awesome [GIFLINKS](http://tholman.com/giflinks/) & original source from [Richard Denton](https://codepen.io/isdampe/pen/OXYZZO) !
All of the images were derived from [GIPHY](https://giphy.com/).
## đ Installing / Getting started
#### CDN đ
```html
```
#### NPM đ
```shell
npm i easter-egg-mobile -D
```For `Vue` users, setup these commands in your single component file :
```javascript
import easterEggMobile from 'easter-egg-mobile'
```And don't forget trigger easter eggs when it `mounted` already :
```javascript
export default {
data () {
return {
...
}
},
// Trigger easter eggs when mounted
mounted: function () {
easterEggMobile
}
}
```> Magic will show with a tiny setting on HTML, keep going ! đĒ
Add `class name` and `data-src` attribute on `` tags in your HTML structure, take `ghost` for example :
```html
Ghost
```So if you want to use `pikachu`, that would be :
```html
Pikachu
```#### The rest of easter eggs follow this way as well đ , now enjoy it ! đž
> This table can help you find out easter eggs as required :
đ° easter egg class | đ data-src | đ¯ original source
------------------- | ----------- | -----------------
gif-pikachu | https://goo.gl/x3rX4r | https://i.giphy.com/uXnif9JVu6VnW.gif
gif-airguitar | https://goo.gl/qEhWwZ | https://i.giphy.com/7yfb0x166Coms.gif
gif-ghost | https://goo.gl/4EwYZr | https://i.giphy.com/YoypIsUmXXI52.gif
gif-dog | https://goo.gl/aQVAXH | https://i.giphy.com/4wLJ8aC0V68x2.gif
gif-hangover | https://goo.gl/aWj4U2 | https://i.giphy.com/uDvz51Hu6PONi.gif
gif-winner | https://goo.gl/5vcgPj | https://i.giphy.com/3oKIPwZVHEiM2B3ljq.gif
gif-psyduck | https://goo.gl/UQL2ak | https://i.giphy.com/7gmk89ezqSjFS.gif
gif-salamander | https://goo.gl/6ZJv2q | https://i.giphy.com/Ny6WEYvBuBvDW.gif
gif-jump | https://goo.gl/EPJRmw | https://i.giphy.com/yqwAxqYAqKTmw.gif
gif-pokeball | https://goo.gl/TBGpoK | https://i.giphy.com/87XjvflDBlPMc.gif
gif-rabbit | https://goo.gl/an1sF1 | https://i.giphy.com/ClZz9cJstGjuM.gif
gif-penguin | https://goo.gl/by1APG | https://i.giphy.com/12GEN4WSKIBYnC.gif
gif-jumpingbird | https://goo.gl/m1cdht | https://i.giphy.com/d3ywbrOKTC2283KM.gif
gif-haters | https://goo.gl/DuMKq4 | https://i.giphy.com/L2ZFgodrsQs6s.gif
gif-dragon | https://goo.gl/P3hA5U | https://i.giphy.com/CJRIOrrkmtBOo.gif
gif-money | https://goo.gl/frKxMS | https://i.giphy.com/sBoohCuSRNYv6.gif
gif-robot | https://goo.gl/yV2gVM | https://i.giphy.com/7ER2Unn4hwhJ6.gif
gif-spongebob | https://goo.gl/CxR6Xq | https://i.giphy.com/FxAYkQqdw63hC.gif
gif-handsome | https://goo.gl/2Kz7Xf | https://i.giphy.com/aXPw3suOkxrBC.gif
gif-no | https://goo.gl/1Gx1dY | https://i.giphy.com/l1ibixfnM4qGI.gif## đ¤ Developing
### Setting up Dev
A quick introduction of how to use easter-eggs-mobile, first of all :
```shell
git clone https://github.com/WeiChiaChang/easter-eggs-mobile.git
```Then install pingy as front-end build tool :
> Save your life, save your time
```shell
npm install @pingy/cli --global
```Last step, install all of the modules :
```shell
npm install
```Type this command with your favorite iterm2 :
```shell
pingy dev
```Everything all done now! ![turtle](http://i.imgur.com/879dfXS.gif)
### Deploying / Publishing
Export website to a folder for distribution and ready for deploying :```shell
pingy export
```## Šī¸ License
MIT Š [WeiChiaChang](https://github.com/WeiChiaChang/)