Improve targetNotEditable documentation
This commit is contained in:
@@ -238,8 +238,9 @@ export const shiftKeyOnly = function (mapBrowserEvent) {
|
||||
};
|
||||
|
||||
/**
|
||||
* Return `true` if the target element is not editable, i.e. not an `<input>`,
|
||||
* `<select>`, or `<textarea>` element and no `contenteditable` attribut. `false` otherwise.
|
||||
* Return `true` if the target element is not editable, i.e. not an `input`,
|
||||
* `select`, or `textarea` element and no `contenteditable` attribute is
|
||||
* set or inherited, `false` otherwise.
|
||||
*
|
||||
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
|
||||
* @return {boolean} True only if the target element is not editable.
|
||||
|
||||
Reference in New Issue
Block a user