public static interface HamletSpec._Anchor
| Modifier and Type | Method and Description |
|---|---|
HamletSpec.A |
a()
Add a A (anchor) element.
|
HamletSpec.A |
a(String selector)
Add a A (anchor) element.
|
HamletSpec._Anchor |
a(String href,
String anchorText)
Shortcut for
a().$href(href).__(anchorText).__(); |
HamletSpec._Anchor |
a(String selector,
String href,
String anchorText)
Shortcut for
a(selector).$href(href).__(anchorText).__(); |
HamletSpec.A a()
HamletSpec.A a(String selector)
selector - the css selector in the form of (#id)*(.class)*HamletSpec._Anchor a(String href, String anchorText)
a().$href(href).__(anchorText).__();href - the URIanchorText - for the URIHamletSpec._Anchor a(String selector, String href, String anchorText)
a(selector).$href(href).__(anchorText).__();selector - in the form of (#id)?(.class)*href - the URIanchorText - for the URICopyright © 2008–2024 Apache Software Foundation. All rights reserved.