In the listview/creation view , I am trying to add the custom notification message instead of default notification (please refer screenshot) when the user clicks the save button.
Can someone please let me know if there a way to add custom notification message ?enter image description here
var app = nga.entity('app').label('App'); // the API endpoint for users will be 'http://jsonplaceholder.typicode.com/users/:id
app.listView()
.title('App Lists')
.fields([
nga.field('id'),
nga.field('appName').label('App Name'),
nga.field('appId').label('App Id')
.validation({ required: true, pattern: '[A-Za-z0-9\.\-_]{1,50}' }),
nga.field('appSecret').label('App Secret'),
nga.field('userId').label('User Id'),
nga.field('description').label('App description'),
nga.field('published', 'choice').choices([
{ value: true, label: 'true' },
{ value: false, label: 'false' }
])
])
.exportFields([])
.listActions(['<app-property post="entry"></app-property>','edit', 'delete'])
.perPage(10) // limit the number of elements displayed per page. Default is 30.
.batchActions(['delete', '<my-custom-directive entries="selection"></my-custom-directive>'])
;