MCPcopy
hub / github.com/winjs/winjs / getControlHandler

Function getControlHandler

src/js/WinJS/ControlProcessor.js:173–180  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

171 }
172
173 function getControlHandler(element) {
174 if (element.getAttribute) {
175 var evaluator = element.getAttribute("data-win-control");
176 if (evaluator) {
177 return _BaseUtils._getMemberFiltered(evaluator.trim(), _Global, requireSupportedForProcessing);
178 }
179 }
180 }
181
182 function scopedSelect(selector, element) {
183 /// <signature helpKeyword="WinJS.UI.scopedSelect">

Callers 2

processAllImplFunction · 0.85
processFunction · 0.85

Calls 2

trimMethod · 0.80
getAttributeMethod · 0.65

Tested by

no test coverage detected