کنترل Direction (Flexbox)
از کنترل Direction استفاده کنید تا به کاربران اجازه دهید ویژگی flex-direction CSS را در طرحبندی CSS flexbox تنظیم کنند.
public function set_controls() {
$this->controls['direction'] = [ // Setting key
'tab' => 'content',
'label' => esc_html__( 'Direction', 'bricks' ),
'type' => 'direction',
'css' => [
[
'property' => 'flex-direction',
'selector' => '.flexbox-wrapper',
// 'id' => '', // Leave 'id' empty to apply to .flexbox-wrapper directly (@since 1.5.6)
],
],
];
}