Authors:Yoshiroh Kamiyama
Developers:Yoshiroh Kamiyama


dojox/mobile/RoundRect is a simple round rectangle container for any HTML and/or widgets. You can achieve the same appearance by just applying the -webkit-border-radius style to a div tag. However, if you use RoundRect, you can get a round rectangle even on non-CSS3 browsers such as (older) IE.

Constructor Parameters

Parameter Type Default Description
shadow Boolean false If true, adds a shadow effect to the container element.


Declarative example

<div data-dojo-type="dojox/mobile/RoundRect" data-dojo-props='shadow:true'>
  This module provides some widgets that can be used to build web-based
  applications for mobile devices such as iPhone or Android.
Error in the documentation? Can’t find what you are looking for? Let us know!