summaryrefslogtreecommitdiff
path: root/inc/builder/type/header/button/assets/js/unminified/customizer-preview.js
diff options
context:
space:
mode:
Diffstat (limited to 'inc/builder/type/header/button/assets/js/unminified/customizer-preview.js')
-rw-r--r--inc/builder/type/header/button/assets/js/unminified/customizer-preview.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/builder/type/header/button/assets/js/unminified/customizer-preview.js b/inc/builder/type/header/button/assets/js/unminified/customizer-preview.js
new file mode 100644
index 0000000..db0ad86
--- /dev/null
+++ b/inc/builder/type/header/button/assets/js/unminified/customizer-preview.js
@@ -0,0 +1,15 @@
+/**
+ * This file adds some LIVE to the Customizer live preview. To leverage
+ * this, set your custom settings to 'postMessage' and then add your handling
+ * here. Your javascript should grab settings from customizer controls, and
+ * then make any necessary changes to the page using jQuery.
+ *
+ * @package Astra
+ * @since 3.0.0
+ */
+
+( function( $ ) {
+
+ astra_builder_button_css( 'header', AstraBuilderButtonData.component_limit );
+
+} )( jQuery );