Skip to content

Commit

Permalink
Added documentation for #503.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Dec 1, 2023
1 parent 8f50c7f commit 080ec2b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ref-doc/nightly/m2doc_service_linkservices.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,20 @@ Converts a String to an hyperlink
* 'My website'.asLink('https://www.example.org')
* a link to https://www.example.org with the label My website

## String.asLink(String, String) : org.obeonetwork.m2doc.element.MHyperLink

Converts a String to an hyperlink

### Parameter

* **text**: The label of the link
* **url**: The destination of the link
* **toolTip**: The tool tip of the link

### Example

* 'My website'.asLink('https://www.example.org', 'My tool tip')
* a link to https://www.example.org with the label My website with a tool tip



0 comments on commit 080ec2b

Please sign in to comment.