{"record":{"id":"8f6d5bae6de5f121","repo":"Semantic-Org/Semantic-UI","slug":"the-method-you-called-is-not-defined-8f6d5b","errorCode":null,"errorMessage":"The method you called is not defined","messagePattern":"The method you called is not defined","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"src/definitions/modules/transition.js","lineNumber":1088,"sourceCode":"  },\n\n  className   : {\n    animating  : 'animating',\n    disabled   : 'disabled',\n    hidden     : 'hidden',\n    inward     : 'in',\n    loading    : 'loading',\n    looping    : 'looping',\n    outward    : 'out',\n    transition : 'transition',\n    visible    : 'visible'\n  },\n\n  // possible errors\n  error: {\n    noAnimation : 'Element is no longer attached to DOM. Unable to animate.  Use silent setting to surpress this warning in production.',\n    repeated    : 'That animation is already occurring, cancelling repeated animation',\n    method      : 'The method you called is not defined',\n    support     : 'This browser does not support CSS animations'\n  }\n\n};\n\n\n})( jQuery, window, document );\n","sourceCodeStart":1070,"sourceCodeEnd":1096,"githubUrl":"https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/transition.js#L1070-L1096","documentation":"Defined under transition.error.method, but Transition's invoke() dispatcher (transition.js:947-981) never calls module.error(error.method): an unrecognized method name leaves found undefined and the call silently returns undefined. The string is dead config in this version. Like all modules, module.error is a bound console.error (transition.js:888), not a thrown exception.","triggerScenarios":"$('#el').transition('bogusMethod') — the dispatcher finds no matching key on the module instance and returns undefined with no console output.","commonSituations":"Typo in a transition method/animation name, using a method from a different version, confusing animation names with method names.","solutions":["Use a valid animation name (e.g. 'fade', 'scale') or method (e.g. 'clear queue', 'stop').","Confirm the method/animation exists for this Semantic UI version.","Assert the return value if you need a hard failure instead of relying on a thrown error."],"exampleFix":"// before\n$('#el').transition('faed'); // typo -> silent no-op\n// after\n$('#el').transition('fade');","handlingStrategy":"validation","validationCode":"// Transition silently no-ops on unknown methods; validate first.\nvar valid = ['fade','scale','fade up','fade down','flip','drop','fly','browse','slide','slide down','slide up','jiggle','flash','shake','pulse','tada','bounce','clear queue','stop','show','hide'];\nfunction callTransition($el, anim){\n  if (valid.indexOf(String(anim).toLowerCase()) === -1) {\n    throw new Error('Unknown transition: ' + anim);\n  }\n  return $el.transition(anim);\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Treat an undefined return from .transition() as a likely bad method/animation name.","Pin your Semantic UI version; animation catalogs differ across releases.","These are console.error logs (transition.js:888), not exceptions — validate explicitly."],"tags":["transition","method-dispatch","dead-code"],"backgroundTag":null,"analyzedSha":"597843ab84d565cccfd8fd7719416350ae73e734","analyzedAt":"2026-08-13T01:44:23.827Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}