# XWUISmartTextArea

Draft plus host-owned ghost text. This shell never calls a model. Accept/reject are methods.

## BasicUsage

Empty draft.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: BasicUsage
description: Empty draft.
```

## Ghost

Host-supplied completion.

```example
file: examples/Ghost.ts
html: examples/Ghost.html
title: Ghost
description: Host-supplied completion.
```

## Accept

Accept the ghost.

```example
file: examples/Accept.ts
html: examples/Accept.html
title: Accept
description: Accept the ghost.
```

## Reject

Drop the ghost.

```example
file: examples/Reject.ts
html: examples/Reject.html
title: Reject
description: Drop the ghost.
```

```api
```
