Commit 2354ecfc authored by Prathyusha's avatar Prathyusha

Update Add_Button_ListPage.js

parent 18a5c4b0
......@@ -5,8 +5,8 @@ var Contacts_Component_ListViewExamples = VTAP.Component.Core.extend({
//created function is called
created() {
//1. Hook Name
//2. data Params like icon(font-awsome icons), bootstrap button variant colour(secondary,primary..),clickhandler()
//3. Component which should send is empty
//2. data Params like icon(font-awsome icons), bootstrap button variant color(secondary,primary..),clickhandler()
//3. Component which should send as empty
//4. Module name to which hook can be registered
VTAP.Component.Register('LIST_BASIC_BUTTON',
{label:'Custom', icon:'fa-pencil', variant:'primary', clickHandler: () => { alert('Hooray!! my first button') } }, '', {module:'Contacts'});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment