Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/layui/layui
/ getChecked
Function
getChecked
src/modules/table.js:2268–2274 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
2266
2267
// 若为单选框,则单向选中;若为复选框,则切换选中。
2268
var
getChecked =
function
(value) {
2269
return
opts.
type
===
'radio'
2270
? true
2271
: existChecked
2272
? opts.checked
2273
: !value;
2274
};
2275
2276
var
radioCheckedIndex;
2277
Callers
1
table.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected