Hi,
I can’t find any document about “responsive” property of UI components.
Can I use this to build responsive UI?
Hi,
I can’t find any document about “responsive” property of UI components.
Can I use this to build responsive UI?
Hello, @thuylx
The first place where you can read about this property is our public documentation: link.
The second place is the JavaDoc for the Component
interface:
/**
* Is the component responsive?
*/
boolean isResponsive();
/**
* Set component to be responsive by width and height.
*
* If responsive flag is true then you can use conditional CSS rules that respond to size changes in the browser.
* You can set specific rules using "width-range" or "height-range" properties in CSS files.
*/
void setResponsive(boolean responsive);
Yes, you can use this property to build responsive UI.
Regards,
Daniil.