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

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.

主站蜘蛛池模板: 伽师县| 正镶白旗| 韩城市| 隆子县| 县级市| 前郭尔| 措美县| 永和县| 寿宁县| 巴南区| 阿坝| 淄博市| 哈密市| 邢台县| 靖宇县| 南宁市| 赫章县| 青龙| 丹阳市| 若尔盖县| 盈江县| 平山县| 西乌珠穆沁旗| 岢岚县| 凤凰县| 平安县| 台中县| 涿州市| 太保市| 理塘县| 北海市| 中江县| 马山县| 无为县| 辰溪县| 京山县| 闽清县| 鄂托克旗| 肥乡县| 武邑县| 台东市|