Class NoteDialogLinkControl extends BaseControl

This class is the url control of the NoteDialog

Source : file dialogs/notesDialog/controls/NoteDialogLinkControl.js at line 38

Constructor

new NoteDialogLinkControl ( eventListeners, latLng )

The constructor

Source : file dialogs/notesDialog/controls/NoteDialogLinkControl.js at line 89

Parameters

Name Type Description
eventListeners NoteDialogEventListeners

A reference to the eventListeners object of the NoteDialog

latLng Array of Number

The lat and lng to use with the 👿 button

Public getters and setters

get url : String

The url value in the control

Source : file dialogs/notesDialog/controls/NoteDialogLinkControl.js at line 147

set url

Source : file dialogs/notesDialog/controls/NoteDialogLinkControl.js at line 149

Public methods

destructor ( eventListeners )

Remove event listeners

Source : file dialogs/notesDialog/controls/NoteDialogLinkControl.js at line 136

Parameters

Name Type Description
eventListeners NoteDialogEventListeners

A reference to the eventListeners object of the NoteDialog

Private properties

#linkInput : HTMLElement

The link input

Source : file dialogs/notesDialog/controls/NoteDialogLinkControl.js at line 45

Private methods

#createTheDevilButton ( latLng, linkHeaderDiv )

The 👿 button...

Source : file dialogs/notesDialog/controls/NoteDialogLinkControl.js at line 53

Parameters

Name Type Description
latLng Array of Number

The lat and lng used in the 👿 button

linkHeaderDiv HTMLElement

The HTMLElement in witch the button will be created