SAPUI5 / OpenUI5: CSS for user control?

I am currently working on a custom control in SAPUI5 / OpenUI5, and I am wondering how I can get the required CSS in the application. Where would I put CSS code for my control? And how do I download it from management? I could not find anything in the documentation ....

Thanks and best regards, Daniel

+4
source share
2 answers

In this tutorial describes how to use CSS renderer in user controls.

If you do not use your own renderer, you can attach CSS as to any other control, as described here .

CSS, . html .

Edit:

jQuery.sap.includeStyleSheet() .

+3

. https://github.com/SAP/openui5/blob/master/docs/controllibraries.md

bootstrap sapui5 library.css (, "sap_bluecrystal" ).

+1

Source: https://habr.com/ru/post/1542186/


All Articles