Skip to content

Commit

Permalink
fix #92 option to lock default layouts (prevent from deleting and ren…
Browse files Browse the repository at this point in the history
…aming) - readme
  • Loading branch information
nickholub committed Oct 8, 2014
1 parent c4852b6 commit f34f61e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ The `layoutOptions` object passed to dashboard-layouts tries to mirror `dashboar
key | type | default value | required | description
--- | ---- | ------------- | -------- | -----------
widgetDefinitions | Array | n/a | yes | Same as in `dashboardOptions`
lockDefaultLayouts | Boolean| false | no | `true` to lock default layouts (prevent from removing and renaming)
defaultLayouts | Array | n/a | yes | List of objects where an object is `{ title: [STRING_LAYOUT_TITLE], active: [BOOLEAN_ACTIVE_STATE], defaultWidgets: [ARRAY_DEFAULT_WIDGETS] }`. Note that `defaultWidgets` is the same as in `dashboardOptions`.
widgetButtons | Boolean | true | no | Same as in `dashboardOptions`
storage | Object | null | no | Same as in `dashboardOptions`, only the saved objects look like: `{ layouts: [...], states: {...}, storageHash: '' }`
Expand Down

0 comments on commit f34f61e

Please sign in to comment.