-
-
Save mattlevine/c341b8a03ef26caeb9cf87844c214b62 to your computer and use it in GitHub Desktop.
Mura CMS: How to manipulate the DOM of a form in Mura CMS v7+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
Mura.DisplayObject.Form.reopen({ | |
onAfterRender: function() { | |
//this.context.targetEl is a pointer to the dom element that contains the rendered Mura form. | |
var container = Mura(this.context.targetEl); | |
console.log(this.context.targetEl); | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment