Class CKHyperlink
In: lib/cgikit.rb
Parent: CKElement

CKHyperlink generates a hypertext link.

Bindings

Required attributes: action, href or page.

action:Method to be invoked when the link is clicked.
disabled:Generates a non-active link if the value is true.
href:You specify the URL to other web page directly. This attribute prevails over "action" or "page" attribute.
page:Name of component to display when the link is clicked.
string:Text of the link. If the body of CKHyperlink tag is not empty, the body is displayed. For example, if the template includes "<cgikit name=link>foo</cgikit>", this element shows "foo" as the link.
target:target attribute of HTML's <a> tag.
secure:Appends "https://" to the URL if the value is true. The default value is false.
query:Hash as the query string. The value of "query" attribute is converted to string. Then, the string is added to append the URL.
Methods
run    to_s   
Public Instance methods
run()
to_s()