|
|
@@ -53,6 +53,8 @@ export default class DropdownButtonView extends ButtonView {
|
|
|
}
|
|
|
} );
|
|
|
|
|
|
+ this.withArrow = true;
|
|
|
+
|
|
|
// The DropdownButton interface expects the open event upon which will open the dropdown.
|
|
|
this.delegate( 'execute' ).to( this, 'open' );
|
|
|
}
|
|
|
@@ -63,7 +65,9 @@ export default class DropdownButtonView extends ButtonView {
|
|
|
render() {
|
|
|
super.render();
|
|
|
|
|
|
- this.children.add( this.arrowView );
|
|
|
+ if ( this.withArrow ) {
|
|
|
+ this.children.add( this.arrowView );
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|