Examples
List of modules
-
Ace Editor
Affix
Alert
Audio
Button
Carousel
Char Counter
Color Picker
Data Table
Datepicker
Diagram Builder
Dropdown
Form Builder
Form Validator
I/O
Image Cropper
Image Viewer
Modal
Node
Pagination
Popover
Progress Bar
Rating
Scheduler
Scrollspy
Sortable Layout
Sortable List
Tabview
Timepicker
Toggler
Toolbar
Tooltip
TreeView
Video
Viewport
Image Cropper
<img id="myImage" src="https://alloyui.com/image-cropper/img/crop-image.jpg" />
YUI().use(
'aui-image-cropper',
function(Y) {
new Y.ImageCropper(
{
cropHeight: 200,
cropWidth: 200,
srcNode: '#myImage',
x: 50,
y: 50
}
).render();
}
);