resizing
Dynamic Resizing Based on Screen Width
note
The following is only required if your component should dynamically change width based on screen size. For example, the slider component does this.
When the app creator resizes your component to within 50 pixels of either border, the component should dynamically resize to the width of the screen. Making this work in your code isn't hard, but it does require a few extra steps:
For more information on dynamic resizing, see the resizing section of the design documentation.