当前位置: 首页 > news >正文

全球最好的设计网站wordpress加背景音乐

全球最好的设计网站,wordpress加背景音乐,wordpress 怎么删除主题,网站开发需要注册几类商标因为buildAdmin是封装的 el-table的组件#xff0c;所以el-table中的事件#xff0c; 也是可以使用的#xff0c; 两者有几个事件是有共同的#xff08;比如 双击事件#xff09;#xff0c; 这时可以根据自己的需要自行选择 以下代码是 buildadmin 使用 el-table中的事…因为buildAdmin是封装的 el-table的组件所以el-table中的事件 也是可以使用的 两者有几个事件是有共同的比如 双击事件 这时可以根据自己的需要自行选择 以下代码是 buildadmin 使用 el-table中的事件的例子 可以看到 table 组件中 绑定了很多的事件 这些事件都是 el-table的事件 templatediv classdefault-main ba-table-boxel-alert classba-table-alert typeinfo show-icontemplate #defaultdiv classba-markdowndiv对表格内各种行为事件的监听示例codeel-table 事件/code/divdiv1、请按下codeF12/code从浏览器控制台查看更多细节/divdiv2、请单击/右击/双击单元格、行、表头等触发 el-table 事件/div/div/template/el-alertTableHeader:buttons[refresh, add, edit, delete, comSearch, quickSearch, columnDisplay]:quick-search-placeholdert(Quick search placeholder, { fields: t(examples.table.event2.quick Search Fields) })/TableHeader!-- 示例核心代码(1/2) --!-- 我们在此示例了 el-table 的各种事件 --!-- 以此类推el-table 自带的属性也都是可以使用的 --Tablecell-mouse-enteronCellMouseEntercell-mouse-leaveonCellMouseLeavecell-clickonCellClickcell-contextmenuonCellContextmenurow-clickonRowClickrow-contextmenuonRowContextmenurow-dblclickonDblclickheader-clickonHeaderClickheader-contextmenuonHeaderContextmenuheader-dragendonHeaderDragendreftableRef/Table!-- 温馨提示 --!-- 事件 select、select-all、selection-change、cell-dblclick、sort-change 请使用 ba-table 的钩子 --!-- 事件 filter-change 可用但请自行实现筛选buildadmin 并未使用 el 提供的表格筛选模式 --PopupForm //div /templatescript setup langts import { ref, provide, onMounted } from vue import baTableClass from //utils/baTable import { defaultOptButtons } from //components/table import { baTableApi } from //api/common import { useI18n } from vue-i18n import PopupForm from ./popupForm.vue import Table from //components/table/index.vue import TableHeader from //components/table/header/index.vuedefineOptions({name: examples/table/event2, })const { t } useI18n() const tableRef ref() const optButtons: OptButton[] defaultOptButtons([edit, delete])/*** 示例核心代码(2/2)*/ const onCellMouseEnter (row: TableRow, column: TableColumn, cell: HTMLElement, event: MouseEvent) {console.info(%c-------单元格 hover 进入--------, color:blue)console.log(参数, row, column, cell, event) }const onCellMouseLeave (row: TableRow, column: TableColumn, cell: HTMLElement, event: MouseEvent) {console.info(%c-------单元格 hover 退出--------, color:blue)console.log(参数, row, column, cell, event) }const onCellClick (row: TableRow, column: TableColumn, cell: HTMLElement, event: PointerEvent) {console.info(%c-------单元格被点击--------, color:blue)console.log(参数, row, column, cell, event) }const onCellContextmenu (row: TableRow, column: TableColumn, cell: HTMLElement, event: PointerEvent) {console.info(%c-------单元格被右击--------, color:blue)console.log(参数, row, column, cell, event) }const onRowClick (row: TableRow, column: TableColumn, event: PointerEvent) {console.info(%c-------某一行被点击--------, color:blue)console.log(参数, row, column, event) }const onRowContextmenu (row: TableRow, column: TableColumn, event: PointerEvent) {console.info(%c-------某一行被右击--------, color:blue)console.log(参数, row, column, event) }const onDblclick (row: TableRow, column: TableColumn, event: MouseEvent) {console.info(%c-------某一行被双击--------, color:blue)console.log(参数, row, column, event) }const onHeaderClick (column: TableColumn, event: PointerEvent) {console.info(%c-------表头被点击--------, color:blue)console.log(参数, column, event) }const onHeaderContextmenu (column: TableColumn, event: PointerEvent) {console.info(%c-------表头被右击--------, color:blue)console.log(参数, column, event) }const onHeaderDragend (newWidth: number, oldWidth: number, column: TableColumn, event: MouseEvent) {console.info(%c-------列宽度改变--------, color:blue)console.log(newWidth, oldWidth, column, event) }const baTable new baTableClass(new baTableApi(/admin/examples.table.Event2/),{pk: id,column: [{ type: selection, align: center, operator: false },{ label: t(examples.table.event2.id), prop: id, align: center, width: 70, operator: RANGE, sortable: custom },{label: t(examples.table.event2.string),prop: string,align: center,operatorPlaceholder: t(Fuzzy query),operator: LIKE,sortable: false,},{label: t(examples.table.event2.switch),prop: switch,align: center,render: switch,operator: eq,sortable: false,replaceValue: { 0: t(examples.table.event2.switch 0), 1: t(examples.table.event2.switch 1) },},{ label: t(examples.table.event2.datetime), prop: datetime, align: center, operator: eq, sortable: custom, width: 160 },{label: t(examples.table.event2.create_time),prop: create_time,align: center,render: datetime,operator: RANGE,sortable: custom,width: 160,timeFormat: yyyy-mm-dd hh:MM:ss,},{ label: t(Operate), align: center, width: 100, render: buttons, buttons: optButtons, operator: false },],dblClickNotEditColumn: [undefined, switch],},{defaultItems: { switch: 1, datetime: null },} )provide(baTable, baTable)onMounted(() {baTable.table.ref tableRef.valuebaTable.mount()baTable.getIndex()?.then(() {baTable.initSort()baTable.dragSort()}) }) /scriptstyle scoped langscss/style
http://wiki.neutronadmin.com/news/288690/

相关文章:

  • 中国设计网站排行榜创建个人网站制作流程步骤
  • 汽车网站页面设计优购物官方网上商城
  • 网站可视化编辑徐州 商城网站建设
  • crm网站下载商贸公司企业简介模板
  • 范县网站建设费用海外网站导航
  • 网站宣传的优点微信公众号登录平台登录
  • 专业做网站建设的网站建设公司 lnmp
  • 免费如何创建网站平台创网址
  • 网站建设行业动态网站推广策略和效果评价
  • 深圳手机端网站建设收费二室一厅60平米装修案例
  • 洞口网站开发公司推荐房地产集团网站建设
  • 网站怎么做支付宝接口网站维护服务合同
  • 广告网站留电话整人网站建设费用5万入账
  • 中国建设银行网站特色wordpress教程文档
  • 基于ssh框架的网站开发流程做手机版网站和做app差别
  • 关注网站制作河北保定网站建设
  • 做网站哪个地方需要钱海安建设局网站
  • 营销型网站规划建设的七大要素淄博手机网站建设
  • 北京网站建设策划解决方案防疫大数据平台
  • 源码可以做网站吗建筑设计网站issuu
  • 昆山网站建设推广斗鱼网站开发是用什么语言
  • 怎样搭建属于自己的网站如何查看网站的外链
  • 怎么做一个公司网站济南建设工程交易网官网
  • vs做的网站如何做微信商城设计网站
  • 泰安创意网络公司北京度seo排名
  • 论文网站建设与运营合肥制作小程序
  • 怎么做跳转不影响原网站排名图们市建设局网站
  • 火币网站怎么做空前端网页设计招聘
  • 广汉网站分销系统平台有哪些
  • 淘宝客推广网站建设建筑公司logo设计大全