dojo/dnd/common.js

  • Provides:

    • dojo.dnd.common
  • dojo.dnd._empty

    • type
      Object
    • summary
  • dojo.dnd.getUniqueId

    • type
      Function
    • source: [view]
       var id;
       do{
        id = dojo._scopeName + "Unique" + (++dojo.dnd._uniqueId);
       }while(dojo.byId(id));
       return id;
    • summary
      returns a unique string for use with any DOM element
  • dojo.dnd.isFormElement

    • type
      Function
    • parameters:
      • e: (typeof Event)
    • source: [view]
       var t = e.target;
       if(t.nodeType == 3 /*TEXT_NODE*/){
        t = t.parentNode;
       }
       return " button textarea input select option ".indexOf(" " + t.tagName.toLowerCase() + " ") >= 0; // Boolean
    • summary
      returns true if user clicked on a form element
    • returns
      Boolean
  • dojo.dnd.getCopyKeyState

    • summary
  • dojo.dnd._uniqueId

    • summary
  • dojo.dnd.common

    • type
      Object
    • summary
  • dojo.dnd

    • type
      Object
    • summary
  • dojo

    • type
      Object
    • summary