File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 11if ( ! javaxt ) var javaxt = { } ;
2- if ( ! javaxt . dhtml ) javaxt . dhtml = { } ;
2+ if ( ! javaxt . express ) javaxt . express = { } ;
33
44//******************************************************************************
55//** Thumbnail Editor
66//*****************************************************************************/
77/**
8- * Used to resize and crop an image
8+ * Simple image editor used to create a thumbnail of an image. Provides
9+ * controls to center, resize, and crop a source image.
910 *
1011 ******************************************************************************/
1112
12- javaxt . dhtml . ThumbnailEditor = function ( parent , config ) {
13+ javaxt . express . ThumbnailEditor = function ( parent , config ) {
1314
1415 var me = this ;
1516 var defaultConfig = {
@@ -135,6 +136,10 @@ javaxt.dhtml.ThumbnailEditor = function(parent, config) {
135136 //**************************************************************************
136137 //** setImage
137138 //**************************************************************************
139+ /** Used to update the panel with a source image.
140+ * @param src Image source (url or Base64 image data) used as the "src"
141+ * attribute in the main image panel.
142+ */
138143 this . setImage = function ( src ) {
139144 if ( ! src ) return ;
140145
You can’t perform that action at this time.
0 commit comments