up-expand class to any element that contains a link
in order to enlarge the link's click area.
<div class="notification" up-expand> Record was saved! <a href="/records">Close</a> </div>
In the example above, clicking anywhere within
would follow the Close link.
If a container contains more than one link, you can set the value of the
up-expand attribute to a CSS selector to define which link should be expanded:
<div class="notification" up-expand=".close"> Record was saved! <a class="details" href="/records/5">Details</a> <a class="close" href="/records">Close</a> </div>
Users will not be able to use the expanded area to open a context menu by right clicking,
or to open the link in a new tab.
To enable this, make the entire clickable area an actual
It's OK to put block elements inside an anchor tag.
A CSS selector that defines which containing link should be expanded.
If omitted, the first contained link will be expanded.