get_id(); $settings = $this->get_settings(); $title_tag = $this->__get_html( 'title_html_tag', '%s' ); $sub_title_tag = $this->__get_html( 'sub_title_html_tag', '%s' ); $animation_class = $settings['animation_effect']; switch ( $settings['switch_event_type'] ) { case 'scratch': $animation_class = 'jet-box-scratch-effect back-events-inactive'; break; case 'fold': $animation_class = 'jet-box-fold-effect'; break; case 'peel': $animation_class = 'jet-box-peel-effect'; break; case 'slide-out': $slide_direction = isset( $settings['slide_out_direction'] ) ? $settings['slide_out_direction'] : ''; $animation_class = 'jet-box-slide-out-effect slide-out-' . $slide_direction; break; } ?>
generate_setting_json(); ?>>
__icon( 'front_side_icon', '
%s
' ); ?>
__html( 'front_side_title', '<' . $title_tag . ' class="jet-animated-box__title jet-animated-box__title--front">%s' ); $this->__html( 'front_side_subtitle', '<' . $sub_title_tag . ' class="jet-animated-box__subtitle jet-animated-box__subtitle--front">%s' ); $this->__html( 'front_side_description', '

%s

' ); ?>
get_template_content( $settings['front_side_template_id'] ); } ?>
__icon( 'front_side_toggle_icon', '
%s
' ); ?>
__icon( 'back_side_icon', '
%s
' ); ?>
__html( 'back_side_title', '<' . $title_tag . ' class="jet-animated-box__title jet-animated-box__title--back">%s' ); $this->__html( 'back_side_subtitle', '<' . $sub_title_tag . ' class="jet-animated-box__subtitle jet-animated-box__subtitle--back">%s' ); $this->__html( 'back_side_description', '

%s

' ); $this->__glob_inc_if( 'action-button', array( 'back_side_button_link', 'back_side_button_text' ) ); ?>
get_template_content( $settings['back_side_template_id'] ); } ?>
__icon( 'back_side_toggle_icon', '
%s
' ); ?>