docs: function makeButton(classes, content, selected, size, color, inlineType, icon, inner, toggle,
    func, useCapture, listners) {
    let workClasses = ["btn"];
  
    switch (size) {
      case "extra-small":
        workClasses.push("btn-xs");
        break;
      case "small":
        workClasses.push("btn-sm");
        break;
      case "large":
        workClasses.push("btn-lg");
        break;
      default:
    }
  
    switch (color) {
      case "primary":
        workClasses.push("btn-primary");
        break;
      case "info":
        workClasses.push("btn-info");
        break;
      case "success":
        workClasses.push("btn-success");
        break;
      case "warning":
        workClasses.push("btn-warning");
        break;
      case "error":
        workClasses.push("btn-error");
        break;
      default:
    }
  
    switch (inlineType) {
      case "inline":
        workClasses.push("inline-block");
        break;
      case "inline-tight":
        workClasses.push("inline-block");
        break;
      default:
    }
  
    if (selected === true) {
      workClasses.push("selected");
    }
    if (icon !== null && icon !== "no-icon") {
      workClasses = workClasses.concat(["icon", icon]);
    }
  
    let ele = createElementWithClass("button", workClasses.concat(classes));
    if (content !== null) {
      ele.textContent = content;
    }
    if (inner !== null) {
      ele.innerHTML = inner;
    }
    if (toggle !== null) {
      setToggleState(ele, toggle);
      listners.push(setEventListener(ele, "click", changeToggleState(ele), useCapture));
    }
    if (!isEmptyObject(func)) {
      listners.push(setEventListener(ele, "click", func, useCapture)); //spaceを押すとclickイベントが起こる
    }
    return ele;
  }