官术网_书友最值得收藏!

The API concept

MooTools is designed in such a way that instead of modifying the MooTools Core files, you use its API (Application Programming Interface) to utilize MooTools function. This makes MooTools easier to maintain your projects and makes it easily extensible.

A plugin is a JavaScript file that's dependent on MooTools but is not part of the standard MooTools code base. We'll learn about writing plugins in a later chapter, but for now, just think of plugins as MooTools extensions that do a specific function, such as hiding and showing a page element or managing browser cookies.

Note

It is important to note that—unless you know exactly what you're doing—you shouldn't modify the MooTools Core files. Even if you know what you're doing, it's best to keep the file "as is" so that it's standardized and can be easily updated.

主站蜘蛛池模板: 新乐市| 青铜峡市| 汉寿县| 英德市| 华阴市| 彭山县| 夏河县| 丽江市| 迭部县| 彰化县| 开封市| 砀山县| 沐川县| 永安市| 永吉县| 屯留县| 乌拉特前旗| 依安县| 惠来县| 饶平县| 滁州市| 南平市| 全椒县| 乐业县| 叙永县| 东丰县| 肃北| 奈曼旗| 会同县| 宜阳县| 唐海县| 循化| 兴安盟| 桐庐县| 安平县| 横峰县| 泸水县| 河北区| 忻州市| 洪洞县| 万山特区|