fix(ionItem): make target attribute work properly

Closes #1521