mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
121 lines
3.6 KiB
JSON
121 lines
3.6 KiB
JSON
{
|
|
"tags": {
|
|
"*": {
|
|
"attributes": {
|
|
"global-attribute": "boolean"
|
|
}
|
|
},
|
|
"test-hello": "taglib/hello-tag.json",
|
|
"test-simpleHello": {
|
|
"renderer": "./taglib/simple-hello-tag.js",
|
|
"attributes": {
|
|
"name": "string",
|
|
"adult": "boolean"
|
|
}
|
|
},
|
|
"test-tabs": {
|
|
"renderer": "./taglib/tabs-tag.js",
|
|
"var": "tabs"
|
|
},
|
|
"test-tab": {
|
|
"renderer": "./taglib/tab-tag.js",
|
|
"import-var": {
|
|
"tabs": "tabs"
|
|
},
|
|
"attributes": {
|
|
"title": "string"
|
|
}
|
|
},
|
|
"test-tabs-new": {
|
|
"renderer": "./taglib/tabs-new-tag.js",
|
|
"body-function": "buildTabs(__tabsHelper)"
|
|
},
|
|
"test-tab-new": {
|
|
"renderer": "./taglib/tab-new-tag.js",
|
|
"import-var": {
|
|
"tabs": "__tabsHelper"
|
|
},
|
|
"attributes": {
|
|
"title": "string"
|
|
}
|
|
},
|
|
"test-dynamic-attributes": {
|
|
"renderer": "./taglib/dynamic-attributes-tag.js",
|
|
"attributes": {
|
|
"test": "string",
|
|
"*": {
|
|
"type": "string",
|
|
"target-property": "dynamicAttributes"
|
|
}
|
|
}
|
|
},
|
|
"test-dynamic-attributes2": {
|
|
"renderer": "./taglib/dynamic-attributes-tag2.js",
|
|
"attributes": {
|
|
"test": "string",
|
|
"*": "string"
|
|
}
|
|
},
|
|
"test-dynamic-attributes3": {
|
|
"renderer": "./taglib/dynamic-attributes-tag3.js",
|
|
"attributes": {
|
|
"test": "string",
|
|
"*": {
|
|
"type": "string",
|
|
"target-property": null
|
|
}
|
|
}
|
|
},
|
|
"test-popover": {
|
|
"renderer": "./taglib/popover-tag.js",
|
|
"attributes": {
|
|
"title": "string",
|
|
"content": "string"
|
|
}
|
|
},
|
|
"test-page-title": {
|
|
"template": "./taglib/page-title-tag.marko",
|
|
"attributes": {
|
|
"title": "string"
|
|
}
|
|
},
|
|
"test-default-attributes": {
|
|
"renderer": "./taglib/default-attributes-tag.js",
|
|
"attributes": {
|
|
"prop1": "string",
|
|
"prop2": "integer",
|
|
"default1": {
|
|
"type": "string",
|
|
"default-value": "Default1"
|
|
},
|
|
"default2": {
|
|
"type": "integer",
|
|
"default-value": 100
|
|
}
|
|
}
|
|
},
|
|
"test-template-tag-dynamic-attributes": {
|
|
"template": "./taglib/hello.marko"
|
|
},
|
|
"test-root-renderer": {
|
|
"renderer": "./",
|
|
"attributes": {
|
|
"name": "string"
|
|
}
|
|
},
|
|
"test-circular-renderer-a": {
|
|
"renderer": "./taglib/test-circular-renderer-a/renderer"
|
|
},
|
|
"test-circular-renderer-b": {
|
|
"renderer": "./taglib/test-circular-renderer-b/renderer"
|
|
},
|
|
"test-circular-template-a": {
|
|
"template": "./taglib/test-circular-template-a/template.marko"
|
|
},
|
|
"test-circular-template-b": {
|
|
"template": "./taglib/test-circular-template-b/template.marko"
|
|
}
|
|
},
|
|
"tags-dir": "./taglib/scanned-tags",
|
|
"taglib-imports": ["./package.json"]
|
|
} |