dom-element-is-natively-editable

1.0.4 • Public • Published

dom-element-is-natively-editable

Exports a single function that synchronously returns true if the provided DOM element is supposed to be natively editable.

For, example, will return true provided an input or textarea element or any element that has contentEditable turned on or that is in a document that has designMode turned on.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    3
    • latest

Version History

Package Sidebar

Install

npm i dom-element-is-natively-editable

Weekly Downloads

6

Version

1.0.4

License

BSD-3-Clause

Last publish

Collaborators

  • mightyiam
  • weswinham