mirror of
https://github.com/marko-js/marko.git
synced 2026-02-01 16:07:13 +00:00
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"tags": {
|
|
"*": {
|
|
"attributes": {
|
|
"w-bind": "string",
|
|
"w-widget": "string",
|
|
"w-config": "expression",
|
|
"w-el-id": "string",
|
|
"w-id": "string",
|
|
"w-event-*": {
|
|
"pattern": true,
|
|
"type": "custom",
|
|
"allow-expressions": false,
|
|
"preserve-name": true
|
|
}
|
|
},
|
|
"transformer": "./taglib/widgets-transformer.js"
|
|
},
|
|
"w-widget": {
|
|
"renderer": "./taglib/widget-tag.js",
|
|
"attributes": {
|
|
"path": "string",
|
|
"config": "expression",
|
|
"id": {
|
|
"type": "string",
|
|
"target-property": "assignedId"
|
|
}
|
|
},
|
|
"var": "widget",
|
|
"import-var": {
|
|
"_cfg": "data.widgetConfig"
|
|
}
|
|
},
|
|
"w-init-widgets": {
|
|
"renderer": "./taglib/init-widgets-tag.js",
|
|
"attributes": {
|
|
"function-name": "string",
|
|
"include-script-tag": "boolean"
|
|
}
|
|
}
|
|
}
|
|
} |