Release Notes:
props
key) or set/get via the setToolProps
, getToolProps
, getTabProps
and setTabProps
methods of the ribbon. The data of the prop
keys is returned also by the events, triggered by the ribbon.name
.props
key (check the Ribbon JS configuration documentation) to a tool/command definition for more info about this key. The required parameters are tool/command name
(String) of the tool/command, key
(String or Number) name and value
(Any).props
object, associated with a tool or command.props
object, associated with a tab, queried by its name
.props
key ( check the Ribbon JS configuration documentation) to a tab for more info about this key. The required parameters are tab name
(String) of the tool/command, key
(String or Number) name and value
(Any).{expanded: true}
) or when the ribbon is collapsed or expanded either by clicking the expand/collapse button in the top right corner of the control or programmatically via the expand()
and collapse()
methods.About Ribbon JS:
Ribbon JS is arguably the best recreation of the MS Officetm ribbon bar, using JavaScript, CSS3, and HTML5. It is a lightweight control, which is ready to use on websites, web-based WYSIWYG editors, sophisticated back-end systems, mail applications, complex file managers, and JavaScript-heavy apps. It has everything you would expect from a ribbon bar – comprehensive and fully documented API, amazing command handling, huge set of inbuilt tools, capability to add custom tools via client-side templates, cool looks and is also available optionally wrapped as a full-blown HTML5 WebComponent. Last but not least, it only takes a few minutes to deploy, configure, and run.
Screenshots:
© 2006 - 2023 Martin Ivanov