Anonymous

Mod Creation/Sidebar API Reference: Difference between revisions

From Melvor Idle
Fix missing namespace ID for skill
(Fix missing namespace ID for skill)
(Fix missing namespace ID for skill)
Line 316: Line 316:


  <syntaxhighlight lang="js" line>// Removes the Summoning skill from the sidebar
  <syntaxhighlight lang="js" line>// Removes the Summoning skill from the sidebar
sidebar.category('Non-Combat').item('Summoning').remove();</syntaxhighlight>
sidebar.category('Non-Combat').item('melvorD:Summoning').remove();</syntaxhighlight>


=== subitem(id: string, config?: SubitemConfig, builder?: (subitem: Subitem) => void): Subitem ===
=== subitem(id: string, config?: SubitemConfig, builder?: (subitem: Subitem) => void): Subitem ===