-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: release input when mouse event is canceled (#201)
* docs: add framework badges * fix: release input when mouse event is canceled * fix: check buttons within getTouches of mouse input * fix: check event types of mouse input in getTouches
- Loading branch information
Showing
15 changed files
with
231 additions
and
26 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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.framework-logo { | ||
display: inline-flex; | ||
text-align: center; | ||
padding: 2.2rem 2.5rem !important; | ||
} | ||
|
||
.framework-logo-wrapper { | ||
padding: 1rem; | ||
width: 3rem; | ||
height: 3rem; | ||
position: relative; | ||
} | ||
|
||
.framework-logo img { | ||
position: absolute; | ||
width: 2rem; | ||
height: 2rem; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
.framework-logo a { | ||
color: #ffffff; | ||
} | ||
.framework-logo.is-light a { | ||
color: #333333; | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import React from "react"; | ||
import Flicking from "@egjs/react-flicking"; | ||
import { AutoPlay } from "@egjs/flicking-plugins"; | ||
|
||
import styles from "./frameworks.module.css"; | ||
|
||
export default () => { | ||
const plugins = [new AutoPlay()]; | ||
|
||
return (<Flicking className="mb-2" plugins={plugins} align={"prev"} circular={true}> | ||
<div className="framework-logo button mr-2 is-info"> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/react.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/react-axes" target="_blank">@egjs/react-axes</a> | ||
</div> | ||
<div className="framework-logo button mr-2 is-success"> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/vue.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/vue-axes" target="_blank">@egjs/vue-axes</a> | ||
</div> | ||
<div className="framework-logo button mr-2 is-light"> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/svelte.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/svelte-axes" target="_blank">@egjs/svelte-axes</a> | ||
</div> | ||
<div className={`framework-logo button mr-2 ${styles["is-vue3"]}`}> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/vue.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/vue2-axes" target="_blank">@egjs/vue2-axes</a> | ||
</div> | ||
<div className="framework-logo button mr-2 is-info"> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/react.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/react-axes" target="_blank">@egjs/react-axes</a> | ||
</div> | ||
<div className="framework-logo button mr-2 is-success"> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/vue.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/vue-axes" target="_blank">@egjs/vue-axes</a> | ||
</div> | ||
<div className="framework-logo button mr-2 is-light"> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/svelte.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/svelte-axes" target="_blank">@egjs/svelte-axes</a> | ||
</div> | ||
<div className={`framework-logo button mr-2 ${styles["is-vue3"]}`}> | ||
<div className="framework-logo-wrapper mr-2"><img src="icon/vue.svg" /></div> | ||
<a href="https://npmjs.com/@egjs/vue2-axes" target="_blank">@egjs/vue2-axes</a> | ||
</div> | ||
</Flicking>); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.is-vue3 { | ||
background-color: rgb(166, 123, 194) !important; | ||
border-color: transparent !important; | ||
color: white !important; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.