From 3b73b49c862563f92b678db4791a3fb82a9bd886 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 8 Feb 2014 12:05:20 +0100 Subject: TJuiResizable events --- .../pages/JuiControls/Samples/TJuiResizable/Home.page | 8 ++++++-- .../pages/JuiControls/Samples/TJuiResizable/Home.php | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php (limited to 'demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable') diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.page b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.page index b5a207c0..6c61f7df 100644 --- a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.page +++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.page @@ -15,8 +15,12 @@ Default options with a little css applied: - - Resize me! + + diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php new file mode 100644 index 00000000..435b8a9b --- /dev/null +++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php @@ -0,0 +1,16 @@ +getCallbackParameter()->size; + $this->label1->Text.="
Start: ".intval($size->width)." x ".intval($size->height); + } + + protected function resize1_stop($sender, $param) + { + $size=$param->getCallbackParameter()->size; + $this->label1->Text.="
Stop: ".intval($size->width)." x ".intval($size->height); + } +} \ No newline at end of file -- cgit v1.2.3