@innovastudio/contentbuilder 1.3.32 → 1.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Scroll Animation Plugin
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
(function () {
|
|
6
|
+
if(typeof _cb === 'undefined') return;
|
|
7
|
+
|
|
8
|
+
var button_html = '<button id="btnScrollAnim" title="'+_cb.out('Animation')+'">' +
|
|
9
|
+
'<svg class="is-icon-flex" style="fill:rgba(0, 0, 0, 0.7);width:14px;height:14px;"><use xlink:href="#icon-hand-move"></use></svg>' +
|
|
10
|
+
'</button>';
|
|
11
|
+
|
|
12
|
+
_cb.addButton('animation', button_html, '#btnScrollAnim', function () {
|
|
13
|
+
|
|
14
|
+
contentbox.openAnimationPanel();
|
|
15
|
+
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
_cb.addButton2('animation', button_html, '#btnScrollAnim', function () {
|
|
19
|
+
|
|
20
|
+
contentbox.openAnimationPanel();
|
|
21
|
+
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
})();
|
|
25
|
+
|