summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php')
-rw-r--r--demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php
index 435b8a9b..e4f126e1 100644
--- a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php
+++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiResizable/Home.php
@@ -13,4 +13,19 @@ class Home extends TPage
$size=$param->getCallbackParameter()->size;
$this->label1->Text.="<br/>Stop: ".intval($size->width)." x ".intval($size->height);
}
+
+ protected function check1($sender, $param)
+ {
+ $this->resize1->getOptions()->alsoResize = $sender->getChecked() ? '#box' : '';
+ }
+
+ protected function check2($sender, $param)
+ {
+ $this->resize1->getOptions()->animate = TPropertyValue::ensureString($sender->getChecked());
+ }
+
+ protected function check3($sender, $param)
+ {
+ $this->resize1->getOptions()->grid = $sender->getChecked() ? '30' : false;
+ }
} \ No newline at end of file