[component dnd] add a delegate method #63

The context variable is a sting keyword, if is undefined I set it as string undefined keyword.