We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to insert some dynamic content into to copied elements, such as unique id, and a directive depending on what is dragged. Is that possible?
The text was updated successfully, but these errors were encountered:
Actually I figured it out. It can be accessed by innerHTML of target
$scope.$on('script-editor.drop', function (el, target, source, sibling) { console.log('target', target); angular.forEach(target[0].classList, function(className){ if(className == 'template'){ //console.log('got one!'); target[0].innerHTML = 'boombap'; } }); });
Sorry, something went wrong.
No branches or pull requests
I'm trying to insert some dynamic content into to copied elements, such as unique id, and a directive depending on what is dragged. Is that possible?
The text was updated successfully, but these errors were encountered: