May I know that what are FRAGMENTS In SAP Fiori Application? And How can we use it?
Kindly provide important points and share your views on the above query.
Thanks in advance.
Instead of views we make use of fragment. If we create new view1 then we will have view1.xml and view1.js files under project folder in eclipse and all Dom manipulation related to view1 will be handled in view1.js
Now instead of view we create fragment let's say <frag name>."fragment.xml" is naming conventionNow fragment will not have .js files,
So all Dom manipulation will be handled in view controller.
You can find examples on fragments in sap ui5 demokit.
Sign up for STechies
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.