Applies drag handles to an element or component to make it resizable. The drag handles are inserted into the element
(or component's element) and positioned absolute.
Textarea and img elements will be wrapped with an additional div because these elements do not support child nodes.
The original element can be accessed through the originalTarget property.
Here is the list of valid resize handles:
Here's an example showing the creation of a typical Resizer: