MCPcopy Create free account
hub / github.com/neomjs/neo / beforeSetLanguage

Method beforeSetLanguage

src/code/LivePreview.mjs:210–212  ·  view source on GitHub ↗

* Triggered before the language config gets changed * @param {String} value * @param {String} oldValue * @returns {String} * @protected

(value, oldValue)

Source from the content-addressed store, hash-verified

208 * @protected
209 */
210 beforeSetLanguage(value, oldValue) {
211 return this.beforeSetEnumValue(value, oldValue, 'language')
212 }
213
214 /**
215 * @param {Object} data

Callers

nothing calls this directly

Calls 1

beforeSetEnumValueMethod · 0.80

Tested by

no test coverage detected