Example $attrs Object

There are three elements on the root level of the component.

The v-bind="$attrs" adds a click event to the img tag, set from the parent component.

Toggle Image Size

Click the image to toggle the image size.