All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sections.imageRotateAndResize.basicUsage.xhtml Maven / Gradle / Ivy

There is a newer version: 1.1.0.6-jre15
Show newest version


    
        
            
        
        
            The widget provides client side methods which can be called with Javascript. 
Following methods can be used:
  • rotateLeft(degree) - Rotates the image to the left direction.
  • rotateRight(degree) - Rotates the image to the right direction.
  • resize(width,height) - Resizes the image to the given width and height.
  • scale(scaleFactor) - Scales the image with the given factor.
  • restoreDefaults() - Restores the default image.
${showcase:getFileContent('/sections/imageRotateAndResize/example-basicUsage.xhtml')} ${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/ImageController.java')}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy