Thanks, but this isn't quite what I was looking for. That was one of
the first places I looked too, but this assumes it's a "one way" path.
I need it to go both ways. The user is able to move the panel (thus
updating the top, left, width, and height) which should write back to
the view model.
Templates don't work either:
<script type='text/html' id='panelTemplate'>
<div class='ui-draggable ui-resizable'
style='top: ${ top }; left: ${ left }; width: ${ width }px;
height: ${ height }px;'>
<!-- content goes here -->
</div>
</script>
I'd like to bind it in such a way that when the user sizes any of the
div elements (ie. the panels), that it would then update the
underlying viewModel using the some data binding on MOUSE UP.
Thanks for the tip anyway. Do you have any other ideas??
Regards,
Luc