build_layout_render_attribute(); $this->add_content_wrapper_render_attribute(); $content_classnames = 'e-contact-buttons__content'; $animation_duration = $this->settings['style_chat_box_animation_duration']; if ( ! empty( $animation_duration ) ) { $content_classnames .= ' has-animation-duration-' . $animation_duration; } $this->widget->add_render_attribute( 'content', [ 'class' => $content_classnames, ] ); ?>
widget->get_render_attribute_string( 'layout' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
widget->get_render_attribute_string( 'content-wrapper' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
widget->get_render_attribute_string( 'content' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> render_top_bar(); $this->render_message_bubble(); $this->render_send_button(); ?>
render_chat_button(); ?>
widget->add_render_attribute( 'layout', [ 'class' => $layout_classnames, 'id' => $this->settings['advanced_custom_css_id'], 'data-document-id' => get_the_ID(), 'aria-role' => 'dialog', ] ); } protected function add_content_wrapper_render_attribute() { $this->widget->add_render_attribute( 'content-wrapper', [ 'aria-hidden' => 'true', 'aria-label' => __( 'Links window', 'elementor' ), 'class' => 'e-contact-buttons__content-wrapper hidden', 'id' => 'e-contact-buttons__content-wrapper', ] ); } }