在线工具
网站地图    收藏    合作   
<

快捷菜单 返回顶部

fabric.js中文API

fabric.js中文在线API,fabric.js中文文档API大全

Namespace: string

fabric.util.string

字符串工具
Source:

Methods

(static) camelize(string) → {String}

骆驼是一根绳子
Parameters:
Name Type Description
string String 用绳子捆骆驼
Source:
Returns:
Camelized version of a string
Type
String

(static) capitalize(string, firstLetterOnlyopt) → {String}

将字符串大写
Parameters:
Name Type Attributes Description
string String 字符串大写
firstLetterOnly Boolean <optional>
如果为真,则只有第一个字母大写 其他字母保持不变,如果假的第一个字母大写 其他字母都转换成小写。
Source:
Returns:
Capitalized version of a string
Type
String

(static) escapeXml(string) → {String}

在字符串中转义XML
Parameters:
Name Type Description
string String 转义字符串
Source:
Returns:
Escaped version of a string
Type
String

(static) graphemeSplit(textstring) → {Array}

将字符串分成用户感知到的单个单位
Parameters:
Name Type Description
textstring String 转义字符串
Source:
Returns:
array containing the graphemes
Type
Array

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com