code: function operate(input, direct, method) {
      var node = input[0],
        state = /er/.test(method) ? _indeterminate : /bl/.test(method) ? _disabled : _checked,
        active = method == _update ? {
          checked: node[_checked],
          disabled: node[_disabled],
          indeterminate: input.attr(_indeterminate) == 'true' || input.attr(_determinate) == 'false'
        } : node[state];
  
      // Check, disable or indeterminate
      if (/^(ch|di|in)/.test(method) && !active) {
        on(input, state);
  
      // Uncheck, enable or determinate
      } else if (/^(un|en|de)/.test(method) && active) {
        off(input, state);
  
      // Update
      } else if (method == _update) {
  
        // Handle states
        for (var state in active) {
          if (active[state]) {
            on(input, state, true);
          } else {
            off(input, state, true);
          };
        };
  
      } else if (!direct || method == 'toggle') {
  
        // Helper or label was clicked
        if (!direct) {
          input[_callback]('ifClicked');
        };
  
        // Toggle checked state
        if (active) {
          if (node[_type] !== _radio) {
            off(input, state);
          };
        } else {
          on(input, state);
        };
      };
    }
docs: Do something with inputs