WidgetProps

Interface

The Widget component props. Included in AllWidgetProps.

Inheritance: WidgetPropsOmit<React.HTMLAttributes<HTMLDivElement>"style">

Properties

PropertyTypeNotes
boolean

Whether the layout item's width/height is auto.

string

The layout ID that the widget is placed in.

string

The layout item id that the widget is placed in. A widget must be placed in a layout item, and a layout has multiple layout items so it can hold multiple widgets.

string

The widget ID.

autoWidth

optional
Interface Property
autoWidth: boolean

Whether the layout item's width/height is auto.

layoutId

optional
Interface Property
layoutId: string

The layout ID that the widget is placed in.

layoutItemId

optional
Interface Property
layoutItemId: string

The layout item id that the widget is placed in. A widget must be placed in a layout item, and a layout has multiple layout items so it can hold multiple widgets.

widgetId

Interface Property
widgetId: string

The widget ID.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close