← All changes
|
modules/atomic-widgets/elements/atomic-tabs/atomic-tabs-menu/atomic-tabs-menu.php
+5
-0
4.2.0-dev2
→
4.3.1
View file →
| @@ -2,8 +2,9 @@ | ||
| 2 | 2 | namespace Elementor\Modules\AtomicWidgets\Elements\Atomic_Tabs\Atomic_Tabs_Menu; |
| 3 | 3 | |
| 4 | 4 | use Elementor\Modules\AtomicWidgets\Elements\Base\Atomic_Element_Base; |
| 5 | 5 | use Elementor\Modules\AtomicWidgets\Elements\Base\Has_Element_Template; |
| 6 | +use Elementor\Modules\AtomicWidgets\Elements\Base\Html_Tag_Computer; | |
| 6 | 7 | use Elementor\Modules\AtomicWidgets\PropTypes\Primitives\String_Prop_Type; |
| 7 | 8 | use Elementor\Modules\AtomicWidgets\Styles\Style_Definition; |
| 8 | 9 | use Elementor\Modules\AtomicWidgets\Styles\Style_Variant; |
| 9 | 10 | use Elementor\Modules\AtomicWidgets\Controls\Section; |
| @@ -53,8 +54,12 @@ | ||
| 53 | 54 | public function define_initial_attributes(): array { |
| 54 | 55 | return [ |
| 55 | 56 | 'role' => 'tablist', |
| 56 | 57 | ]; |
| 58 | + } | |
| 59 | + | |
| 60 | + public static function get_computed_html_tag( array $settings ): string { | |
| 61 | + return Html_Tag_Computer::compute( $settings, 'div' ); | |
| 57 | 62 | } |
| 58 | 63 | |
| 59 | 64 | protected static function define_props_schema(): array { |
| 60 | 65 | return [ |