ui.editor.LinkDialog.OkEvent Extends goog.events.Event
OK event object for the link dialog.

Inheritance

Constructor

goog.ui.editor.LinkDialog.OkEvent(linkTextlinkUrlopenInNewWindownoFollow)

Parameters

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.

Instance Methods

Public Protected Private
dispose()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
disposeInternal()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
preventDefault()
Prevents the default action, for example a link redirecting to a url.
code »
stopPropagation()
Stops event propagation.
code »

Instance Properties

constructor :
No description.
Code »
linkText :
The text of the link edited in the dialog.
Code »
linkUrl :
The url of the link edited in the dialog.
Code »
noFollow :
Whether the link should have 'rel=nofollow' attribute.
Code »
openInNewWindow :
Whether the link should open in a new window when clicked.
Code »
currentTarget :
Object that had the listener attached.
Code »
defaultPrevented :
Whether the default action has been prevented. This is a property to match the W3C specification at http://www.w3.org/TR/DOM-Level-3-Events/ #events-event-type-defaultPrevented. Must be treated as read-only outside the class.
Code »
propagationStopped_ :
Whether to cancel the event in internal capture/bubble processing for IE.
Code »
returnValue_ :
Return value for in internal capture/bubble processing for IE.
Code »
target :
Target of the event.
Code »
type :
Event type.
Code »

Static Properties

goog.ui.editor.LinkDialog.OkEvent.superClass_ :
No description.
Code »

Package ui.editor.LinkDialog

Package Reference