# XWUIGameMarketBoard

Market/auction browser. It renders a price-colored grid of `listings` (each `id`, `item`, `price`, `seller`, `quantity`, `timeLeft`) with a search bar, category filter buttons, and a sort dropdown, and lets the player bid on individual rows. Drive it with `listings`, the current `filter` query, and the active `sort`; `conf_comp` toggles `showSearch`/`showFilters` and supplies the `sortOptions` (default `["Price Low", "Price High", "Time Left", "Name"]`). `search(query)` re-filters the grid and `bid(listingId)` fires the `xwui-market-bid` event.

## Basic Usage

Mounts the market board with its searchable, sortable listing grid.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts the market board with a filterable listing grid, search bar, sort controls, and bid actions.
```

## Simple List

A pared-back board with the filter toolbar hidden via showFilters:false, keeping only the search bar.

```example
file: examples/SimpleList.ts
html: examples/SimpleList.html
title: Simple List
description: A lean market grid with showFilters:false, leaving free-text search but no sort controls.
```

## Pre-Filtered Search

Opens with a sort preselected, then calls search() after mount to filter the grid down to ore listings.

```example
file: examples/PreFiltered.ts
html: examples/PreFiltered.html
title: Pre-Filtered Search
description: A market board that pre-seeds the sort and calls search() on load to filter the listings.
```

```api
```
