What is the difference between the component architecture and multi-transclusion model in AngularJS? -
i understand component architecture is, don't understand how different multi-transclusion model. can please explain?
the difference components used encapsulate logic , define how custom html element rendered. multi-transclusion is/can part of component. tells where arbitrary text/html/... placed when component rendered.
this useful if want create component layout application. think official documentation example that: https://docs.angularjs.org/api/ng/directive/ngtransclude#multi-slot-transclusion
Comments
Post a Comment