Thursday 15 January 2015

javascript - ons-buttons stay grey(pressed) after clicking on it -


I'm actually developing an application and I want to edit / save an item. The problem is that after clicking on the on-button is pressed greyed (pressed) anyone have an idea? I am developing with Onsen-UI and Angule on MonaCa. Here's an example:

  & lt; Div style = "padding: 10px 9px" ng-show = "edit" & gt; & Lt; Ons-button ng-click = "edit =! Edit" modifier = "large" style = "margin: 0 auto;" & Gt; & Lt; Ons-icon icon = "fa-edit" & gt; & Lt; / Ons-icon & gt; Author and lieutenant; / On-button & gt; & Lt; / Div & gt; & Lt; Div style = "padding: 10px 9px" ng-show = "! Edit" & gt; & Lt; On-line & gt; & Lt; Ons-col class = "content-padded" & gt; & Lt; Ons-button modifier = "large" ng-click = "edit =! Edit" & gt; Cancel & lt; / Ons-button & gt; & Lt; / On-col & gt; & Lt; Ons-col class = "content-padded" & gt; & Lt; Ons-button modifier = "large" ng-click = "edit =! Edit" & gt; Ok & lt; / Ons-button & gt; & Lt; / On-col & gt; & Lt; / On-line & gt; & Lt; / Div & gt;  


No comments:

Post a Comment