New Features of ZK 8.6.0"
m (→Slider Knob) |
m (→Slider Knob) |
||
Line 100: | Line 100: | ||
= [[ZK_Component_Reference/Input/Slider| Slider Knob]] = | = [[ZK_Component_Reference/Input/Slider| Slider Knob]] = | ||
<!-- http://tracker.zkoss.org/browse/ZK-3961 --> | <!-- http://tracker.zkoss.org/browse/ZK-3961 --> | ||
− | {{ZK | + | {{ZK EE}} |
− | Set the <tt>mold</tt> attribute as <tt>knob</tt> on the Slider component to enable the slider knob. The slider then acts like a knob presenting the values. The knob | + | Set the <tt>mold</tt> attribute as <tt>knob</tt> on the Slider component to enable the slider knob. The slider then acts like a knob presenting the values. The knob can be controlled by dragging the wheel, clicking the mouse and entering a value within the center of the textbox. |
[[File:knob-slider.gif | center]] | [[File:knob-slider.gif | center]] |
Revision as of 01:50, 29 October 2018
Hawk Chen, Engineer, Potix Corporation
2018
ZK 8.6.0
Introduction
Having rich and user-friendly components was one of the main reasons that developers love ZK. Now, with the release of the 8.6 version, we aim at creating more integrated and modernernized features that excites your users. You will come across enhanced multimedia and input widgets such as video clips, image cropper, toggle switch, signature and slider knob.
Expect a better look and feel of different applications with improved efficiency. With Iceblue Compact, you can easily create a refreshed theme without losing the essentials.
Highlights:
- 10+ New Components
- Breeze-compatible Compact Theme
ZK 8.6 contains versatile components that is exclusively designed for modern users with improved usability, functions, and features.
Download and Demo
Highlighted Features
Refresh Theme without a Change - Compact Theme
The new default Iceblue theme from 8.5 has brought you with a refreshed, ultra modern look and feel. For users upgrading from an older version, Iceblue Compact is now available bringing you a same refreshed modern look and feel, along with breeze-compatible font size, paddings, and margins. Yes, this means zero code upgrade!
For theme-pack theme users, all 24 theme pack themes have their corresponding compact theme. To apply a theme, just include the theme pack jar and specify the compact theme name, for example:
<library-property>
<name>org.zkoss.theme.preferred</name>
<value>iceblue_c</value>
</library-property>
- Each compact theme is named after the original theme name appended with "_c". For example, iceblue_c is the compact version of iceblue theme.
Please check them out at Theme Demo
Ios Style Switch and Toggle
- Available for ZK:
Checkbox now supports 2 new molds: switch mold and toggle mold.
Ios Style Switch
Toggle
Tri-state Checkbox
- Available for ZK:
In addition to Checked and Unchecked, the Checkbox component now supports indeterminate states.
Give Me a Rating
- Available for ZK:
The Rating component allows users to click an icon and rate. It also has read-only and disabled states for presenting rated scores.
Toolbar Accommodates More Buttons
- Available for ZK:
When you set overflowPopup="true", a toolbar will display ellipsis (...) on the right. When hovering over the ellipsis, it will display a popup which contains the buttons that weren't able to fit into the toolbar.
- Available for ZK:
With the help of NavigationModel and <apply>, we can construct a multi-level page navigation mechanism and navigate among those pages by loading the template.
Multi-Screen Layout - Goldenlayout
- Available for ZK:
GoldenLayout is a multi-layout, which displays panels as a docker type. You are able to drag a panel to dock at 4 regions (north, east, south, west) or to stack on another panel. This component is suitable and provides for a workspace-like interface.
Slider Knob
- Available for ZK:
Set the mold attribute as knob on the Slider component to enable the slider knob. The slider then acts like a knob presenting the values. The knob can be controlled by dragging the wheel, clicking the mouse and entering a value within the center of the textbox.
Smile! - Camera
- Available for ZK:
Developers can control the Camera component to take a snapshot with the camera that a browser can access.
Record a Clip
- Available for ZK:
The Camera component can also record a clip with the camera that a browser can access.
Video Player
- Available for ZK:
With this component, you can build your own youtube or a online school.
Crop an Uploaded Image
- Available for ZK:
This component allows users to crop a selected range of an image. Then a developer can process the selected image further, e.g. show it on the page.
Show Your Organization - Organigram
- Available for ZK:
The component can render a organizational diagram upon a TreeModel.
Sign Here, Please
- Available for ZK:
Signature supports singature pad on the desktop and mobile browsers. Developers can setup pen size, pen color, and background color etc. Users can undo, save and clear their signatres.
Display a Barcode
- Available for ZK:
A barcode component is used to generate a barcode at the browser, and decode the barcode at the server side.
<barcode type="qr" value="https://www.zkoss.org/" height="100px"/>
<barcode type="code128" value="https://www.zkoss.org/" height="100px"/>
Scan a Barcode
- Available for ZK:
A Barcodescanner component is used to scan and decode the barcode at the client side.
Other Enhancements
Guide Users with a Pop-up Menuitem
- Available for ZK:
If you want to guide new users to click a menuitem or open a menupopup for them, ZK provide a method to pop up the menuitem in front of users.
menu.getMenupopup().setActive(i);
Web Fragment
- Available for ZK:
We now separate ZK web fragment support into another artifact, so that you can decide to include it or not according to your requirement.
Improved Rendering Speed
We improve the rendering speed when opening a tree node and a model change of a chosenbox.
ZK grows with you. Feel free to share with us your feedback or suggestion.
Comments
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |