mardi 9 octobre 2018

Ember and Semantic UI Dynamic Action

I want to Create Dynamic actions in Sematic UI with Ember js or Ajax for example If I click a button add I need to view another input column and a submit button

/app/test/teamplate.hbs

<button class="ui button" >
  ADD 
</button>

/app/test/route.js

   export default Route.extend({
   });

/app/test/controller.js

export default Controller.extend({
    actions: {
       addInputElement: function(){
       //controller statements
       }
    }
});




Aucun commentaire:

Enregistrer un commentaire