All Projects → pqina → Flip

pqina / Flip

Licence: mit
⏳ The online version of the classic flip clock

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Flip

React Native Countdown Component
React Native CountDown
Stars: ✭ 193 (-58.04%)
Mutual labels:  counter, countdown
Vue Countdown
Countdown component for Vue.js.
Stars: ✭ 393 (-14.57%)
Mutual labels:  countdown
moveit
Move.it is a project that combines the pomodoro (🍅 ) technique with some challenges (⚔️ ) for the well-being (🥰 ) of those who spend many hours (⏳ ) using the computer 🖥
Stars: ✭ 12 (-97.39%)
Mutual labels:  countdown
Countdownview
Android Countdown View
Stars: ✭ 2,869 (+523.7%)
Mutual labels:  countdown
Web-Time-Tracker
Plugin named Timetracker is a time counter that works in both increase and decrease directions.
Stars: ✭ 21 (-95.43%)
Mutual labels:  countdown
Efcountinglabel
Adds animated counting support to UILabel.
Stars: ✭ 311 (-32.39%)
Mutual labels:  countdown
uldaq
MCC Universal Library for Linux
Stars: ✭ 70 (-84.78%)
Mutual labels:  counter
Goodshare.js
🚀 А useful modern JavaScript solution for share a link from your website to social networks or mobile messengers. Easy to install and configuring on any of your website!
Stars: ✭ 420 (-8.7%)
Mutual labels:  counter
Reactnative Animation Challenges
A series of animation challenges in React Native.
Stars: ✭ 352 (-23.48%)
Mutual labels:  counter
ClassClock
ClassClock is a free, easy-to-use web app for K-12 schools that provides an at-a-glance view of the school schedule
Stars: ✭ 27 (-94.13%)
Mutual labels:  countdown
stats
📊 Request statistics middleware that stores response times, status code counts, etc
Stars: ✭ 15 (-96.74%)
Mutual labels:  counter
progress
Easy progress reporting for D
Stars: ✭ 20 (-95.65%)
Mutual labels:  counter
Oycountdownmanager
在cell中使用倒计时的处理方法, 全局使用一个NSTimer对象, 支持单列表.多列表.多页面.分页列表使用
Stars: ✭ 317 (-31.09%)
Mutual labels:  countdown
bloc-pattern-example
Detailed example of the BLoC pattern in Flutter
Stars: ✭ 23 (-95%)
Mutual labels:  counter
React Countdown
A customizable countdown component for React.
Stars: ✭ 402 (-12.61%)
Mutual labels:  countdown
stat-counters
The library, which provides statistics counters, e.g. Google analytics, Yandex metrica, etc
Stars: ✭ 16 (-96.52%)
Mutual labels:  counter
ZXCountDownView
【杀不死的倒计时】一个简单易用的倒计时View,常用于快速创建点击获取验证码按钮,支持各种自定义样式。(特点:重新进入当前页面或重启程序倒计时不会重置,仍将继续执行,且退出程序后的时间也会被自动计算在内)
Stars: ✭ 56 (-87.83%)
Mutual labels:  countdown
Timer.jquery
jQuery Timer: Start/Stop/Resume/Remove pretty timer inside any HTML element.
Stars: ✭ 283 (-38.48%)
Mutual labels:  countdown
Jkcountdownbutton
JKCountDownButton,子类化UIButton实现IOS倒计时按钮,常常用于注册等发送验证码的时候进行倒计时操作
Stars: ✭ 436 (-5.22%)
Mutual labels:  countdown
Eloquent Viewable
Associate views with Eloquent models in Laravel
Stars: ✭ 404 (-12.17%)
Mutual labels:  counter

Flip Countdown

Flip is an advanced and beautiful flip counter plugin. Easy to use and highly flexible, you can set up a custom counter on your website in minutes. Display visitor counts, countdown to a special date or celebrate progress. Whatever you’re planning, the options are endless.

Learn more about Flip on the product site

Learn more about Tick the engine that powers Flip

Made with ❤ By Rik Schennink

Quick Start

If you just want to get on your way, copy the example directory and use it a starting point.

This example will automatically initialise Flip counters on the website and can be used with the presets on the demo site.

Or you can use one of the javascript framework codesandboxes below:

Setup

For the code snippets below we'll assume it's the flip.min.css and flip.min.js version and the folder we are uploading to is named flip.

Copy the following HTML snippet in the <head> of your web page.

<link href="/flip/flip.min.css" rel="stylesheet">

Then copy the following snippet and place it just before the closing </body> tag.

<script src="/flip/flip.min.js"></script>

Make sure the paths in the above code snippets match the location of the CSS and JS files.

You can now copy past the presets to your website and everything should function correctly.

You can also load the files from a CDN like unpkg using the links below:

<link href="https://unpkg.com/@pqina/flip/dist/flip.min.css" rel="stylesheet">
<script src="https://unpkg.com/@pqina/flip/dist/flip.min.js"></script>

Install from NPM

npm i @pqina/flip --save
import Tick from '@pqina/flip';

console.log(Tick);
// logs {supported: true, options: {…}, helper: {…}, data: {…}, DOM: {…}, …}

Docs

Information on how to customize Tick and use the Tick API can be found on the product website.

Accessibility

For better compatibility with screenreaders we need to hide the flip view using aria-hidden, this prevents the contents from being read out load. We can then use an aria-label attribute to provide a formatted label instead.

<div class="tick"
     data-value="1234"
     data-did-init="setupFlip">
  
    <!-- Hide visual content from screenreaders with `aria-hidden` -->
    <div data-repeat="true" aria-hidden="true">
        <span data-view="flip"></span>
    </div>
  
</div>

<script>
function setupFlip(tick) {

    Tick.helper.interval(function() {

        tick.value++;

        // Set `aria-label` attribute which screenreaders will read instead of HTML content
        tick.root.setAttribute('aria-label', tick.value);

    }, 1000);

}
</script>

License

MIT License, Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].