Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 designer-selection | |
| 2 ================== | |
| 3 | |
| 4 `designer-selection` renders a UI for manipulating a graphical element in a grap hics-editor style application. It consists of a bounding rectangle, and a config urable set of resize handles. | |
| 5 | |
| 6 `designer-selection` listens to mouse events so that it can be moved, but it doe sn't move itself, instead it fires `designer-selection-resize` events so that th e embedding program can choose how to respond to movements and resizes. | |
| 7 | |
| 8 Demo | |
| 9 ---- | |
| 10 | |
| 11 See [The demo](demo.html) for an example that just moves the selection to wherev er it requests. | |
| OLD | NEW |