can we give function in custom component code example Example: Which function is used to add functionality to a custom component? AFRAME.registerComponent(..);