get styles() {
      return this.width ? {
        width: this.width
      } : {
        flex: "auto"
      };
    }
@class

<h3 class="comment-api-title">Overview</h3>
The <code>ui5-toolbar-spacer</code> is an element, used for taking needed space for toolbar items to take 100% width.
It takes no space in calculating toolbar items width.

@constructor
@author SAP SE
@alias sap.ui.webc.main.ToolbarSpacer
@extends sap.ui.webc.main.ToolbarItem
@tagname ui5-toolbar-spacer
@abstract
@since 1.17.0
@implements sap.ui.webc.main.IToolbarItem
@public