UI组件库Kendo UI for Vue原生组件中文教程:如何使用禁用按钮?

默认情况下,按钮已启用。

要禁用它,请将 disabled 属性设置为 true。

示例:

UI组件库Kendo UI for Vue原生组件中文教程:如何使用禁用按钮 class=

main.vue

<template><div><kbutton> Enabled Button</kbutton> &nbsp;<kbutton :disabled="true">Disabled Button </kbutton></div></template><script>import { Button } from '@progress/kendo-vue-buttons';export default {components: {'kbutton': Button}}</script>

main.js

import { createApp } from 'vue'import App from './main.vue'createApp(App).mount('#app')

Kendo UI for Vue | 下载试用

Kendo UI致力于新的开发,来满足不断变化的需求。Kendo UI for Vue使用旨在提高性能和丰富用户体验的Vue组件,帮助开发人员构建下一代应用程序。它是为Vue技术框架提供可用的Kendo UI组件,以便更快地构建更好的Vue应用程序。


Telerik_KendoUI产品技术交流群:726377843    欢迎一起进群讨论

315活动正式开启
标签:

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2022年7月1日
下一篇 2022年7月1日

相关推荐

发表回复

登录后才能评论