Last active
April 27, 2018 19:09
-
-
Save stevewithington/e5d03dfd1e78e2cf680452b3fdb538e2 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 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