Adding event for elements added to designer
passing definition through to editable templates. We need them for things like min & max