Unable to capture Adaptive Card events triggered i

2019-09-15 07:48发布

I am unable to capture the onExecuteAction emitted by the Adaptive Card. Can you please provide any pointers on the missing piece here.Also I am facing similar issue in binding,trigger and capturing events from the Adaptive Cards like showing/collapsing elements(triggered by Action.Showcard elements). Any pointers/guidence is appreciated.Thanks in advance.Attaching the plnkr code. https://plnkr.co/edit/2YB2zV3FL4JZgJ2yC4FG `

    return {
        restrict: 'AE',
        replace: true,
        scope:false,
        template: renderedCardNew.outerHTML,//$scope.trustedHtml,//'<p style="background-color:{{color}}">Hello World</p>',
        link: function (scope, elem, attrs) {
            elem.bind('click', function () {

                scope.$apply(function () {
                    scope.color = "white";
                });`. 

0条回答
登录 后发表回答