Link
A component for displaying a link.
Options
- href |
string (required): URL of website to link to. Default:none. - download |
(string|boolean): specifies whether link should be downloaded: set totrueto force download, or a string to specify the filename; iffalse, no download is forced. Default:false. - target |
string: defines where link is opened: set to_blankfor new window,_selfown frame,_parentfor parent,_topfor full body of window, or the name of the frame. Default:none. - windowFeatures |
string: comma-separated list of window features for when link is opened in new window (see: https://developer.mozilla.org/en-US/docs/Web/API/Window/open#window_features). Default:none. - openWindow |
boolean: boolean controlling whether to open URL in new window. Default:false. - className |
string: class name. Default:''. - style |
object: CSS inline styles. Default:{}.
Examples
- Minimal
- New Page
- Image Link
Live Editor
Result
ReferenceError: Provider is not defined