Fabric.js camelize() Method Last Updated : 18 Jan, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report The camelize() method used to camelize a specified string. Syntax: camelize(string) Parameters: This method accepts a parameter as mentioned above and described below: string: This parameter holds the string to camelize. Return Value: This method returns the camelized version of the string. Example 1: JavaScript <!DOCTYPE html> <html> <head> <!-- Loading the FabricJS library --> <script src= "https://cdnjs.cloudflare.com/ajax/libs/fabric.js/3.6.2/fabric.min.js"> </script> </head> <body> <script type="text/javascript"> console.log(fabric.util.string.camelize("a-ab-abc")); </script> </body> </html> Output: aAbAbc Example 2: JavaScript <!DOCTYPE html> <html> <head> <!-- Loading the FabricJS library --> <script src= "https://cdnjs.cloudflare.com/ajax/libs/fabric.js/3.6.2/fabric.min.js"> </script> </head> <body> <script type="text/javascript"> console.log(fabric.util.string.camelize("geeks-for-geeks")); </script> </body> </html> Output: geeksForGeeks Reference: http://fabricjs.com/docs/fabric.util.string.html#.camelize Comment More infoAdvertise with us Next Article Fabric.js max() Method K Kanchan_Ray Follow Improve Article Tags : JavaScript Web Technologies Fabric.js Similar Reads Fabric.js capitalize() Method The capitalize() method used to capitalize a specified string. Syntax: capitalize(string, firstLetterOnly) Parameters: This method accept two parameters as mentioned above and described below: string: This parameter holds the string that need to capitalize.firstLetterOnly: This parameter is optional 1 min read Fabric.js add() Method The add() method is used to add some specified objects into a new collection and returns the newly created collection. Syntax: add(...object) Parameters: This method accepts a parameter as mentioned above and described below: object: This parameter holds the objects to add into a collection. Return 1 min read Fabric.js extend() Method The extend() method is used to create a copy of all the properties of the source objects over the destination object and return the destination object. Do not clone or extend fabric.Object subclasses. This is mostly for internal use and has extra handling for fabricJS objects, it skips the canvas pr 2 min read Fabric.js addClass() Method The addClass() method in Fabric.js is used to add the specified class to the specified HTML element. The HTML element in the page has to be selected first to pass this method. Syntax: addClass(element, className) Parameters: This method accept two parameters as mentioned above and described below: e 2 min read Fabric.js max() Method The max() method used to find the maximum value from the specified array. Syntax: max( array ) Parameters: This method accepts single parameter as mentioned above and described below: array: This parameter holds the array to iterate over. Return Value: This method returns the maximum value of the ar 1 min read Fabric.js min() Method The min() method is used to find the minimum value from the specified array. Syntax: min( array ) Parameters: This method accepts single parameter as mentioned above and described below: array: This parameter holds the array to iterate over. Return Value: This method returns the minimum value from t 1 min read Like