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

Method afterSetIconColor

src/component/Process.mjs:146–154  ·  view source on GitHub ↗

* Triggered after iconColor config got changed * @param {String} newValue * @protected

(newValue)

Source from the content-addressed store, hash-verified

144 * @protected
145 */
146 afterSetIconColor(newValue) {
147 if (newValue !== null) {
148 let {style} = this;
149
150 style['--process-icon-color'] = newValue + '!important';
151
152 this.style = style
153 }
154 }
155
156 /**
157 * Triggered after items config got changed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected