Mod Creation/Mod Context API Reference: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 452: Line 452:


==== Custom ====
==== Custom ====
A custom-rendered setting. See '''SettingTypeConfig''' section above. This is different from registering a custom setting type as this is a one-off and will not register the type for reuse. Value is of type <code>any</code>.
A custom-rendered setting. See [[#SettingTypeConfig|SettingTypeConfig]] section above. This is different from registering a custom setting type as this is a one-off and will not register the type for reuse. Value is of type <code>any</code>.
  <nowiki>interface CustomConfig implements SettingConfig, SettingTypeConfig {
  <nowiki>interface CustomConfig implements SettingConfig, SettingTypeConfig {
   type: 'custom';
   type: 'custom';
89

edits