MCPcopy Create free account
hub / github.com/breck7/scroll / _message

Function _message

external/.datatables.js:15048–15065  ·  view source on GitHub ↗
(dt, config, option, position)

Source from the content-addressed store, hash-verified

15046 }
15047
15048 var _message = function (dt, config, option, position) {
15049 var message = _stringOrFunction(option, config, dt)
15050 if (message === null) {
15051 return null
15052 }
15053
15054 var caption = $("caption", dt.table().container()).eq(0)
15055 if (message === "*") {
15056 var side = caption.css("caption-side")
15057 if (side !== position) {
15058 return null
15059 }
15060
15061 return caption.length ? caption.text() : ""
15062 }
15063
15064 return message
15065 }
15066
15067 var _exportTextarea = $("<textarea/>")[0]
15068 var _exportData = function (dt, inOpts) {

Callers 1

.datatables.jsFile · 0.85

Calls 3

_stringOrFunctionFunction · 0.85
textMethod · 0.80
$Function · 0.70

Tested by

no test coverage detected