* Creates an array of KeyedTemplates from string * @param value The xml of the template to be parsed * @param exports Current context of the template
(value: string, context: any)
| 139 | * @param exports Current context of the template |
| 140 | */ |
| 141 | static parseMultipleTemplates(value: string, context: any): Array<KeyedTemplate> { |
| 142 | const dummyComponent = `<ListView><ListView.itemTemplates>${value}</ListView.itemTemplates></ListView>`; |
| 143 | return parseInternal(dummyComponent, context).component['itemTemplates']; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | /** |
no test coverage detected