Functiondijit._editor.selection.hasAncestorElement

dojo.require("dijit._editor.selection");
defined in dijit/_editor/selection.js

Check whether current selection has a parent element which is of type tagName (or one of the other specified tagName)

Usage

function (...tagName) (view source)
parametertypedescription
tagName Repeating.