/** * Starts the accordion and its configuration * @param string $selector jQuery Selector * @param array() $configurations Array. See the options and events in * http://jqueryui.com/demos/selectable/#options * http://jqueryui.com/demos/selectable/#events */ function ui_selectable_support_to($selector, $configurations = array()) { $configurations = get_default_widget_configuration('app_ys_jquery_ui_selectable_defaults', $configurations); $pattern = _ui_selectable_pattern($configurations); init_ui_sintax('selectable', $pattern, $selector, $configurations); }
/** * Starts the droppable and its configuration * @param string $selector jQuery Selector * @param array() $configurations Array. See the options and events in * http://jqueryui.com/demos/droppable/#options * http://jqueryui.com/demos/droppable/#events * @param string $html_attributes Additional options parameter (html attributes) */ function ui_draggable_support_to($selector, $configurations = array(), $html_attributes = null) { $configurations = get_default_widget_configuration('app_ys_jquery_ui_draggable_defaults', $configurations); $pattern = _ui_draggable_pattern($configurations); init_ui_sintax('draggable', $pattern, $selector, $configurations); }