You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Foxandxss, can you give an example of how the extraData would be used to say, handle an ng-click event? For example, if I want to add a link to my template like this:
<a href="#" class="link" ng-click="clickFn(data)">Link Text</a>
And I want to provide all of the variables in this link in the extradata, would it look like this:
myData.LinkClass = "link";
myData.LinkFn = "clickFn";
myData.FnData = data;
myData.LinkText = "Link Text";
Hi @Foxandxss, can you give an example of how the extraData would be used to say, handle an ng-click event? For example, if I want to add a link to my template like this:
<a href="#" class="link" ng-click="clickFn(data)">Link Text</a>
And I want to provide all of the variables in this link in the extradata, would it look like this:
myData.LinkClass = "link";
myData.LinkFn = "clickFn";
myData.FnData = data;
myData.LinkText = "Link Text";
this.toastr.error(message, title, { extraData: myData });
<a href="#" class="{{extraData.LinkClass" ng-click="what goes here??">{{extraData.LinkText}}</a>
Thanks!
The text was updated successfully, but these errors were encountered: