Documentation Incorrect
| Project: | ContextMenu |
| Version: | 0.2 |
| Component: | Documentation |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Hi, this is more of a typo on the documentation site.
When applying styles, I have found that in using both FF 3 and IE 7 that quotes are required around style names. You example is:
itemStyle: {
fontFamily : 'verdana',
backgroundColor : '#666',
color: 'white',
border: 'none',
padding: '1px'
}
but in order to work, the snippet should read:
itemStyle: {
'fontFamily' : 'verdana',
'backgroundColor' : '#666',
'color': 'white',
'border': 'none',
'padding': '1px'
}
with the difference being the css styles are now surrounded by single quotes.
