From d9591600f362adc10b2c9b0c440063aae79a5960 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?=
Date: Wed, 22 Apr 2015 12:18:59 +0200
Subject: [PATCH 1/3] Effects: Mark transfer-effect deprecated, document
.transfer()
Ref gh-242
---
entries/transfer-effect.xml | 3 +-
entries/transfer.xml | 65 +++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+), 1 deletion(-)
create mode 100644 entries/transfer.xml
diff --git a/entries/transfer-effect.xml b/entries/transfer-effect.xml
index 2821da94..51781355 100644
--- a/entries/transfer-effect.xml
+++ b/entries/transfer-effect.xml
@@ -1,10 +1,11 @@
-
+
Transfer Effect
Transfers the outline of an element to another element
Very useful when trying to visualize interaction between two elements.
The transfer element itself has the class ui-effects-transfer
, and needs to be styled by you, for example by adding a background or border.
+ This effect is deprecated, replaced by the .transfer() method.
diff --git a/entries/transfer.xml b/entries/transfer.xml
new file mode 100644
index 00000000..bf3b54ba
--- /dev/null
+++ b/entries/transfer.xml
@@ -0,0 +1,65 @@
+
+
+ .transfer()
+ Transfers the outline of an element to another element
+
+ Very useful when trying to visualize interaction between two elements.
+ The transfer element itself has the class ui-effects-transfer
, and needs to be styled by you, for example by adding a background or border.
+
+
+
+
+ The target of the transfer effect.
+
+
+ A class to add to the transfer element, in addition to ui-effects-transfer
.
+
+
+ How long the animation runs.
+
+
+ The easing to use for the animation.
+
+
+
+ A function to invoke once the animation completes.
+
+
+
+ 150
+ Clicking on the green element transfers to the other.
+
+
+
+
+
+
+
From de6bf10298557602fd6a3d6494f85da52129d770 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?=
Date: Wed, 22 Apr 2015 15:42:14 +0200
Subject: [PATCH 2/3] [fix]: Reuse exiting content, include the one for
complete
---
entries/transfer.xml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/entries/transfer.xml b/entries/transfer.xml
index bf3b54ba..e04e824c 100644
--- a/entries/transfer.xml
+++ b/entries/transfer.xml
@@ -15,15 +15,13 @@
A class to add to the transfer element, in addition to ui-effects-transfer
.
- How long the animation runs.
+ The strings "fast"
and "slow"
can be supplied to indicate durations of 200 and 600 milliseconds, respectively.
- The easing to use for the animation.
+ A string indicating which easing function to use for the transition.
-
- A function to invoke once the animation completes.
-
+
150
From 1418aa1370ec8709b4831ae73965d9771ef60f7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?=
Date: Wed, 22 Apr 2015 16:03:18 +0200
Subject: [PATCH 3/3] [fix]: Merge descs for both types into property desc,
keep both types
---
entries/transfer.xml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/entries/transfer.xml b/entries/transfer.xml
index e04e824c..a399f85e 100644
--- a/entries/transfer.xml
+++ b/entries/transfer.xml
@@ -14,8 +14,10 @@
A class to add to the transfer element, in addition to ui-effects-transfer
.
-
- The strings "fast"
and "slow"
can be supplied to indicate durations of 200 and 600 milliseconds, respectively.
+
+ A string or number determining how long the animation will run. The strings "fast"
and "slow"
can be supplied to indicate durations of 200 and 600 milliseconds, respectively. The number type indicates the duration in milliseconds.
+
+
A string indicating which easing function to use for the transition.