javascript - 使用 AngularJS 更改 Xeditable 中的按钮

标签 javascript html css angularjs

<分区>


想改进这个问题吗? 更新问题,使其只关注一个问题 editing this post .

关闭 7 年前

我有一个问题。 是否可以通过 Xeditable for AngularJS 中的链接更改保存(提交)按钮和取消按钮?

谢谢大家

最佳答案

最简单的方法是将按钮的 css 样式更改为看起来像一个链接

button {
     background:none!important;
     border:none; 
     padding:0!important;
     font: inherit;
     /*border is optional*/
     border-bottom:1px solid #444; 
     cursor: pointer;
}

关于javascript - 使用 AngularJS 更改 Xeditable 中的按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32061399/

上一篇:css - Wordpress 侧边栏位于内容的底部

下一篇:css - 将自定义 css 与 react bootstrap 和 webpack 结合使用

相关文章:

javascript - Bootstrap 下拉菜单与 php 和数据库

javascript - 使用 Javascript/jQuery 将 HTML 拆分为多列

Jquery 元素定位等

html - 什么是下载 HTML 页面的好网络爬虫?

javascript - 如何使用 jQuery 平滑地最小化飞行的可拖动弹出窗口

javascript - puppeteer 操纵者在样式属性中转义双引号

javascript - 如何制作 Jquery 菜单生成器

javascript - 在Firefox中上传大文件 block 时进程 "GeckoMain"内存消耗异常

css - 如何在 calc 中使用 Stylus 变量?

html - 垂直侧面菜单的折叠不起作用