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

Popular posts from this blog

php - Auto increment employee ID -

php - isset function not working properly -

python - Evaluating the next line in a For Loop while in the current iteration -