Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /addon-sdk/source/doc/module-source/sdk/simple-prefs.md [2c5226] .. [7a54b5] Maximize Restore

  Switch to side-by-side view

--- a/addon-sdk/source/doc/module-source/sdk/simple-prefs.md
+++ b/addon-sdk/source/doc/module-source/sdk/simple-prefs.md
@@ -98,6 +98,23 @@
     <td><code>value</code></td>
     <td>A default value for the setting. Depending on the setting type,
 	this may be an integer, string, or boolean value.</td>
+  </tr>
+
+  <tr>
+    <td><code>hidden</code></td>
+    <td><p>A boolean value which, if present and set to <code>true</code>,
+    means that the setting won't appear in the Add-ons Manager interface,
+    so users of your add-on won't be able to see or alter it.</p>
+    <pre>
+{
+    "name": "myHiddenInteger",
+    "type": "integer",
+    "title": "How Many?",
+    "hidden": true
+}</pre>
+    <p>Your add-on's code will still be able to access and modify it,
+    just like any other preference you define.</p>
+    </td>
   </tr>
 
 </table>