天天看点

fragment in UI5 Smart Template and directive in Angular

在Jerry看来UI5里的fragment提供的功能是Angular directive里的一个子集,即layout的重用。

UI5 fragment

See Jerry’s blog My understanding about how object page in Smart Template is rendered

Angular directive

以数字创新空间做的show case为例。

下列红色区域是通过product-list这个directive来实现的:

fragment in UI5 Smart Template and directive in Angular
fragment in UI5 Smart Template and directive in Angular
fragment in UI5 Smart Template and directive in Angular

继续阅读