If I defined the 'animateTarget' of a window, when I close or minimize it gave an error 'this.animHide is not a function', is this an unimplemented feature?

Thx