The goog.ui.editor.LinkDialog.OkEvent Class

goog.ui.editor.LinkDialog.OkEvent
> goog.events.Event

goog.ui.editor.LinkDialog.OkEvent(linkText, linkUrl, openInNewWindow, noFollow)

OK event object for the link dialog.

linkText {string}
Text the user chose to display for the link.
linkUrl {string}
Url the user chose for the link to point to.
openInNewWindow {boolean}
Whether the link should open in a new window when clicked.
noFollow {boolean}
Whether the link should have 'rel=nofollow' attribute.

.defaultPrevented {boolean}

Inherited from goog.events.Event .

Whether the default action has been prevented. This is a property to match the W3C specification at {@link http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented}. Must be treated as read-only outside the class.

.linkText {string}

The text of the link edited in the dialog.

.linkUrl {string}

The url of the link edited in the dialog.

.noFollow {boolean}

Whether the link should have 'rel=nofollow' attribute.

.openInNewWindow {boolean}

Whether the link should open in a new window when clicked.

.preventDefault()

Inherited from goog.events.Event .

Prevents the default action, for example a link redirecting to a url.

.propagationStopped_ {boolean}

Inherited from goog.events.Event .

Whether to cancel the event in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.returnValue_ {boolean}

Inherited from goog.events.Event .

Return value for in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.stopPropagation()

Inherited from goog.events.Event .

Stops event propagation.