-
-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(zoom): implement focal point zooming without matrices
- Loading branch information
Showing
21 changed files
with
646 additions
and
799 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
> **[panzoom](README.md)** | ||
[Globals](globals.md) / | ||
|
||
# panzoom | ||
|
||
## Index | ||
|
||
### External modules | ||
|
||
* ["css"](modules/_css_.md) | ||
* ["isAttached"](modules/_isattached_.md) | ||
* ["isSVGElement"](modules/_issvgelement_.md) | ||
* ["panzoom"](modules/_panzoom_.md) |
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 |
---|---|---|
@@ -1,54 +1,47 @@ | ||
[panzoom](../README.md) > ["panzoom"](../modules/_panzoom_.md) > [PanOptions](../interfaces/_panzoom_.panoptions.md) | ||
> **[panzoom](../README.md)** | ||
[Globals](../globals.md) / ["panzoom"](../modules/_panzoom_.md) / [PanOptions](_panzoom_.panoptions.md) / | ||
|
||
# Interface: PanOptions | ||
|
||
## Hierarchy | ||
|
||
**PanOptions** | ||
* **PanOptions** | ||
|
||
## Index | ||
|
||
### Properties | ||
|
||
* [cursor](_panzoom_.panoptions.md#cursor) | ||
* [disablePan](_panzoom_.panoptions.md#disablepan) | ||
* [relative](_panzoom_.panoptions.md#relative) | ||
|
||
--- | ||
* [cursor](_panzoom_.panoptions.md#optional-cursor) | ||
* [disablePan](_panzoom_.panoptions.md#optional-disablepan) | ||
* [relative](_panzoom_.panoptions.md#optional-relative) | ||
|
||
## Properties | ||
|
||
<a id="cursor"></a> | ||
|
||
### `<Optional>` cursor | ||
### `Optional` cursor | ||
|
||
**● cursor**: *`string`* | ||
• **cursor**? : *string* | ||
|
||
*Defined in [panzoom.ts:20](https://github.com/timmywil/panzoom/blob/ea9f617/src/panzoom.ts#L20)* | ||
*Defined in [panzoom.ts:20](https://github.com/timmywil/panzoom/blob/45fed7d/src/panzoom.ts#L20)* | ||
|
||
The cursor style to set on the panzoom element | ||
|
||
___ | ||
<a id="disablepan"></a> | ||
|
||
### `<Optional>` disablePan | ||
### `Optional` disablePan | ||
|
||
**● disablePan**: *`boolean`* | ||
• **disablePan**? : *boolean* | ||
|
||
*Defined in [panzoom.ts:16](https://github.com/timmywil/panzoom/blob/ea9f617/src/panzoom.ts#L16)* | ||
*Defined in [panzoom.ts:16](https://github.com/timmywil/panzoom/blob/45fed7d/src/panzoom.ts#L16)* | ||
|
||
Disable panning functionality. Note: disablePan also disables focal point zooming | ||
|
||
___ | ||
<a id="relative"></a> | ||
|
||
### `<Optional>` relative | ||
### `Optional` relative | ||
|
||
**● relative**: *`boolean`* | ||
• **relative**? : *boolean* | ||
|
||
*Defined in [panzoom.ts:18](https://github.com/timmywil/panzoom/blob/ea9f617/src/panzoom.ts#L18)* | ||
|
||
When passing x and y values to .pan(), treat the values as relative to their current values | ||
|
||
___ | ||
*Defined in [panzoom.ts:18](https://github.com/timmywil/panzoom/blob/45fed7d/src/panzoom.ts#L18)* | ||
|
||
When passing x and y values to .pan(), treat the values as relative to their current values |
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
Oops, something went wrong.