Support selector and element targets in animate…

The animateView() function now properly resolves both CSS selector strings and DOM Element objects as animation targets, expanding flexibility for developers. This includes new test coverage and example pages demonstrating the feature across various animation scenarios.