WebContent/resource/Javascript/SuperTextarea/jquery.supertextarea.min.js

(开头部分) 12KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**
 * Supertextarea
 * Created by Explosion Pills <explosion-pills@aysites.com>
 * Report Bugs: <bugs@truthanduntruth.com>
 * Documentation: http://explosion-pills.com/development/jquery/plugins/supertextarea/
 * Copyright 2010
 */
(function ($) {
   $.fn.supertextarea = function (faith) {
      /**
       * The supertextarea
       */
      var area = $(this);
      /**
       * The container of the supertextarea
       */
      var cont = area.parent();

      /**
       * Defaults
       */
      var hope = {
         /**
          * Minimum width
          */
         minw: area.width()
         /**
          * maximum width
          */
         , maxw: cont.width()
         /**
          * minimum height
          */
         , minh: area.height()
         /**
          * maximum height
          */
         , maxh: cont.height()
         /**
          * replace tab key presses with actual tabs
          */
         , tabr: {
            /**
             * turn this setting on
             */
            use: true
            /**
             * change tabs into spaces
             */
            , space: true
            /**
             * this many spaces
             */
            , num: 3
         }
         /**
          * supertextarea css
          */
         , css: {'color': 'black'}
         /**
后面还有 367 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。