public function before_render()
{
$is_inner = $this->get_data('isInner');
$column_type = !empty($is_inner) ? 'inner' : 'top';
$settings = $this->get_settings();
$this->add_render_attribute('wrapper', 'class', ['elementor-column', 'elementor-element', 'elementor-element-' . $this->get_id(), 'elementor-col-' . $settings['_column_size'], 'elementor-' . $column_type . '-column']);
foreach (self::get_class_controls() as $control) {
if (empty($settings[$control['name']])) {
continue;
}
if (!$this->is_control_visible($control)) {
continue;
}
$this->add_render_attribute('wrapper', 'class', $control['prefix_class'] . $settings[$control['name']]);
}
if (!empty($settings['animation'])) {
$this->add_render_attribute('wrapper', 'data-animation', $settings['animation']);
}
$this->add_render_attribute('wrapper', 'data-element_type', self::get_name());
?>
<div <?php
echo $this->get_render_attribute_string('wrapper');
?>
>
<div class="elementor-column-wrap<?php
if ($this->get_children()) {
echo ' elementor-element-populated';
}
?>
">
<div class="elementor-widget-wrap">
<?php
}