Direction Control (Flexbox)
Use the direction control to allow users to set the flex-direction CSS property of your CSS flexbox layout.
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) ], ], ];}Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.