代码拉取完成,页面将自动刷新
同步操作将从 element-plus/doc-archive 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[243],{
/***/ 987:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.prod.js
var vue_esm_browser_prod = __webpack_require__(0);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/jp/input-number.md?vue&type=template&id=5667a5ad
const _hoisted_1 = {
class: "content element-doc"
};
const _hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("数値入力 ");
const _hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "カスタマイズ可能な範囲で数値を入力します。", -1);
const _hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("基本的な使い方 ");
const _hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "<el-input-number>"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 要素の "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "v-model"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" に変数をバインドすれば設定完了です。")])], -1);
const _hoisted_6 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-input-number\n v-model=\"num\"\n @change=\"handleChange\"\n :min=\"1\"\n :max=\"10\"\n ></el-input-number>\n</template>\n<script>\n export default {\n data() {\n return {\n num: 1,\n }\n },\n methods: {\n handleChange(value) {\n console.log(value)\n },\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const num = ref(1);\n const handleChange = (value) => {\n console.log(value);\n };\n return {\n num,\n handleChange,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("無効化 ");
const _hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "disabled"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性には "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" を渡し、値が "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "true"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" の場合はコンポーネントを無効にする。値を範囲内で制御したい場合は、"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "min"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性を追加して最小値を設定し、"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "max"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性を追加して最大値を設定することができる。デフォルトでは、最小値は "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "0"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" である。")])], -1);
const _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-input-number v-model=\"num\" :disabled=\"true\"></el-input-number>\n</template>\n<script>\n export default {\n data() {\n return {\n num: 1,\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const num = ref(1);\n return {\n num,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("ステップ ");
const _hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "インクリメンタルステップを定義できます。", -1);
const _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("ステップを設定するために "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "step"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性を追加する。")])], -1);
const _hoisted_13 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-input-number v-model=\"num\" :step=\"2\"></el-input-number>\n</template>\n<script>\n export default {\n data() {\n return {\n num: 5,\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const num = ref(5);\n return {\n num,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_14 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("厳密なステップ ");
const _hoisted_15 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "step-strictly"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性は "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" を受け付ける。この属性が "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "true"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" の場合、入力値は step の倍数にしかならない。")])], -1);
const _hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-input-number v-model=\"num\" :step=\"2\" step-strictly></el-input-number>\n</template>\n<script>\n export default {\n data() {\n return {\n num: 2,\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const num = ref(2);\n return {\n num,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("精度 ");
const _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("入力値の精度を設定するために "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "precision"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性を追加する。")])], -1);
const _hoisted_19 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-input-number\n v-model=\"num\"\n :precision=\"2\"\n :step=\"0.1\"\n :max=\"10\"\n ></el-input-number>\n</template>\n<script>\n export default {\n data() {\n return {\n num: 1,\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const num = ref(1);\n return {\n num,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_20 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", {
class: "tip"
}, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("精度 "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "precision"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" の値は非負整数でなければならず、"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "step"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" の小数点以下であってはならない。")])], -1);
const _hoisted_21 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("サイズ ");
const _hoisted_22 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("追加のサイズを設定するには、属性 "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "size"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" で "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "medium"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "small"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "mini"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" を使用します。")], -1);
const _hoisted_23 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-input-number v-model=\"num1\"></el-input-number>\n <el-input-number size=\"medium\" v-model=\"num2\"></el-input-number>\n <el-input-number size=\"small\" v-model=\"num3\"></el-input-number>\n <el-input-number size=\"mini\" v-model=\"num4\"></el-input-number>\n</template>\n<script>\n export default {\n data() {\n return {\n num1: 1,\n num2: 1,\n num3: 1,\n num4: 1,\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const num1 = ref(1);\n const num2 = ref(2);\n const num3 = ref(3);\n const num4 = ref(4);\n return {\n num1,\n num2,\n num3,\n num4,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_24 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("位置制御 ");
const _hoisted_25 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("コントロールボタンの位置を決めるには "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "controls-position"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" を設定します。")])], -1);
const _hoisted_26 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-input-number\n v-model=\"num\"\n controls-position=\"right\"\n @change=\"handleChange\"\n :min=\"1\"\n :max=\"10\"\n ></el-input-number>\n</template>\n<script>\n export default {\n data() {\n return {\n num: 1,\n }\n },\n methods: {\n handleChange(value) {\n console.log(value)\n },\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const num = ref(1);\n const handleChange = (value) => {\n console.log(value);\n };\n return {\n num,\n handleChange,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_27 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("属性 ");
const _hoisted_28 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Attribute</th><th>Description</th><th>Type</th><th>Accepted Values</th><th>Default</th></tr></thead><tbody><tr><td>modelValue / v-model</td><td>バインディング値</td><td>number / undefined</td><td>—</td><td>0</td></tr><tr><td>min</td><td>最小許容値</td><td>number</td><td>—</td><td><code>-Infinity</code></td></tr><tr><td>max</td><td>最大許容値</td><td>number</td><td>—</td><td><code>Infinity</code></td></tr><tr><td>step</td><td>インクリメンタルステップ</td><td>number</td><td>—</td><td>1</td></tr><tr><td>step-strictly</td><td>入力値がステップの倍数でなければならないかどうか</td><td>boolean</td><td>—</td><td>false</td></tr><tr><td>precision</td><td>入力値精度</td><td>number</td><td>—</td><td>—</td></tr><tr><td>size</td><td>コンポーネントのサイズ</td><td>string</td><td>large/medium/small/mini</td><td>large</td></tr><tr><td>disabled</td><td>コンポーネントが無効化されているかどうか</td><td>boolean</td><td>—</td><td>false</td></tr><tr><td>controls</td><td>コントロールボタンを有効にするかどうか</td><td>boolean</td><td>—</td><td>true</td></tr><tr><td>controls-position</td><td>操作ボタンの位置</td><td>string</td><td>right</td><td>-</td></tr><tr><td>name</td><td>ネイティブ入力の <code>name</code> と同じ</td><td>string</td><td>—</td><td>—</td></tr><tr><td>label</td><td>ラベルテキスト</td><td>string</td><td>—</td><td>—</td></tr><tr><td>placeholder</td><td>インプット内のプレースホルダー</td><td>string</td><td>-</td><td>-</td></tr></tbody></table>", 1);
const _hoisted_29 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("イベント ");
const _hoisted_30 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Event Name</th><th>Description</th><th>Parameters</th></tr></thead><tbody><tr><td>change</td><td>値が変更されたときにトリガされる</td><td>currentValue, oldValue</td></tr><tr><td>blur</td><td>インプットがぼやけときにトリガされる</td><td>(event: Event)</td></tr><tr><td>focus</td><td>インプットがフォーカスされたときにトリガされる</td><td>(event: Event)</td></tr></tbody></table>", 1);
const _hoisted_31 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("方法 ");
const _hoisted_32 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Method</th><th>Description</th><th>Parameters</th></tr></thead><tbody><tr><td>focus</td><td>入力要素に焦点を当てます</td><td>-</td></tr><tr><td>blur</td><td>入力要素をフォーカスを取り除きます</td><td>—</td></tr></tbody></table>", 1);
function input_numbervue_type_template_id_5667a5ad_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_app_link = Object(vue_esm_browser_prod["resolveComponent"])("app-link");
const _component_app_heading = Object(vue_esm_browser_prod["resolveComponent"])("app-heading");
const _component_element_demo0 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo0");
const _component_demo_block = Object(vue_esm_browser_prod["resolveComponent"])("demo-block");
const _component_element_demo1 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo1");
const _component_element_demo2 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo2");
const _component_element_demo3 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo3");
const _component_element_demo4 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo4");
const _component_element_demo5 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo5");
const _component_element_demo6 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo6");
const _component_right_nav = Object(vue_esm_browser_prod["resolveComponent"])("right-nav");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("section", _hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "shu-zhi-ru-li",
content: "数値入力",
href: "#shu-zhi-ru-li",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#shu-zhi-ru-li"
})]),
_: 1
}), _hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "ji-ben-de-nashi-ifang",
content: "基本的な使い方",
href: "#ji-ben-de-nashi-ifang",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#ji-ben-de-nashi-ifang"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo0)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_6]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_5]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "wu-xiao-hua",
content: "無効化",
href: "#wu-xiao-hua",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_7, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#wu-xiao-hua"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo1)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_9]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_8]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "sutetupu",
content: "ステップ",
href: "#sutetupu",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_10, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#sutetupu"
})]),
_: 1
}), _hoisted_11, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo2)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_13]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_12]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "yan-mi-nasutetupu",
content: "厳密なステップ",
href: "#yan-mi-nasutetupu",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_14, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#yan-mi-nasutetupu"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo3)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_16]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_15]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "jing-du",
content: "精度",
href: "#jing-du",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_17, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#jing-du"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo4)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_19]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_18]),
_: 1
}), _hoisted_20, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "saizu",
content: "サイズ",
href: "#saizu",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_21, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#saizu"
})]),
_: 1
}), _hoisted_22, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo5)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_23]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "wei-zhi-zhi-yu",
content: "位置制御",
href: "#wei-zhi-zhi-yu",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_24, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#wei-zhi-zhi-yu"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo6)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_26]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_25]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "shu-xing",
content: "属性",
href: "#shu-xing",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_27, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#shu-xing"
})]),
_: 1
}), _hoisted_28, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "ibento",
content: "イベント",
href: "#ibento",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_29, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#ibento"
})]),
_: 1
}), _hoisted_30, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "fang-fa",
content: "方法",
href: "#fang-fa",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_31, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#fang-fa"
})]),
_: 1
}), _hoisted_32, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/jp/input-number.md?vue&type=template&id=5667a5ad
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/jp/input-number.md?vue&type=script&lang=ts
/* harmony default export */ var input_numbervue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_input_number = _resolveComponent("el-input-number");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_input_number, {
modelValue: _ctx.num,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.num = $event),
onChange: _ctx.handleChange,
min: 1,
max: 10
}, null, 8, ["modelValue", "onChange"])]);
}
const democomponentExport = {
data() {
return {
num: 1
};
},
methods: {
handleChange(value) {
console.log(value);
}
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_input_number = _resolveComponent("el-input-number");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_input_number, {
modelValue: _ctx.num,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.num = $event),
disabled: true
}, null, 8, ["modelValue"])]);
}
const democomponentExport = {
data() {
return {
num: 1
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo2": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_input_number = _resolveComponent("el-input-number");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_input_number, {
modelValue: _ctx.num,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.num = $event),
step: 2
}, null, 8, ["modelValue"])]);
}
const democomponentExport = {
data() {
return {
num: 5
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo3": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_input_number = _resolveComponent("el-input-number");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_input_number, {
modelValue: _ctx.num,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.num = $event),
step: 2,
"step-strictly": ""
}, null, 8, ["modelValue"])]);
}
const democomponentExport = {
data() {
return {
num: 2
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo4": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_input_number = _resolveComponent("el-input-number");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_input_number, {
modelValue: _ctx.num,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.num = $event),
precision: 2,
step: 0.1,
max: 10
}, null, 8, ["modelValue", "step"])]);
}
const democomponentExport = {
data() {
return {
num: 1
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo5": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_input_number = _resolveComponent("el-input-number");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_input_number, {
modelValue: _ctx.num1,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.num1 = $event)
}, null, 8, ["modelValue"]), _createVNode(_component_el_input_number, {
size: "medium",
modelValue: _ctx.num2,
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.num2 = $event)
}, null, 8, ["modelValue"]), _createVNode(_component_el_input_number, {
size: "small",
modelValue: _ctx.num3,
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.num3 = $event)
}, null, 8, ["modelValue"]), _createVNode(_component_el_input_number, {
size: "mini",
modelValue: _ctx.num4,
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.num4 = $event)
}, null, 8, ["modelValue"])]);
}
const democomponentExport = {
data() {
return {
num1: 1,
num2: 1,
num3: 1,
num4: 1
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo6": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_input_number = _resolveComponent("el-input-number");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_input_number, {
modelValue: _ctx.num,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.num = $event),
"controls-position": "right",
onChange: _ctx.handleChange,
min: 1,
max: 10
}, null, 8, ["modelValue", "onChange"])]);
}
const democomponentExport = {
data() {
return {
num: 1
};
},
methods: {
handleChange(value) {
console.log(value);
}
}
};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/jp/input-number.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/jp/input-number.md
input_numbervue_type_script_lang_ts.render = input_numbervue_type_template_id_5667a5ad_render
/* harmony default export */ var input_number = __webpack_exports__["default"] = (input_numbervue_type_script_lang_ts);
/***/ })
}]);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。