Skip to content

Commit b5e57f0

Browse files
Site changes [skip-ci]
1 parent 15acff4 commit b5e57f0

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

_data/extensions/extension-rive_rive.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,26 @@
467467
]
468468
},
469469
{
470-
"doc": "The name of the asset file to replace with. E.g. \"/path/to/file.png\"",
471-
"name": "asset_path",
470+
"doc": "A table of options containing",
471+
"name": "options",
472+
"parameters": [
473+
{
474+
"doc": "The path of the asset file to replace with. E.g. \"/path/to/file.png\"",
475+
"name": "path",
476+
"types": [
477+
"string"
478+
]
479+
},
480+
{
481+
"doc": "The payload of the asset file to replace with. E.g. a .png binary file. Takes precedence over the `path` option.",
482+
"name": "payload",
483+
"types": [
484+
"string"
485+
]
486+
}
487+
],
472488
"types": [
473-
"string"
489+
"table"
474490
]
475491
}
476492
],

0 commit comments

Comments
 (0)