MCPcopy
hub / github.com/GrapesJS/grapesjs / get

Method get

packages/core/src/abstract/ModuleCategories.ts:34–36  ·  view source on GitHub ↗
(id: string | Category)

Source from the content-addressed store, hash-verified

32 }
33
34 get(id: string | Category) {
35 return super.get(isString(id) ? normalizeKey(id) : id);
36 }
37}
38
39Categories.prototype.model = Category;

Callers 11

attributesMethod · 0.45
updateVisibilityMethod · 0.45
toggleMethod · 0.45
renderMethod · 0.45
initCategoryFunction · 0.45
getIdMethod · 0.45
getLabelMethod · 0.45
getItemsByCategoryFunction · 0.45
addFunction · 0.45
getAllMapFunction · 0.45
__removeFunction · 0.45

Calls 2

normalizeKeyFunction · 0.90
isStringFunction · 0.50

Tested by

no test coverage detected