Skip to content

Commit

Permalink
Add Data URL as a supported value type for gltf-model component
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Jan 14, 2025
1 parent b700ca6 commit 86854af
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/components/gltf-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ file.

## Values

| Type | Description |
|----------|--------------------------------------|
| selector | Selector to an `<a-asset-item>` |
| string | `url()`-enclosed path to a glTF file |
| Type | Description |
|----------|---------------------------------------------|
| selector | Selector to an `<a-asset-item>` |
| string | `url()`-enclosed path to a glTF file |
| Data URL | data:application/octet-stream;base64,<data> |

## Events

Expand Down

0 comments on commit 86854af

Please sign in to comment.