forked from ctrl-freaks/freezeframe.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87aad93
commit 6bf4a33
Showing
3 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,27 +10,33 @@ animate on mouse hover / mouse click / touch event, or triggered manually. | |
|
||
http://ctrl-freaks.github.io/freezeframe.js/ | ||
|
||
## 5.0 - TypeScript | ||
## v5 - TypeScript | ||
|
||
Freezeframe is now built entirely in TypeScript! The library will still support usage in JavaScript, but if your project uses TypeScript, you'll have access to Freezeframe's type definitions, improved input validation, and depending on your IDE/text editor, autocompletion/intellisense. | ||
|
||
To get started using the TypeScript beta: | ||
To get started using freezeframe 5: | ||
|
||
```sh | ||
npm install [email protected]-beta.1 | ||
npm install [email protected] | ||
``` | ||
|
||
```sh | ||
npm install [email protected]-beta.1 | ||
npm install [email protected] | ||
``` | ||
|
||
```sh | ||
npm install [email protected]-beta.1 | ||
npm install [email protected] | ||
``` | ||
|
||
Version 5+ is built with modern JavaScript in mind. It's transpiled from TypeScript to normal JavaScript, and it should | ||
Version 5+ is built with modern development in mind. It's transpiled from TypeScript to JavaScript, and it should | ||
work in all modern browsers, but we are no longer supporting older browsers, or the jquery plugin. | ||
|
||
If you need to support older browsers, try v4.x: | ||
|
||
```sh | ||
npm install [email protected] | ||
``` | ||
|
||
If you want to use freezeframe as a jquery plugin, check out | ||
[freezeframe v3.0.10](https://github.com/ctrl-freaks/freezeframe.js/tree/archived/3.0.10). | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,6 @@ plugin, check out [freezeframe v3.0.10](https://github.com/ctrl-freaks/freezefra | |
|
||
Freezeframe is now built in TypeScript! The library will still support usage in JavaScript, but if your project uses TypeScript, you'll have access to Freezeframe's type definitions, improved input validation, and depending on your IDE/text editor, autocompletion/intellisense. | ||
|
||
To get started using the TypeScript beta: | ||
|
||
```sh | ||
npm install [email protected] | ||
``` | ||
|
||
- [Freezeframe.js](#freezeframejs) | ||
- [TypeScript](#typescript) | ||
- [Examples](#examples) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,6 @@ https://codesandbox.io/s/vue-freezeframe-demo-jibmp | |
|
||
For advanced use cases, take a look at the [demo source](./src/App.vue), or take a look at the [types exported from Freezeframe](../freezeframe/types). | ||
|
||
To get started using the TypeScript beta: | ||
|
||
```sh | ||
npm install [email protected] | ||
``` | ||
|
||
## Project setup | ||
|
||
```bash | ||
|