代码拉取完成,页面将自动刷新
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[257],{
/***/ 998:
/***/ (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/popconfirm.md?vue&type=template&id=5cf6c3fd
const popconfirmvue_type_template_id_5cf6c3fd_hoisted_1 = {
class: "content element-doc"
};
const _hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Popconfirm ");
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"])("p", null, "popconfirm は ポップオーバー と似ています。そのため、重複する属性については ポップオーバー のドキュメントを参照してください。", -1);
const _hoisted_6 = /*#__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"])("popconfirm では "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "title"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性のみが利用可能で、"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "content"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" 属性は無視されます。")])], -1);
const _hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-popconfirm title=\"Are you sure to delete this?\">\n <template #reference>\n <el-button>Delete</el-button>\n </template>\n </el-popconfirm>\n</template>\n")], -1);
const _hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("カスタマイズ ");
const _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "popconfirm は以下のようにカスタマイズすることができます。:", -1);
const _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-popconfirm\n confirmButtonText=\"OK\"\n cancelButtonText=\"No, Thanks\"\n icon=\"el-icon-info\"\n iconColor=\"red\"\n title=\"Are you sure to delete this?\"\n >\n <template #reference>\n <el-button>Delete</el-button>\n </template>\n </el-popconfirm>\n</template>\n")], -1);
const _hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("トリガーイベント ");
const _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "ボタンをクリックしてイベントを起動します。", -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-popconfirm\n confirmButtonText=\"Yes\"\n cancelButtonText=\"No\"\n icon=\"el-icon-info\"\n iconColor=\"red\"\n title=\"Are you sure to delete this?\"\n @confirm=\"confirmEvent\"\n @cancel=\"cancelEvent\"\n >\n <template #reference>\n <el-button>Delete</el-button>\n </template>\n </el-popconfirm>\n</template>\n\n<script>\n export default {\n methods: {\n confirmEvent() {\n console.log('confirm!')\n },\n cancelEvent() {\n console.log('cancel!')\n },\n },\n }\n</script>\n")], -1);
const _hoisted_14 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("属性 ");
const _hoisted_15 = /*#__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>title</td><td>タイトル</td><td>String</td><td>—</td><td>—</td></tr><tr><td>confirmButtonText</td><td>確認ボタンのテキスト</td><td>String</td><td>—</td><td>—</td></tr><tr><td>cancelButtonText</td><td>キャンセルボタンのテキスト</td><td>String</td><td>—</td><td>—</td></tr><tr><td>confirmButtonType</td><td>確認ボタンの種類</td><td>String</td><td>—</td><td>Primary</td></tr><tr><td>cancelButtonType</td><td>キャンセルボタンの種類</td><td>String</td><td>—</td><td>Text</td></tr><tr><td>icon</td><td>アイコン</td><td>String</td><td>—</td><td>el-icon-question</td></tr><tr><td>iconColor</td><td>アイコンカラー</td><td>String</td><td>—</td><td>#f90</td></tr><tr><td>hideIcon</td><td>アイコンを隠すか</td><td>Boolean</td><td>—</td><td>false</td></tr></tbody></table>", 1);
const _hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("スロット ");
const _hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("table", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("thead", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Name"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Description")])]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tbody", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "reference"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Popconfirm をトリガーとする HTML 要素")])])], -1);
const _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("イベント ");
const _hoisted_19 = /*#__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>onConfirm</td><td>確認ボタンをクリックするときのトリガー</td><td>—</td></tr><tr><td>onCancel</td><td>キャンセルボタンをクリックするときのトリガー</td><td>—</td></tr></tbody></table>", 1);
function popconfirmvue_type_template_id_5cf6c3fd_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_right_nav = Object(vue_esm_browser_prod["resolveComponent"])("right-nav");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("section", popconfirmvue_type_template_id_5cf6c3fd_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "popconfirm",
content: "Popconfirm",
href: "#popconfirm",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#popconfirm"
})]),
_: 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
}), _hoisted_5, 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_7]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_6]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "kasutamaizu",
content: "カスタマイズ",
href: "#kasutamaizu",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_8, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#kasutamaizu"
})]),
_: 1
}), _hoisted_9, 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_10]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "torigaibento",
content: "トリガーイベント",
href: "#torigaibento",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_11, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#torigaibento"
})]),
_: 1
}), _hoisted_12, 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]),
_: 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_14, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#shu-xing"
})]),
_: 1
}), _hoisted_15, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "surotuto",
content: "スロット",
href: "#surotuto",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_16, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#surotuto"
})]),
_: 1
}), _hoisted_17, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "ibento",
content: "イベント",
href: "#ibento",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_18, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#ibento"
})]),
_: 1
}), _hoisted_19, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/jp/popconfirm.md?vue&type=template&id=5cf6c3fd
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/jp/popconfirm.md?vue&type=script&lang=ts
/* harmony default export */ var popconfirmvue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode("Delete");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_popconfirm = _resolveComponent("el-popconfirm");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_popconfirm, {
title: "Are you sure to delete this?"
}, {
reference: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_1]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode("Delete");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_popconfirm = _resolveComponent("el-popconfirm");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_popconfirm, {
confirmButtonText: "OK",
cancelButtonText: "No, Thanks",
icon: "el-icon-info",
iconColor: "red",
title: "Are you sure to delete this?"
}, {
reference: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_1]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo2": function () {
const {
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode("Delete");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_popconfirm = _resolveComponent("el-popconfirm");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_popconfirm, {
confirmButtonText: "Yes",
cancelButtonText: "No",
icon: "el-icon-info",
iconColor: "red",
title: "Are you sure to delete this?",
onConfirm: _ctx.confirmEvent,
onCancel: _ctx.cancelEvent
}, {
reference: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_1]),
_: 1
})]),
_: 1
}, 8, ["onConfirm", "onCancel"])]);
}
const democomponentExport = {
methods: {
confirmEvent() {
console.log('confirm!');
},
cancelEvent() {
console.log('cancel!');
}
}
};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/jp/popconfirm.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/jp/popconfirm.md
popconfirmvue_type_script_lang_ts.render = popconfirmvue_type_template_id_5cf6c3fd_render
/* harmony default export */ var popconfirm = __webpack_exports__["default"] = (popconfirmvue_type_script_lang_ts);
/***/ })
}]);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。