Functiondijit._editor.selection.getAncestorElement

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

Return the parent element of the current selection which is of type tagName (or one of the other specified tagName)

Usage

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