For example,
php
Dropdownarrow_drop_down
[
['label' => 'DropdownA', 'url' => '/'],
['label' => 'DropdownB', 'url' => '#'],
],
'toggleTarget' => 'dropdown1'
]);
?>
Please make sure that you provide the trigger with a data-activates attribute and specify the value of this attribute
in the [[toggleTarget]] property of the widget.