Skip to content

Latest commit

 

History

History

link

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

$mol_link

Dynamic hyperlink. It can to add, change or remove parameters. The link leads to current page would be stylized in other way.

Properties

arg() : { [ name : string ] : string }

Returns patch that will be applied to page URL.

<= Close $mol_link
	arg *
		demo null
	sub /
		<= close_title @ \Close demo

uri() : string

Returns target URI.

<= Example $mol_link
	uri \http://example.org
	sub /
		\example.org

hint() : string

Returns hint that displays on hover.

<= Example $mol_link
	uri \http://example.org
	title \example.org
	hint \Open external link

target() : string

Name of window to open link.

<= External $mol_link
	uri \http://example.org
	title \example.org
	target \_blank

file_name() : string

Used to download files. See "Download" in demo