Lucas
04/01/2022, 9:20 AMdefine(
'SampleExtension.Sample'
, []
, function ()
{
'use strict';
return {
mountToApp: function mountToApp (container)
{
var Cart = container.getComponent('Cart')
Cart.cancelableOn('afterAddLine', function (){
console.log("afterAddLine");
});
Cart.cancelableOn('beforeAddLine', function (){
console.log("beforeAddLine");
});
}
};
});
Steve Goldberg
04/05/2022, 10:43 AMmountToApp
outside of any callbackLucas
04/18/2022, 4:26 AM