docs: update docs to include isDisabled computed

This commit is contained in:
dannyrb committed 2020-02-24 11:18:55 -05:00
1 parent 3d0357c9c0
commit ea2ab1a25e
2 files changed
+7 -1

No files matched your search

+4
View File
@@ -40,6 +40,10 @@ export default {
from: 'right',
// The target component to toggle open/close
target: 'target-component-id',
// UI Hint; If the target panel is in a "disabled" state
isDisabled: studies => {
return false;
},
// Overrides `defaultContext`, if specified
context: ['ACTIVE_VIEWPORT:MAGIC'],
},