HexagonJS
Changelog
2.7.1
Resolved a bug with the tooltip styles
Tooltip
1
hx.tooltip
Bugfix
Resolved an issue with the tooltip styles that was causing the tooltip to flicker when hovering.
Progress Bar
1
ProgressBarV1
Deprecated
Replaced by ProgressBarV2. Pass featureFlags.useUpdatedClass: true in the constructor options to create a new style progress bar.
AutocompletePicker
2
hx.AutocompletePicker
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.autocompletePickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
Modal
4
hx.ModalextendsEventEmitter
Deprecated
This Modal has been replaced by the new Modal class returned by modalCenter, modalRight and modalFullScreen
modalDialogModal
Deprecated
This has been replaced by modalCenter
modalInputModal
Deprecated
This has been replaced by modalCenter
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Picker
2
hx.PickerextendsEventEmitter
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.pickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.7.0
Added the stepper component
Stepper
1
hx.Stepper
Added
A component for managing a user workflow with multiple steps.
Progress Bar
1
ProgressBarV1
Deprecated
Replaced by ProgressBarV2. Pass featureFlags.useUpdatedClass: true in the constructor options to create a new style progress bar.
AutocompletePicker
2
hx.AutocompletePicker
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.autocompletePickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
Modal
4
hx.ModalextendsEventEmitter
Deprecated
This Modal has been replaced by the new Modal class returned by modalCenter, modalRight and modalFullScreen
modalDialogModal
Deprecated
This has been replaced by modalCenter
modalInputModal
Deprecated
This has been replaced by modalCenter
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Picker
2
hx.PickerextendsEventEmitter
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.pickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.5.3
Resolved an issue with the date time localizer where values typed in the input did not work for non DD/MM/YYYY locales
Date Picker
1
Bugfix
Resolve an issue with localisation where non DD/MM/YYYY locales could not have a date entered via the input.
Progress Bar
1
ProgressBarV1
Deprecated
Replaced by ProgressBarV2. Pass featureFlags.useUpdatedClass: true in the constructor options to create a new style progress bar.
AutocompletePicker
2
hx.AutocompletePicker
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.autocompletePickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
Modal
4
hx.ModalextendsEventEmitter
Deprecated
This Modal has been replaced by the new Modal class returned by modalCenter, modalRight and modalFullScreen
modalDialogModal
Deprecated
This has been replaced by modalCenter
modalInputModal
Deprecated
This has been replaced by modalCenter
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Picker
2
hx.PickerextendsEventEmitter
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.pickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.5.0
Added a tooltip component to provide additional information for icons or text.
Resolved an issue in the form styles for error messages.
Tooltip
1
hx.tooltip
Added
Creates a small panel on hover, with supporting information elaborating content on screen.
Progress Bar
1
ProgressBarV1
Deprecated
Replaced by ProgressBarV2. Pass featureFlags.useUpdatedClass: true in the constructor options to create a new style progress bar.
AutocompletePicker
2
hx.AutocompletePicker
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.autocompletePickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
Modal
4
hx.ModalextendsEventEmitter
Deprecated
This Modal has been replaced by the new Modal class returned by modalCenter, modalRight and modalFullScreen
modalDialogModal
Deprecated
This has been replaced by modalCenter
modalInputModal
Deprecated
This has been replaced by modalCenter
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Picker
2
hx.PickerextendsEventEmitter
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.pickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.4.0
Updated ProgressBar and added VisualizationBar to give better visualization of segments and progress.
Resolved a few documentation issues where modules requiring Font Awesome 5 did not state this by adding a warning at the top of the page.
Progress Bar
3
1
ProgressBarV1
Deprecated
Replaced by ProgressBarV2. Pass featureFlags.useUpdatedClass: true in the constructor options to create a new style progress bar.
ProgressBarV2
Added
This prototype is not exposed directly. Use hx.ProgressBar with the featureFlags.useUpdatedClass: true option.
hx.ProgressBaroptionsObject
options
featureFlags
Added
Added featureFlags to enable a new progress bar class
hx.progressBaroptionsObject
options
featureFlags
Added
Added featureFlags to enable a new progress bar class
Visualization Bar
2
hx.VisualizationBar
Added
hx.visualizationBar
Added
Create a visualization bar component wrapped in a selection
AutocompletePicker
2
hx.AutocompletePicker
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.autocompletePickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
Modal
4
hx.ModalextendsEventEmitter
Deprecated
This Modal has been replaced by the new Modal class returned by modalCenter, modalRight and modalFullScreen
modalDialogModal
Deprecated
This has been replaced by modalCenter
modalInputModal
Deprecated
This has been replaced by modalCenter
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Picker
2
hx.PickerextendsEventEmitter
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.pickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.3.1
Resolved an issue with the form builder where the buttons were inadvertently moved to the top of the form.
Form Builder
1
2
hx.FormextendsEventEmitter
Bugfix
Resolved an issue where the buttons were moved to the top of the form
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
AutocompletePicker
2
hx.AutocompletePicker
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.autocompletePickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
Modal
4
hx.ModalextendsEventEmitter
Deprecated
This Modal has been replaced by the new Modal class returned by modalCenter, modalRight and modalFullScreen
modalDialogModal
Deprecated
This has been replaced by modalCenter
modalInputModal
Deprecated
This has been replaced by modalCenter
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Picker
2
hx.PickerextendsEventEmitter
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.pickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.3.0
Added moreButton and dropdownButton as a replacement for the current hx.Menu
Added the SingleSelect component to merge the functionality of the AutocompletePicker and Picker and provide updated UX.
Added the modalCenter, modalRight and modalFullScreen functions to replace the existing modal class and functions.
Added improved notifications via the Alert module and APIs.
Tweaked the form builder styles to work better in modals.
Alert
4
Alert
Added
The constructor for the alerts used by hx.alert and hx.message
hx.AlertManager
Added
The constructor for creating a custom alert manager. The alert and message methods use the default alert manager that creates a container within body
hx.alertAlert
Added
Displays an alert notification that can only be dismissed by the user clicking the close button or by calling the close method.
This utilises the inbuilt alert manager that will add the alert container to the body
hx.messageAlert
Added
Displays an alert notification that can only be dismissed by the user clicking the close button or by calling the close method.
This utilises the inbuilt alert manager that will add the alert container to the body
AutocompletePicker
2
hx.AutocompletePicker
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.autocompletePickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
DropdownButton
1
hx.dropdownButton
Added
Creates a dropdown button using the updated style with a downwards arrow to indicate that the button is a dropdown.
Menu
1
hx.MenuoptionsObject
options
featureFlags
Added
Added the useUpdatedStructure feature flag to remove the collapsibles when displaying grouped content in menus
Modal
4
4
hx.ModalextendsEventEmitter
Deprecated
This Modal has been replaced by the new Modal class returned by modalCenter, modalRight and modalFullScreen
modalDialogModal
Deprecated
This has been replaced by modalCenter
modalInputModal
Deprecated
This has been replaced by modalCenter
Modal
Added
The type returned when calling the three modal functions:
  • modalCenter
  • modalRight
  • modalFullScreen
modalCenterModal
Added
Renders a modal in the center of the screen
modalFullScreenModal
Added
Renders a modal that covers the whole screen.
modalRightModal
Added
Renders a modal displayed on the right hand side of the screen
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
MoreButton
1
hx.moreButton
Added
Creates a dropdown button using the updated style with an ellipsis arrow to indicate that more actions can be peformed.
Picker
2
hx.PickerextendsEventEmitter
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
hx.pickerSelection
Deprecated
Deprecated in favour of the new SingleSelect component that merges Picker and AutocompletePicker functionality.
Single Select
2
hx.SingleSelectextendsEventEmitter
Added
Creates a <select> like element that uses an <input> for consistency and to allow for better form validation.
hx.singleSelectSelection
Added
Fluid version of the single select. Returns a selection containing a pre-created single select component.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.2.0
Updated several components and modules to add new styles and functionality based on UX feedback.
The new feature flags are:
  • hx-flag-typography - Updated font styles
  • hx-flag-table - Updated table styles for readability
  • hx-flag-tabs - Updated table styles for readability
  • hx-flag-form - Updated form style (improved layout)
  • hx-flag-button - New button types (primary/secondary etc.)
  • hx-flag-tag-input - Initial tweaks to work with hx-flag-form
  • hx-flag-icon - Use FontAwesome 5 (free) instead of embedded hexagon-icons font
Resolved an issue with hx.Form where elements added with addButton could not be retrieved with .node(...)
Also removed the animation from dropdowns to make them feel more responsive and updated them to use MutationObserver to detect when the content is changed and re-position the dropdown.
Base
3
hx-flag-typography
Added
Update the font styles within the container this class is applied to.
hx-text-large
Added
Displays a paragraph of large text. It has a fixed size, and a custom line height, so you can experiment with it.
hx-text-large
Added
Displays a paragraph of small text. It is intended for use as notes and comments.
Dropdown
1
hx.DropdownextendsEventEmitter
Updated
Removed the animation from the show/hide for dropdowns. The showstart/showend etc. events will be deprecated in a minor release and removed in the next major release.
Also converted the dropdown to reposition whenever the content is updated to prevent overlap or overflow outside the window area. Uses MutationObserver
Error Pages
1
errorPage
Added
A function for creating an error page as a Selection based on passed in arguments
Form Builder
1
1
2
1
hx.FormextendsEventEmitter
Bugfix
Resolved an issue where elements added with addButton could not be retrieved with .node(...)
hx.Form
Removed
Added options argument to constructor
hx.Form
Added
Added options argument to constructor
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Form
1
hx-form.hx-flag-form
Added
Display the form using the updated structure. Intended for use with hx-input etc. Inputs and the hx-flag-button class.
Input
4
hx-input
Added
A class to give to inputs to apply the Hexagon styling to them.
This replaces the styles applied directly to the input tag which will be removed in the next major release
hx-input-textarea
Added
A class to give to textarea elements to apply the hexagon styling.
hx-input-checkbox
Added
A class to give to an input of type 'checkbox' to apply the hexagon styling.
hx-input-radio
Added
A class to give to an input of type 'radio' to apply the hexagon styling.
Layout
1
6
hx.groupoptionsObject
options
compactBoolean
Added
Whether to use a hx-compact-group instead of a hx-group
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Table
3
hx-flag-table
Added
Applies the updated table styles to help with aligning items and keeping row height consistent.
This class applies the following changes:
  • Increase font size for readability
  • Increase row height for readability
  • Remove row hover styles by default (can be added with hx-table-clickable-rows )
  • Make table full width by default (can be reset with hx-table-small )
hx-table-clickable-rows
Added
A class to set table rows to be clickable and use a hand cursor
hx-table-small
Added
A class that allows a table with few columns to shrink less than the size of its container.
Tabs
1
hx-flag-tabs
Added
Applies the updated tabs style. The updates are intended to make the tabs more readable and easier to identify what tab is active.
The key differences are the removal of context class support, with all tabs using the same colour and border, and the addition of padding to the content area to ensure the tabs always line up with the content.
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Modal
1
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.1.0
Added support for the Intl library when working with the preferences and date/time pickers.
This will be made the default in the next major release and is available under a feature flag:
hx.preferences.setup({
  featureFlags: {
    useIntlFormat: true,
  },
})
This should be done before any other hexagon components are used or created.
Toggling this enables full IANA timezone (e.g. Europe/London) and RFC5456 locale (e.g. en-GB) support.
This will cause the DatePicker, TimePicker and DateTimePicker to use the Intl API for localization of the on-screen dates and times instead of the moment.js or default (UK English) variant.
Also added some options to make working with date/time pickers easier.
Date Picker
2
hx.DatePickeroptionsObject
options
dateDate
Added
The date to initialise the date picker with
hx.datePickeroptionsObject
options
v2Features
useInputBoolean
Added
A boolean to toggle the use of an <input> instead of a <div> for the node to apply the datepicker to.
Date Time Picker
1
hx.DateTimePickeroptionsObject
options
dateDate
Added
The date to initialise the date/time picker with
Preferences
1
Preferences
setup
Added
A method for re-initialising the preferences object with a new configuration.
Calling with no arguments returns it to the default configuration.
Time Picker
1
hx.TimePickeroptionsObject
options
dateDate
Added
The date to initialise the time picker with
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Modal
1
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.0.3
Bugfix for TagInput validation in forms
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Form Builder
2
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Modal
1
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.0.2
Form Builder
1
2
hx.FormextendsEventEmitter
Bugfix
Resolved an issue where a text field with an autocompelete was incorrectly wrapped with a div, breaking the alignment of the form.
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Modal
1
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.0.1
Form Builder
5
2
hx.Form
addTextForm
Bugfix
Fixed an issue where the autocomplete data and options were incorrectly removed instead of deprecated
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Bugfix
Added the deprecated warning and fallback in to handle the deprecation
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Bugfix
Added the deprecated warning and fallback in to handle the deprecation
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
hx.Form
addTextoptionsObject
options
autocompleteDataData / Function
Bugfix
Added the deprecated warning and fallback in to handle the deprecation
hx.Form
addTextoptionsObject
options
autocompleteOptions
Bugfix
Added the deprecated warning and fallback in to handle the deprecation
Plot
1
hx.pieChartSelection
Bugfix
Fixed scope issue which prevented pieChart from being called more than once
AutoComplete
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
Color
2
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Filter
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
Fluid
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.iconSelection
Deprecated
Replaced by hx.i
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
Modal
1
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
Notice
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
Sort
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
Spinner
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
Util
3
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Button
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
2.0.0
A breaking change designed to improve the build and internals of Hexagon without impacting any of the code or APIs (where possible).
The core of this includes removing the builder api and replacing with proper modules
import { DatePicker } from 'hexagon-js';
See the Installation page for more information about installing and using Hexagon
See the Migration 1.x -> 2.x page for more information about migrating.
Breaking changes:
  • The build api for creating a bundle was removed
  • ColorPicker was removed
  • hx.theme replaced by hx.theme() (find/replace resolves this)
AutoComplete
2
2
hx.AutoCompleteextendsEventEmitter
Deprecated
Replaced by hx.Autocomplete (lowercase c)
hx.autoCompleteSelection
Deprecated
Replaced by hx.autocomplete (lowercase c)
hx.AutocompleteextendsEventEmitter
Added
The AutoComplete class can be used to add an auto complete suggestion dropdown to any input field.
hx.autocompleteSelection
Added
Creates a new AutoComplete set up on a detached element, wrapped in a selection
Button
1
11
hx-flag-button
Added
Styles a button (or buttons inside a container) using the updated button styles.
Can be applied directly to a hx-btn as well as a container with buttons inside
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Color Picker
1
hx.ColorPickerextendsEventEmitter
Removed
Removed the color picker module as it was complex and very few people used it. There are plenty of more suitable alternative libraries for colour pickers available.
Color
2
2
hx.isColorBoolean
Added
Checks if an object is a Color instance.
hx.color.isColorBoolean
Deprecated
Replaced by hx.isColor
hx.isColorStringBoolean
Added
Checks if a string is a css color string.
hx.color.isColorStringBoolean
Deprecated
Replaced by hx.isColorString
Component
6
hx.componentObject
Deprecated
Replaced with Selection::api api
hx.componentsArray[Object]
Deprecated
Replaced with Selection::api api
hx.component.register
Deprecated
Replaced with Selection::api api
hx.components.clear
Deprecated
Replaced with Selection::api api
Selection
componentObject / Array[Object]
Deprecated
Replaced with Selection::api api
Selection
componentsArray[Object] / Array[Array[Object]]
Deprecated
Replaced with Selection::api api
Data Table
3
hx.DataTableoptionsObject
options
stickyHeadersEnabledBoolean
Added
Added an option to allow the sticky headers to be disabled
hx.DataTable
stickyHeadersEnabledBoolean
Added
Gets the stickyHeadersEnabled option
hx.DataTable
stickyHeadersEnabledDataTable
Added
Sets the stickyHeadersEnabled option
Dropdown
1
hx.DropdowndropdownContentString / Function
dropdownContentString / Function
Updated
Dropdown content now supports being passed a Selection that will be automatically appended to the dropdown content.
String
A warning is shown when passing in string content due to the deprecation of Selection::html. It is still possible to pass in a string which will continue to work when this function is updated to use Selection::text
Filter
11
1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
filterFuzzyArray
Added
A function that allows filtering of array values that contain the letters in a search term in the same order but not necessarily directly after each other.
array = ['Bob Stevenson', 'Steve Stevenson', 'Dave Peters']
hx.filterFuzzy(array, 'ss') // returns ['Steve Stevenson', 'Bob Stevenson'] as the match in Steve Stevenson is stronger.
filterExactArray
Added
A function that allows filtering of array values that match a search term exactly.
filterStartsWithArray
Added
A function that allows filtering of array values that start with a search term.
filterContainsArray
Added
A function that allows filtering of array values that contain a search term.
filterLessArray
Added
A function that allows filtering of array values that are less than or equal to a search term.
filterGreaterArray
Added
A function that allows filtering of array values that are greater than or equal to a search term.
filterExcludesArray
Added
A function that allows filtering of array values that are don't contain a search term.
filterRegexArray
Added
A function that allows filtering of array values using a regular expression.
filterStringTypesArray[String]
Added
A function that returns the filter types that can be used when filtering strings:
[
  'contains',
  'exact'
  'excludes',
  'startsWith'
  'regex',
  'fuzzy'
]
filterNumberTypesArray[String]
Added
A function that returns the filter types that can be used when filtering numbers:
[
  'exact',
  'greater',
  'less'
]
filterTypesArray[String]
Added
A function that returns all the filter types:
[
  'contains',
  'exact'
  'greater',
  'less',
  'excludes',
  'startsWith'
  'regex',
  'fuzzy'
]
Fluid
2
2
hx.buttonSelection
Deprecated
Replaced by hx.button(class)
hx.buttonSelection
Added
Creates a detached button wrapped in a selection
hx.iconSelection
Deprecated
Replaced by hx.i
hx.iSelection
Added
Creates a detached <i> element wrapped in a selection
Form Builder
2
1
2
hx.Form
addTextForm
Updated
hx.Form
addTextoptionsObject
options
autoCompleteDataData / Function
Deprecated
This option has been replaced with the lowercase variant autocompleteData
hx.Form
addTextoptionsObject
options
autoCompleteOptions
Deprecated
This option has been replaced with the lowercase variant autocompleteOptions
hx.Form
addTextoptionsObject
options
autocompleteDataData / Function
Added
The data to use for auto complete suggestions. Can be either an array of data or a function that returns data. For a more detailed explanation, see the Autocomplete.
hx.Form
addTextoptionsObject
options
autocompleteOptions
Added
The options to use for the auto complete. For a more detailed explanation, see the Autocomplete page.
Label
2
hx.labelSelection
Deprecated
The label module is deprecated in favour of the badge module
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
2
6
hx.groupSelection
Deprecated
Replaced by hx.group(options)
hx.groupSelection
Added
Creates a detached div, classed with hx-group wrapped in a selection
hx.group.verticalSelection
Deprecated
Replaced by hx.group(options)
hx.group.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.group.vertical.fixedSelection
Deprecated
Replaced by hx.group(options)
hx.sectionSelection
Deprecated
Replaced by hx.section(options)
hx.section.fixedSelection
Deprecated
Replaced by hx.section(options)
hx.sectionSelection
Added
Creates a detached div, classed with hx-section wrapped in a selection
Modal
2
1
hx.modal
Deprecated
The modal object has been replaced by specific filter methods directly on the hx object.
modalDialogModal
Added
A function for creating a simple modal popup with a title, a message and some buttons.
modalInputModal
Added
A function for creating a simple modal popup with a title, a message and an input box (and confirm and cancel buttons).
Notice
2
3
hx.notice.headSelection
Deprecated
Replaced by hx.noticeHead
hx.notice.bodySelection
Deprecated
Replaced by hx.noticeBody
hx.noticeHeadSelection
Added
Creates a detached div, classed with hx-notice-head, wrapped in a selection
hx.noticeBodySelection
Added
Creates a detached div, classed with hx-notice-body, wrapped in a selection
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Notify
6
6
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notifyDefaultTimeoutNumber
Added
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
hx.notifyLoadingNotification
Added
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.notifyInfoNotification
Added
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.notifyWarningNotification
Added
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.notifyNegativeNotification
Added
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.notifyPositiveNotification
Added
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
Plot
1
1
hx.theme.plot
Removed
Replaced by hx.theme().plot - This is a breaking change
hx.theme().plot
Added
Selection
4
2
Selection
apiAny
Added
A method for and getting an API object from a DOM node.
All hexagon components register an API, the first un-named API to be registered can be retrieved with this method.
Selection
apiAny
Added
A method for and getting an API object from a DOM node under a given name
All hexagon components register an API, the first un-named API to be registered can be retrieved with this method.
Selection
apiSelection
Added
A method for and setting an API object from a DOM node.
All hexagon components register an API, the first un-named API to be registered can be retrieved with this method.
Selection
apiSelection
Added
A method for and setting an API object from a DOM node under a given name
All hexagon components register an API, the first un-named API to be registered can be retrieved with this method.
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Sort
3
1
hx.sort
Deprecated
The hx.sort methods have been renamed to explict functions: hx.compare, hx.compareNullsLast, hx.localeCompare
hx.compareNumber
Added
A function to compare two items and return a number based on the priority. It takes into account the character order of text and the numeric order of numbers, as opposed to a standard text sort.
array = ['20','1','100']
array.sort() // returns ['1', '100', '20']
array.sort(hx.sort.compare) // returns ['1', '20', '100']
hx.localeCompare
Added
A function to return a localised sort function to use directly when calling array.sort.
It takes into account the character order of text for a specific locale and the numeric order of numbers.
Some browsers don't support the locale and options parameters.
Browser support and accepted values for the locale and options parameters can be found on the
svCompare = hx.sort.localeCompare('sv')
array.sort(svCompare)
svCompare in the above example would evaluate to:
function(a, b){
  return hx.sort.localeCompare(a, b, 'sv')
};
hx.compareNullsLastNumber
Added
A sort function that sorts nulls to the end of an array.
Spinner
1
1
hx.spinner.wideSelection
Deprecated
Replaced by hx.spinnerWide
hx.spinnerWideSelection
Added
Creates a detached span, classed with hx-spinner-wide, wrapped in a selection
Util
3
3
hx.versionString
Added
The version property to allow easy identification of what hexagon version is in use.
hx.merge.definedObject
Deprecated
Replaced by hx.mergeDefined
hx.mergeDefinedObject
Added
Merges multiple objects together, only copying across defined values and returns the result as a new object.
The objects will be merged recursively, and arrays will be cloned. Any object that is not a plain object (see the isPlainObject function) will be replaced with an empty object {}.
// returns {'a': 1, 'b': 3}
hx.mergeDefined({'a': 1}, {'a': undefined}, {'b': 3})

// returns {a: {b: 2, c: {d: 4, e: 'value'}}}
hx.mergeDefined({a: {b: 2, c: {d: 3}}}, {a: {b: undefined, c: {d: 4, e: 'value'}}})
hx.shallowMerge.definedObject
Deprecated
Replaced by hx.shallowMergeDefined
hx.shallowMergeDefinedObject
Added
Merges multiple objects together where the first level of references are copied provided they are defined values (not undefined), and returns the result as a new object.
// returns {'a': 1, 'b': 3}
hx.shallowMergeDefined({'a': 1}, {'a': undefined}, {'b': 3})

// returns {a: {b: undefined, c: {d: 4, e: "value" }}}
hx.shallowMergeDefined({a: {b: 2, c: {d: 3}}}, {a: {b: undefined, c: {d: 4, e: 'value'}}})
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
1.20.0
Added new button styles, a Badges module to replace Labels and updated the Error Pages and Layout module in preparation for version 2.0.0.
Also added parameter replacement, support for plurals and a helper for converting multiline text strings to a selection containing multiple 'paragraphs' to the hx.userFacingText function/module.
Badge
2
hx-badge
Added
Added module to replace the Label module with better UX considerations and usage guidelines
hx.badgeSelection
Added
A function that returns a badge as a selection.
Button
8
11
hx-btn
hx-action
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This context has been replaced by hx-primary
hx-btn
hx-btn-outline
Deprecated
The context classes for buttons have been updated to help improve UX considerations. Outline/inverted buttons have been removed as they can cause confusion.
hx-btn
hx-btn-invisible
Deprecated
This class has been updated to hx-btn-link. This retains the spacing and styles the text as a link.
hx-btn
hx-btn-link
Added
Display a button with the style of a link but the spacing of a button to help align it with other elements and improve the hit area for touch devices.
hx-btn
hx-btn-micro
Added
The smallest type of button available. Use when there isn't enough space to fit a small or normal button.
hx-btn
hx-btn-normal
Added
The default button size. Useful for being explicit about button size.
hx-btn
hx-btn-small
Added
A small button. Use when there isn't enough space to fit a normal button.
hx-btn
hx-complement
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-contrast
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-danger
Added
A button for use when you have an action with a negative meaning, like ‘reject’ or ‘delete’.
hx-btn
hx-disabled
Deprecated
This class has been deprecated in favour of adding the disabled attribute to the button to prevent user interaction.
hx-btn
hx-info
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-negative
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-danger
hx-btn
hx-positive
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class has been replaced by hx-success
hx-btn
hx-primary
Added
A button for use when there is an action that’s more important than other ones on the page, and you want to draw the user’s attention towards it.
You can have one Primary button per screen (excluding modal dialogs).
But sometimes you shouldn’t use a Primary button at all, e.g. when all the actions on the page are very rarely used, or when all the actions are of equal importance.
hx-btn
hx-secondary
Added
A button for use inside forms to allow actions to be performed on form fields.
The secondary button should be paired with a form field. And the functionality of the secondary button should be related to the form field it’s paired with.
Like the Primary button, the Secondary button is optional - only use it if a form requires it.
hx-btn
hx-success
Added
A button for use when you have an action that has a positive meaning, like ‘approve’, or ‘confirm’.
hx-btn
hx-warning
Deprecated
The context classes for buttons have been updated to help improve UX considerations. This class will be removed in the next major release.
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Error Pages
1
hx-error-message
Updated
Tweaked the styles to improve readability and usability.
Label
1
hx-label
Deprecated
This module has been replaced by the Badge module
Layout
5
hx-flag-spacing
Added
A class to assist with migration to version 2 of Hexagon. Uses a more explicit variable for the padding and margin applied by the margin/padding classes from this module.
hx-margin-top
Added
Added the directional margin classes as they were documented but not implmented.
hx-margin-bottom
Added
Added the directional margin classes as they were documented but not implmented.
hx-margin-left
Added
Added the directional margin classes as they were documented but not implmented.
hx-margin-right
Added
Added the directional margin classes as they were documented but not implmented.
User Facing Text
2
3
hx.userFacingTextString
Updated
This function will now show a console warning when it returns a string with a $param in.
Call with hx.userFacingText(module, key, parameters) to replace the parameters immediately or call hx.userFacingText(module, key, true) if you need to retain the current functionality and hide the warning.
hx.userFacingText
Updated
Updated the value argument to allow an array to be set, allowing plurals.
hx.userFacingText('example', 'plural-key', [
  [null, 0, 'Value Zero'],
  [1, 1, 'Value Singular'],
  [2, 2, 'Value Two'],
  [3, null, 'Value $n']
])

hx.userFacingText('example', 'plural-key')
hx.userFacingText('example', 'plural-key', { n: 1 })
// => 'Value Singular'

hx.userFacingText('example', 'plural-key', { n: 0 })
// => 'Value Zero'

hx.userFacingText('example', 'plural-key', { n: 2 })
// => 'Value Two'

hx.userFacingText('example', 'plural-key', { n: 100 })
// => 'Value 100'
hx.userFacingTextString
Updated
Added a new function for getting the user facing text with parameters
hx.userFacingText.format
Added
Expose the function used in Hexagon to format strings with parameters
hx.userFacingText.toMultilineSelectionSelection
Added
Added a utility for converting a text string with \n characters into a selection containing span elements separated by br elements
Paginator
4
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
Color Picker
1
hx.ColorPickerextendsEventEmitter
Deprecated
#484
The colour picker has been deprecated and will be removed in a later release.
Please use a suitable third-party colour picker if you still require this module.
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Util
1
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.19.0
Update the paginator to add feature flags for version 2.0.0 to allow for an easier migration path.
Paginator
26
1
4
hx.PaginatorextendsEventEmitter
Updated
In preparation for version 2, new visuals have been added behind feature flags to improve the UI, UX and accessibility of the paginator component.
hx.PaginatoroptionsObject
options
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.PaginatoroptionsObject
options
updatePageOnSelectBoolean
Added
Whether to update the current page when updating the paginator value. Set to false when wrapping with another component that should control the currently active page.
hx.PaginatoroptionsObject
options
paginatorAriaString
Added
The text to use for the aria-label on the container to enable screen readers to navigate using the paginator
hx.PaginatoroptionsObject
options
currentPageAriaString
Added
The text to use for the aria-label on the current page to enable screen readers to navigate using the paginator
This string can contain $page which will be replaced by the paginator when rendering (e.g. 'XXX $page XXX' would be converted to 'XXX 4 XXX'
hx.PaginatoroptionsObject
options
gotoPageAriaString
Added
The text to use for the aria-label on the numeric page buttons to enable screen readers to navigate using the paginator
This string can contain $page which will be replaced by the paginator when rendering (e.g. 'XXX $page XXX' would be converted to 'XXX 4 XXX'
hx.PaginatoroptionsObject
options
prevPageAriaString
Added
The text to use for the aria-label on the previous page button to enable screen readers to navigate using the paginator
This string can contain $page which will be replaced by the paginator when rendering (e.g. 'XXX $page XXX' would be converted to 'XXX 4 XXX'
hx.PaginatoroptionsObject
options
nextPageAriaString
Added
The text to use for the aria-label on the next page button to enable screen readers to navigate using the paginator
This string can contain $page which will be replaced by the paginator when rendering (e.g. 'XXX $page XXX' would be converted to 'XXX 4 XXX'
hx.PaginatoroptionsObject
options
prevTextString
Added
The text to display in the previous button
hx.PaginatoroptionsObject
options
nextTextString
Added
The text to display in the next button
hx.PaginatoroptionsObject
options
v2Features
Added
hx.Paginator
updatePageOnSelectPaginator
Added
Added setter getter methods for all options
hx.Paginator
updatePageOnSelectBoolean
Added
Added setter getter methods for all options
hx.Paginator
paginatorAriaPaginator
Added
Added setter getter methods for all options
hx.Paginator
paginatorAriaString
Added
Added setter getter methods for all options
hx.Paginator
currentPageAriaPaginator
Added
Added setter getter methods for all options
hx.Paginator
currentPageAriaString
Added
Added setter getter methods for all options
hx.Paginator
gotoPageAriaPaginator
Added
Added setter getter methods for all options
hx.Paginator
gotoPageAriaString
Added
Added setter getter methods for all options
hx.Paginator
prevPageAriaPaginator
Added
Added setter getter methods for all options
hx.Paginator
prevPageAriaString
Added
Added setter getter methods for all options
hx.Paginator
nextPageAriaPaginator
Added
Added setter getter methods for all options
hx.Paginator
nextPageAriaString
Added
Added setter getter methods for all options
hx.Paginator
prevTextPaginator
Added
Added setter getter methods for all options
hx.Paginator
prevTextString
Added
Added setter getter methods for all options
hx.Paginator
nextTextPaginator
Added
Added setter getter methods for all options
hx.Paginator
nextTextString
Added
Added setter getter methods for all options
hx.Paginator
visibleCountPaginator
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
visibleCountNumber
Deprecated
The visibleCount will be replaced in version 2 with the padding option.
hx.Paginator
change
selectedNumber
Deprecated
This has been renamed to value for consitency with other Hexagon events. This property will be removed in version 2.0.0
hx.Paginator
change
valueNumber
Added
The selected page (1 based index).
Button
1
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Color Picker
1
hx.ColorPickerextendsEventEmitter
Deprecated
#484
The colour picker has been deprecated and will be removed in a later release.
Please use a suitable third-party colour picker if you still require this module.
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Util
1
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.18.1
Update the Datepicker to add feature flags for version 2.0.0 to allow for an easier migration path.
Additionally resolve some long standing bugs with Autocomplete and the side collapsible
AutocompletePicker
2
hx.AutocompletePickeroptionsObject
options
useCacheBoolean
Bugfix
#511
Resolved an issue where this value was ignored
hx.autocompletePickeroptionsObject
options
useCacheBoolean
Bugfix
#511
Resolved an issue where this value was ignored
Date Picker
2
1
hx.DatePickerextendsEventEmitter
Updated
Updated in preparation for the next major release.
hx.DatePickeroptionsObject
options
v2Features
Added
Added several flags that enable functionality that will be default in version 2.0.0 of Hexagon.
hx.DatePickeroptionsObject
options
allowViewChangeBoolea
Added
Added an option to toggle the ability to view the calendar by year/decade
Side Collapsible
1
hx.SideCollapsibleextendsEventEmitter
Bugfix
#515
Fixed an issue where a side collapsible with scrollable content would not allow the scrollbar to be clicked.
Button
1
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Color Picker
1
hx.ColorPickerextendsEventEmitter
Deprecated
#484
The colour picker has been deprecated and will be removed in a later release.
Please use a suitable third-party colour picker if you still require this module.
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Util
1
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.17.1
Revert issue 438 to resolve a breaking issue with the Autocomplete Picker when using objects as items
Fix an issue with the form validation that was not correctly handling the new form buttons element and add tests
AutocompletePicker
1
hx.AutocompletePicker
changeString
Bugfix
#438
Revert change 438
This change caused a breaking difference in the API as using object values requires checking data.value.value in most implementations.
This change will be made in the next breaking release.
Form
1
Bugfix
Resolved an issue where form validation failed if using the new hx-form-buttons
Button
1
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
Color Picker
1
hx.ColorPickerextendsEventEmitter
Deprecated
#484
The colour picker has been deprecated and will be removed in a later release.
Please use a suitable third-party colour picker if you still require this module.
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Format
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Util
1
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.17.0
Deprecated a selection of APIs and classes that will be removed in the next major release in order to standardize the library and improve maintainability.
Several APIs have been deprecated without a replacement or with native JS/ES6 replacements suggested (such as using fetch instead of hx.request ). Making these changes in advance of the upcoming major release will make transitioning much easier.
In addition to the deprecations, multiple features have been added from the backlog to further improve the capabilities of the existing components. In addition to this, several bugs have also been resolved.
AutocompletePicker
2
hx.AutocompletePicker
changeString
Bugfix
#438
Updated the AutocompletePicker to update the value when setting the value to undefined
hx.autocompletePickerSelection
Bugfix
#435
Resolved an issue to make it possible to clear the value of the autocomplete picker using .value(undefined)
AutoComplete
4
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#338
Resolved an issue when using async data and mustMatch threw an error and broke the dropdown when pressing enter before the data is returned.
hx.AutoCompleteoptionsObject
options
valueString / Any
Added
#349
Added the ability to set the autocomplete value in the constructor
hx.autoCompleteoptionsObject
options
valueString / Any
Added
#349
Added the ability to set the autocomplete value in the constructor
hx.AutocompleteoptionsObject
options
valueString / Any
Added
#349
Added the ability to set the autocomplete value in the constructor
hx.autocompleteoptionsObject
options
valueString / Any
Added
#349
Added the ability to set the autocomplete value in the constructor
Button
1
1
hx-btn
hx-btn-invert
Deprecated
#469
Renamed to hx-btn-outline
hx-btn
hx-btn-outline
Added
#469
Changed hx-btn-invert to a more sensible class name
Color Picker
1
hx.ColorPickerextendsEventEmitter
Deprecated
#484
The colour picker has been deprecated and will be removed in a later release.
Please use a suitable third-party colour picker if you still require this module.
Data Table
2
hx.DataTableoptionsObject
options
selectedRowsArray
Added
#86
Added the ability to set the selectedRows in the constructor
hx.DataTableoptionsObject
options
expandedRowsArray
Added
#86
Added the ability to set the expandedRows in the constructor
Date Picker
2
1
hx.DatePickeroptionsObject
options
range
Added
#350
Added the ability to set the range when constructing a date picker
hx.DatePickeroptionsObject
options
validRange
Added
#350
Added the ability to set the valid range when constructing a date picker
hx.DatePicker
localeString
Updated
#468
Updated the locale method to allow per-instance locales and un-deprecated the locale methods
Date Time Picker
2
2
hx.DateTimePicker
localeDateTimePicker
Updated
#468
Updated the locale method to allow per-instance locales and un-deprecated the locale methods
hx.DateTimePicker
localeString
Updated
#468
Updated the locale method to allow per-instance locales and un-deprecated the locale methods
hx.DateTimePicker
timezoneDateTimePicker
Added
#468
Added a method to allow the setting of per-instance timezones
hx.DateTimePicker
timezoneString
Added
#468
Added a method to allow the setting of per-instance timezones
Drawing
1
hx.DrawingextendsEventEmitter
Deprecated
#480
This module has been deprecated and will be moved to a standalone library in a later release.
Dropdown
2
hx.DropdownoptionsObject
options
spacingNumber
Removed
#250
The spacing value is ignored by the dropdown and has subsequently been removed from the API
hx.Dropdown
options
spacingNumber
Removed
#250
The spacing value is ignored by the dropdown and has subsequently been removed from the API
Form Builder
3
1
hx.Form
addTagInputoptionsObject
options
requiredBoolean
Added
#238
Added the ability to have 'required' tag inputs where at least one value must be entered
hx.Form
addSubmitForm
Removed
hx.Form
addSubmitForm
Added
#395
Added the options argument to allow the button to be hidden or disabled when it is added to the form
hx.Form
addButtonForm
Added
#395
Added the ability to add multiple buttons to the bottom of a form
Format
5
6
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.format
zeroPadFunction
Deprecated
#457
The format factories have been deprecated in favour of functions that take a number directly and return the formatted number.
hx.roundString
Added
#457
Added plain functions for formatting numbers that take the number and return the formatted number (as opposed to a curried function)
hx.siString
Added
#457
Added plain functions for formatting numbers that take the number and return the formatted number (as opposed to a curried function)
hx.expString
Added
#457
Added plain functions for formatting numbers that take the number and return the formatted number (as opposed to a curried function)
hx.fixedString
Added
#457
Added plain functions for formatting numbers that take the number and return the formatted number (as opposed to a curried function)
hx.zeroPadString
Added
#457
Added plain functions for formatting numbers that take the number and return the formatted number (as opposed to a curried function)
Label
1
hx-label
hx-label-outline
Added
#247
Added an outline class to match the button outlines
List
1
hx.List
Deprecated
#336
Deprecated in favour of using standard JS Arrays
Map
1
hx.Map
Deprecated
#336
Deprecated in favour of native ES6 Map
Plot
1
Bugfix
#348
Resolves an issue where the label formatters were not correctly being read for series.
Preferences
3
1
Preferences
applyTimezoneOffsetDate
Removed
Preferences
applyTimezoneOffsetDate
Added
Updated the offset argument to additionally take a timezone string directly instead of needing the numeric offset
Preferences
isLocaleSupportedBoolean
Added
Added a method for checking whether the locale is supported
Preferences
isTimezoneSupportedBoolean
Added
Added a method for checking whether the timezone is supported
Request
8
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.request
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.html
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.json
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
hx.text
Deprecated
#22
This function has been deprecated due to the increase in browser support for fetch. You should transition to using fetch alongside a suitable polyfill
Selection
2
Selection
htmlSelection
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Selection
html
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Set
1
hx.Set
Deprecated
#336
Deprecated in favour of native ES6 Set
Tag Input
1
hx.TagInputextendsEventEmitter
Bugfix
#405
Fixed an issue where [object Object] would be displayed when using object items in an autocomplete within the tag input.
Time Picker
2
2
hx.TimePicker
localeTimePicker
Updated
#468
Updated the locale method to allow per-instance locales and un-deprecated the locale methods
hx.TimePicker
localeString
Updated
#468
Updated the locale method to allow per-instance locales and un-deprecated the locale methods
hx.TimePicker
timezoneTimePicker
Added
#468
Added a method to allow the setting of per-instance timezones
hx.TimePicker
timezoneString
Added
#468
Added a method to allow the setting of per-instance timezones
Util
1
hx.parseHTMLDocumentFragment
Deprecated
#375
The html method for selections has been removed to prevent XSS attacks.
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.16.0
Added the ability to use Toggle in FormBuilder and the ability to disable a Toggle. Also fixed a bug where the DatePicker calendar was incorrectly starting on a Sunday instead of Monday as specified in ISO 8601. When using moment.js the week start will still be taken from the currently selected locale's week start.
Date Picker
1
Bugfix
Fixed an issue where the default calendar display was showing Sunday as the week start instead of Monday as dictated by ISO standards and an issue where momentjs was using the browser locale instead of the currently set locale to calculate the week start.
Form Builder
1
hx.Form
addToggle
Added
#444
New method for adding a Toggle
Toggle
2
hx.Toggle
disabledToggle
Added
#444
Added the ability to disable a toggle
hx.Toggle
disabledBoolean
Added
#444
Added the ability to disable a toggle
Logo
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.15.0
Fixed several issues with IE to provide more support for IE/Edge
Data Table
1
hx.DataTableextendsEventEmitter
Bugfix
Resolved an issue where the input had 0 width in IE
Date Picker
1
Bugfix
Fixed an issue where IE was displaying the datepicker calendar in compact mode
Dropdown
1
hx.DropdownextendsEventEmitter
Fixed a bug with the dropdown positioning logic.
File Input
1
Bugfix
Fixed an issue where the files were immediately cleared when adding via the files popup in IE
Logo
1
1
Deprecated
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Added
#440
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Spinner
1
hx-spinner-wide
Bugfix
Fixed an issue with IE support of the wide spinner by updating the CSS
Titlebar
1
Updated
Updated the logo in the example to use <div> the new Logo expectation
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.14.0
Deprecated hx.Meter and fixed a few bugs.
Form Builder
8
2
hx.Form
addTextoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addEmailoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addNumberoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addPasswordoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addUrloptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addCheckboxoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addRadiooptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addTextAreaoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addPickerForm
Bugfix
#304
Resolved an issue with validation when un-setting picker values
hx.Form
addAutocompletePickerForm
Bugfix
#304
Resolved an issue with validation when un-setting picker values
Form
1
hx.validateFormObject
Bugfix
#301
Fixed an issue where the validateForm function would validate against hidden elements
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Plot
1
hx.PieChart
Bugfix
#428
Fixed a divide by zero issue which caused single segment pie charts not to be rendered
Titlebar
1
hx.TitleBar
activeTitleBar
Bugfix
#390
Correctly allow the active element to be set using a Selection or HTMLElement
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.13.0
Add several new features and style tweaks based on UX discussion(s)
Base
1
Bugfix
Fixed the font size inheritance for buttons
Button
1
hx-btn
Updated
Updated the button theme variables to allow the border colour for each button to be set independently
Data Table
1
hx.DataTableoptionsObject
options
highlightOnHoverBoolean
Added
Added the ability to disable row hover for data tables
Date Picker
1
Bugfix
Resolved an issue with the styles that was causing the 'year' selection to display incorrectly
Fast Click
1
Bugfix
#418
Fixed an issue with the click handlers on iPads
Input Group
1
Updated
Updated the styles to prevent 'double borders'
Menu
1
Updated
Updated the display of the 'active' item to work as the user would expect
Spinner
1
hx-spinner
hx-spinner-large
Added
Added a large spinner
Tag Input
2
Bugfix
#406
Fixed the order the events are fired in.
Bugfix
#410
Fixed the event type of the 'add tag' event when added by a user
Titlebar
1
Bugfix
Added the missing 'action' context to the titlebar
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.12.0
Some utility methods on Selection have been added for replacing DOM and setting the children of a Selection
Data Table
5
hx.DataTableoptionsObject
options
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaDataTable
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaDataTable
Added
#401
Added the ability to use filter types in the advanced search of data tables
Filter
3
hx.filter
stringTypesArray[String]
Added
#401
Added functions for getting the filter types
hx.filter
numberTypesArray[String]
Added
#401
Added functions for getting the filter types
hx.filter
Added
#401
Added functions for getting the filter types
Pivot Table
1
hx.PivotTableoptionsObject
options
fullWidthBoolean
Added
#396
Added the fullWidth option to pivot table
Selection
2
Selection
setSelection
Added
Add a new method for setting the children of a Selection
Selection
replaceSelection
Added
Added a new method for replacing some DOM with different DOM.
Titlebar
1
hx.titleBar
Added
#399
Added a minimal fluid version of the titlebar
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.11.0
Fixed an issue where running the tests in a different timezone caused them to fail unexpectedly and the associated bug in the timezone logic.
Fixed selections so calling hx.select on a Selection no longer shows a warning (and instead performs a no-op)
Date Picker
1
Bugfix
#378
Resolved an issue with how the timezones worked when not in UTC
Selection
1
Selection
Updated
#376
Removed warning when calling hx.select on a Selection.
Sort
2
2
hx.sort
compareNumber
Bugfix
#372
Resolved an issue where sorting with undefined would treat it as a string.
hx.sort
localeCompareFunction
Bugfix
#372
Resolved an issue where sorting with undefined would treat it as a string.
hx.sort
localeCompareoptionsObject
options
nullsLastBoolean
Added
#372
Added an option for sorting nulls to the end of an array when using localeCompare.
hx.sort
compareNullsLastNumber
Added
#372
Added an function for sorting nulls to the end of an array.
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.10.0
Resolved some issues with the data table sort/filter.
Added automatic label collision detection to graphs to prevent label overlap.
Made Inline Editables allow 'empty' values.
Fixed a selection of bugs.
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#346
Resolved an issue where typing enter quickly before debouncing completes allowed values that didn't match the current filter to be entered
Card
1
hx-card
hx-card-section
Bugfix
#137
Resolved an issue with the vertical alignment of card sections
Data Table
2
hx.DataTableextendsEventEmitter
Bugfix
#352
Resolved an issue where setting the filter with the api would not update the filter input.
hx.dataTable
objectFeedFeed
Bugfix
#360
Resolved an issue where the object feed was using a cached set of filtered rows incorrectly when sorting multiple times on the same column
Form Builder
2
hx.FormextendsEventEmitter
Bugfix
#359
Resolved an issue when attempting to add fields that are disabled/hidden as their initial state
Bugfix
#368
Resolved an issue where disabled form fields would not return their value when using the value or data method.
Inline Editable
2
1
2
hx.InlineEditableextendsEventEmitter
Updated
#351
Made the input take focus when the editable is 'opened' and made it possible to press 'enter' to set the value.
hx.InlineEditable
Removed
#351
Added the 'options' parameter to the constructor
hx.InlineEditable
Added
#351
Added the options parameter to the constructor to allow the 'enter value' text to be set
hx.InlineEditable
change
Removed
#351
The api property was always set to false. It has been removed and replaced with the standard 'cause' property
hx.InlineEditable
change
causeString
Added
#351
Replaced the broken 'api' property
Plot
6
hx.AxisoptionsObject
options
x
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.AxisoptionsObject
options
y
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
x
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
x
doCollisionDetectionAxis
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
y
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
y
doCollisionDetectionAxis
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
Selection
1
Selection
Bugfix
Resolved a bug with shallowSelect when calling it on nodes without children.
View
1
View
Bugfix
#358
Updated the internals to use shallowSelectAll to allow nested views and prevent children affecting the behaviour of the view
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.9.0
Resolved an issue caused by the addition of PointerEvent in Chrome 55+.
The native PointerEvent has been disabled in this version because of an incompatibility with the Hexagon pointer events. Native support will be re-introduced in the next major release.
Fluid
2
hx.divSelection
Added
Fluid api for constructing div elements
hx.spanSelection
Added
Fluid api for constructing span elements
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.8.2
Fix an issue with the autocomplete and autocomplete picker that caused it to break when there are no disabled items to filter.
AutocompletePicker
1
hx.AutocompletePicker
Bugfix
#343
Fixed an issue where the filtering failed when there were no 'disabled' items in the list
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#343
Fixed an issue where the filtering failed when there were no 'disabled' items in the list
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.8.1
Patch the issue introduced in the Notification module introduced in the previous version.
Notify
1
Bugfix
Fix an issue with the notifications that broke the string-based functionality
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.8.0
Added support for lazily loaded trees when building from json
Allow HTML content inside notifications
Disable the increment/decrement buttons for number pickers
This release also includes a selection of bugfixes
AutocompletePicker
1
Bugfix
#273
Fixed an issue where object based items were being sorted incorrectly
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#273
Fixed an issue where object based items were being sorted incorrectly
Crumbtrail
1
hx.Crumbtrail
itemsArray
Bugfix
#309
Data Table
1
hx.DataTableextendsEventEmitter
Bugfix
#323
Resolved an issue where nested tables would never hide their 'Loading' overlay
Event Emitter
1
hx.EventEmitter
Bugfix
#179
Updated the off method to clean up the internal objects when removing the last listener for a namespace
Form
1
hx.validateFormObject
Updated
Updated the validation to show the error for the focused element instead of the first error it finds
Notify
12
12
1
Info
#299
Updated the notification functions and methods so that the message can be an HTMLElement, Selection or an Object and added a renderer to the notification options for rendering Object messages.
The notifications will behave as they did previously with strings but now accept additional types for the message.
hx.NotificationManager
loadingNotification
Removed
#299
hx.NotificationManager
notify
Removed
#299
hx.NotificationManager
infoNotification
Removed
#299
hx.NotificationManager
warningNotification
Removed
#299
hx.NotificationManager
negativeNotification
Removed
#299
hx.NotificationManager
positiveNotification
Removed
#299
hx.NotificationManager
notifyNotification
Added
#299
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.NotificationManager
loadingNotification
Added
#299
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.NotificationManager
infoNotification
Added
#299
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.NotificationManager
warningNotification
Added
#299
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.NotificationManager
negativeNotification
Added
#299
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.NotificationManager
positiveNotification
Added
#299
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
hx.notifyNotification
Removed
#299
hx.notify.infoNotification
Removed
#299
hx.notify.loadingNotification
Removed
#299
hx.notify.warningNotification
Removed
#299
hx.notify.negativeNotification
Removed
#299
hx.notify.positiveNotification
Removed
#299
hx.notifyNotification
Added
#299
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.notify.loadingNotification
Added
#299
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.notify.infoNotification
Added
#299
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.notify.warningNotification
Added
#299
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.notify.negativeNotification
Added
#299
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.notify.positiveNotification
Added
#299
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
Number Picker
1
1
hx.NumberPickerextendsEventEmitter
Bugfix
#328
Fixed an issue where the value would not adhere to the min/max when changing via the input
Updated
#159
Disable the increment/decrement buttons when the value is at min/max
Picker
1
hx.PickeroptionsObject
options
fullWidthBoolean
Added
#275
Added a full width option for pickers
Plot
1
Bugfix
#290
Prevent text wrapping in basic labels (e.g. sparklines)
Preferences
1
Updated
#254
Added logic to update the current timezone in hx.preferences when not using Moment.js
Sticky Table Headers
1
Bugfix
#236
Prevent sticky table headers showing up in Ctrl+F search results
Tag Input
2
hx.TagInputextendsEventEmitter
Bugfix
#203
Updated the tag input so that the validator behaves the same regardless of whether it is inside a form
Bugfix
#313
Fixed an issue where using an autocomplete allowed multiple tags to be entered at once
Tree
1
hx.TreeoptionsObject
options
Added
#29
Added an option for lazily rendering tree nodes when building from JSON
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.7.0
Added support for lazily loaded data table feeds
Added the disabled context class to hx.palette.context
Fixed a bug in sticky table headers that prevented nested sticky tables being created
Data Table
2
Feed
rowscallbackFunction
callbackdataObject
data
filteredCountNumber
Bugfix
#305
Fixed issue with page-size-selector for lazy feeds
Bugfix
#306
Fixed issue with page-selector for lazy feeds
Palette
8
hx.palette.context
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.contextString
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.textContext
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.textContextString
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.backgroundContext
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.backgroundContextString
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.borderContext
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.borderContextString
Updated
#298
Added 'disabled' to the list of context classes
Sticky Table Headers
1
Bugfix
#302
Fix that allows sticky tables to be nested
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.6.0
Added a selection of new features including the addition of autocomplete to tag inputs, the ability to press and hold to increment/decrement Number Pickers, improved reusability of Dropdowns and the addition of min/max options to Sparklines.
Dropdown
4
hx.Dropdown
renderDropdown
Added
#180
Added a new method for re-rendering the dropdown whilst it is open
hx.Dropdown
dropdownContentString / Function
Added
#180
Added a new method for getting the currently set dropdown content
hx.Dropdown
dropdownContentDropdown
Added
#180
Added a new method for getting the currently set dropdown content
hx.Dropdown
render
Added
#180
A new event fired when the dropdown has finished rendering
Number Picker
2
hx.NumberPickeroptionsObject
options
incrementOnHoldBoolean
Added
#177
Added the ability to press and hold to increment number pickers
hx.NumberPickeroptionsObject
options
incrementDelayNumber
Added
#177
Added the ability to press and hold to increment number pickers
Plot
2
2
LineSeriesextendsEventEmitter
Bugfix
#89
Updated line series so that the labels show for the first/last points
hx.Sparkline
Bugfix
#89
Updated sparkline so that the labels show for the first/last points
hx.SparklineoptionsObject
options
Added
#261
Added an option for setting the minimum y value for a sparkline
hx.SparklineoptionsObject
options
Added
#261
Added an option for setting the maximum y value for a sparkline
Tag Input
4
hx.TagInputoptionsObject
options
autocompleteDataArray / Function
Added
#194
The data to use as suggestions for the tag input. Data can be specified as an array of items or as a function that returns an array of items.
See
By default, no autocompletion is provided.
hx.TagInputoptionsObject
options
autocompleteOptions
Added
#194
Special options to be passed to the autocomplete. See the Autocompleteconstructor for the available options.
hx.TagInputoptionsObject
options
excludeTagsBoolean
Added
#194
Determines whether existing tags should be excluded from the autocompletion.
hx.TagInputoptionsObject
options
mustMatchAutocompleteBoolean
Added
#194
Determines whether the TagInput should only allow inputs that come from the autocomplete (if defined). Be default true.
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.5.1
Fixed a selection of bugs including an issue caused by meters when rendering with 0 width/height, button alignment in forms and notification flex styles.
Form
1
Bugfix
#274
Resolved an issue with the alignment of buttons in forms
Meter
1
1
Bugfix
#170
Resolved an issue where calling render would thrown an error for 0 height/width meters
hx.MeteroptionsObject
options
redrawOnResizeBoolean
Added
Added an option to allow the meter to be redrawn manually
Notify
1
Bugfix
#280
Fixed the flex styles for notifications
Plot
1
hx.Sparkline
Bugfix
#279
Fixed the default redrawOnResize value
Tag Input
1
Bugfix
#264
Updated the tag input to correctly handle undefined values
Titlebar
1
Bugfix
#248
Resolved an issue with the precedence of the link styles
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.5.0
Added the ability to search across multiple columns in DataTables.
Added the ability to show the search above the table content in the data table options.
Changes to the structure of the DataTable to improve compact mode, including adding a compact 'menu' to reduce the amount of space data tables take up when in compact mode
Added some new utility functions for checking the type of values and getting the argmin/argmax.
Data Table
20
4
1
hx.DataTableextendsEventEmitter
Updated
Updated the compact view to have a collapsible control panel that houses the search, sort and advanced search controls so that compact tables take up less space
Updated
#49
Updated the data table to include options for Advanced searching (multi-column filtering) as well as showing the search above the table
Bugfix
#252
Resolved an issue where the classes for showing/hiding the sort were not being applied correctly
hx.DataTableoptionsObject
options
showAdvancedSearchBoolean
Added
#49
Whether to show the advanced search and the toggle for switching between the regular filter and the advanced search.
If advancedSearchEnabled is true or an advancedSearch is passed in, this is set to true.
See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
advancedSearchEnabledBoolean
Added
#49
Whether the advanced search should be enabled. If an advancedSearch is passed in, this is set to true. If filterEnabled is set to false and this is set to true, the advanced search will be shown on it's own with no toggle for switching the filter type. See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
advancedSearchArray[Array[Object]]
Added
#49
The advanced search array to use. If a value is passed in, showAdvancedSearch and advancedSearchEnabled are both set to true, showing and enabling the advanced search. See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
showSearchAboveTableBoolean
Added
#49
hx.DataTableoptionsObject
options
addFilterTextString
Added
#49
hx.DataTableoptionsObject
options
clearFiltersTextString
Added
#49
hx.DataTableoptionsObject
options
anyColumnTextString
Added
#49
hx.DataTableoptionsObject
options
advancedSearchTextString
Added
#49
hx.DataTableoptionsObject
options
advancedSearchPlaceholderString
Added
#49
hx.DataTable
showAdvancedSearchDataTable
Added
#49
Sets the showAdvancedSearch option
hx.DataTable
showAdvancedSearchBoolean
Added
#49
Gets the showAdvancedSearch option
hx.DataTable
advancedSearchEnabledDataTable
Added
#49
Sets the advancedSearchEnabled option
hx.DataTable
advancedSearchEnabledBoolean
Added
#49
Gets the advancedSearchEnabled option
hx.DataTable
showSearchAboveTableDataTable
Added
#49
Sets the showSearchAboveTable option
hx.DataTable
showSearchAboveTableBoolean
Added
#49
Gets the showSearchAboveTable option
hx.DataTable
advancedSearchArray[Array[Object]]
Added
#49
Gets the currently advanced search
hx.DataTable
advancedSearchDataTable
Added
#49
Sets the advanced search
Feed
rows
Updated
#49
Updated the range parameter to include new advanced search properties
hx.dataTable
objectFeedoptionsObject
options
compareNumber
Updated
#49
Updated the default sort function to use hx.sort.compare to provide better sorting
hx.dataTable
objectFeedoptionsObject
options
cellValueLookupString
Added
#49
Added options to the object feed to make it more configurable
hx.dataTable
objectFeedoptionsObject
options
termLookupBoolean
Added
#49
Added options to the object feed to make it more configurable
hx.dataTable
getAdvancedSearchFilterFunction
Added
#49
Added a helper for creating custom feeds using the advanced search
Meter
2
1
hx.Meter
Bugfix
#271
Localized the "of" text in the meter.
hx.MeteroptionsObject
options
valueFormatterString
Added
#272
Added a function for formatting the displayed values in the meter.
hx.Meter
render
Added
#270
Added a render event to meter
Plot
6
1
hx.GraphoptionsObject
options
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Graph
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Graph
redrawOnResizeGraph
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.PieChart
Bugfix
Resolved an issue in pie charts where the legend was not being displayed with the correct colors and was not rendering correctly
hx.SparklineoptionsObject
options
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Sparkline
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Sparkline
redrawOnResizeSparkline
Added
#152
Added an option to disable automatic redraw when container is resized.
Toggle
1
Updated
Updated the styles to make the toggle icon slightly smaller and more compact
Util
3
2
hx.minByAny
Bugfix
Fix an issue where the last value in the array wasn't being checked
hx.maxByAny
Bugfix
Fix an issue where the last value in the array wasn't being checked
hx.argminNumber
Added
Added a function for getting the index of the item in an array with the lowest value
hx.argmaxNumber
Added
Added a function for getting the index of the item in an array with the highest value
hx.isNumberBoolean
Added
#240
Added a function for checking if something is a Number
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.4.2
Fix an issue with the code using the wrong option variables in AutoComplete
Also added CSS support for iOS 7/8 to resolve some style and layout issues on older iPads
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
Fixed where the code was using the loadingMessage and pleaseEnterMinCharactersMessage
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
1.4.1
Several bugfixes, including changes to how the default locale is set when using moment
File Input
1
Bugfix
#225
Change the type of the button to fix a bug where forms were submitted
Notice
1
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
hx-notice
hx-notice-head
Added
#232
The header section of the Notice
Plot
1
Bugfix
#139
Fix the styles for plot labels to prevent them causing a scrollbar
Preferences
1
1
Bugfix
#222
Fix an incorrectly named variable
Updated
Updated the default locale when using moment as moment doesn't guess the current locale correctly
1.4.0
Added the Autocomplete Picker module, a hybrid of an AutoComplete and a Picker.
Added the User Facing Text module for defining the default text for Hexagon modules.
AutocompletePicker
2
hx.AutocompletePicker
Added
#17
hx.autocompletePickerSelection
Added
#17
Creates a new AutocompletePicker set up on a detached element, wrapped in a selection
AutoComplete
4
4
hx.AutoCompleteoptionsObject
options
noResultsMessageString
Updated
#211
The default text for noResultsMessage is retrieved from the userFacingText module
hx.AutoCompleteoptionsObject
options
pleaseEnterMinCharactersMessageString
Added
The text to display when the user has not entered enough text.
When setting this, the minimum number of characters can be substituted in using the '$minLength' variable, e.g.
options = {
  minLength: 3,
  pleaseEnterMinCharactersMessage = 'Please enter $minLength characters'
}
// Evaluates to 'Please enter 3 characters'
hx.autoCompleteoptionsObject
options
noResultsMessageString
Updated
#211
The default text for noResultsMessage is retrieved from the userFacingText module
hx.autoCompleteoptionsObject
options
pleaseEnterMinCharactersMessageString
Added
The text to display when the user has not entered enough text.
When setting this, the minimum number of characters can be substituted in using the '$minLength' variable, e.g.
options = {
  minLength: 3,
  pleaseEnterMinCharactersMessage = 'Please enter $minLength characters'
}
// Evaluates to 'Please enter 3 characters'
hx.AutocompleteoptionsObject
options
noResultsMessageString
Updated
#211
The default text for noResultsMessage is retrieved from the userFacingText module
hx.AutocompleteoptionsObject
options
pleaseEnterMinCharactersMessageString
Added
The text to display when the user has not entered enough text.
When setting this, the minimum number of characters can be substituted in using the '$minLength' variable, e.g.
options = {
  minLength: 3,
  pleaseEnterMinCharactersMessage = 'Please enter $minLength characters'
}
// Evaluates to 'Please enter 3 characters'
hx.autocompleteoptionsObject
options
noResultsMessageString
Updated
#211
The default text for noResultsMessage is retrieved from the userFacingText module
hx.autocompleteoptionsObject
options
pleaseEnterMinCharactersMessageString
Added
The text to display when the user has not entered enough text.
When setting this, the minimum number of characters can be substituted in using the '$minLength' variable, e.g.
options = {
  minLength: 3,
  pleaseEnterMinCharactersMessage = 'Please enter $minLength characters'
}
// Evaluates to 'Please enter 3 characters'
Card
1
hx.card.[small | large].titleSelection
Updated
#245
Changed the function to create a span rather than a div
Data Table
7
hx.DataTableoptionsObject
options
clearSelectionTextString
Added
#211
The text to display on the 'clear selection' link when rows have been selected
hx.DataTableoptionsObject
options
loadingTextString
Added
#211
The text to display when data is loading
hx.DataTableoptionsObject
options
noSortTextString
Added
#211
The text to display on the mobile sort menu for 'No Sort'
hx.DataTableoptionsObject
options
rowsPerPageTextString
Added
#211
The text to display next to the 'rows per page' picker
hx.DataTableoptionsObject
options
searchPlaceholderString
Added
#211
The placeholder for the 'search' box
hx.DataTableoptionsObject
options
selectedRowsTextString
Added
#211
The text to display in the selected rows information bar.
The '$total' variables can be substituted in, e.g for a table with 3 rows and 1 row selected:
options = {
  selectedRowsText: '$selected of $total selected.'
}
// Would evalate to '1 of 3 selected.'
hx.DataTableoptionsObject
options
sortByTextString
Added
#211
The text to display next to the sort picker shown in compact mode.
File Input
1
2
hx.FileInputoptionsObject
options
buttonTextString
Updated
#211
hx.FileInputoptionsObject
options
filesSelectedTextString
Updated
#211
hx.FileInputoptionsObject
options
noFilesTextString
Added
#211
Form Builder
2
1
hx.FormextendsEventEmitter
Updated
#211
Updated the error text to use the user facing text module
hx.Form
addTagInputoptionsObject
options
placeholderString
Added
#211
The placeholder text for the tag input
hx.Form
addAutocompletePickerForm
Added
#17
Adds an autocomplete picker to the form.
Form
1
hx.validateFormObject
Updated
#211
Updated the error text to use userFacingText
Picker
1
hx.PickeroptionsObject
options
noValueTextString
Updated
#211
Plot
1
hx.GraphextendsEventEmitter
Updated
#211
Updated the no data text to be defined in userFacingText
Preferences
1
Updated
#211
Updated the text to be defined in the userFacingText module
Tag Input
1
hx.TagInputoptionsObject
options
placeholder
Added
#211
The placeholder for the input field when it has no text
User Facing Text
1
Added
Added a new module for managing all the user facing text in hexagon
1.3.3
Change the preferences module to prefer navigator.languages over navigator.language
Preferences
1
Bugfix
#251
Prefer navigator.languages over navigator.language
1.3.2
Fix for hx.defined.
Util
1
hx.definedBoolean
Bugfix
#226
Will now returns false when null is passed in
1.3.1
Fix the file input options.
File Input
1
1
1
hx.FileInputoptionsObject
options
filesselectedFilesString
Removed
#210
This variable was badly named and unused internally. It has been replaced by filesSelectedText .
hx.FileInputoptionsObject
options
filesSelectedTextString
Added
The string to indicate the number of files selected
Bugfix
#210
Changed the option name to be more sensible and actually use it in the code.
Palette
1
Bugfix
Fixed an issue where calline hx.palette.context(selection, undefined) would return undefined instead of the selection. This was introduced accidentally as part of 1.3.0.
1.3.0
Fix multiple bugs and add the shallowSelect functionality as well as a new File Input module.
AutoComplete
1
hx.autoCompleteitemsArray / Function
Added
The items to use as suggestions for the input field. Data can be specified as an array of items or as a function that returns an array of items.
The data must be in one of the following formats:
Array
[
  "Bob",
  "Steve",
  ...
]
By default, the data is expected as an array of string values. If object based data is passed in, an inputMap must be provided in the options:
data = [
  {
    name "Bob",
    age: 21
  },
  {
    name: "Steve",
    age: 25
  }
]
options = {
  inputMap: function(item){
    return item.name + ', ' + item.age
  }
}
A renderer and filterOptions.searchValues can also be specified to change how the text is displayed and what data is searchable, independent of the inputMap
.
Function
var data = function(term, callback){
  hx.json('path/to/data?search='+term, function (e, r) {
    callback(r.responseText)
  })
}
A 'Loading...' message will be shown whilst the AutoComplete waits for a response from this function.
It can be used in conjunction with the internal matching or be used to match externally when setting the matchType to 'external':
function data (term, callback) {
  if (term.length > 0) {
    return callback(townAndCountyData.filter(function (d) {
      var d = townAndCountyData[_i]
      var name = d.name.toLowerCase()
      var term = term.toLowerCase()
      var county = d.county.toLowerCase()
      return name.indexOf(term) > -1 || county.indexOf(term) > -1)
    }))
  } else {
    return callback([])
  }
}

options.matchType = 'external'
The term passed in is the current value of the input field (for use as a search term).
The callback is the function that should be called to pass the data back to the AutoComplete to display.
The callback must be called for the AutoComplete to show.
File Input
1
Added
#25
New FileInput component and fluid api function
Form Builder
1
1
hx.Form
addFileInput
Added
#25
New method for adding a FileInput
hx.Form
dataForm
Bugfix
#178
Fix to make the data method circular for tag input fields
Number Picker
1
Bugfix
#182
Update to only emit events when the value has actually changed
Palette
2
hx.palette.borderContext
Added
#196
A function for setting the border context of an element
hx.palette.borderContextString
Added
#196
A function for getting the border context of an element
Pivot Table
1
2
hx.PivotTable
Bugfix
#161
Fix the data setter/getter symmetry by preventing internal data mutation
Bugfix
#162
Fix for pivot table where adding additional data to an existing pivot table caused cells to render incorrectly
hx.PivotTableoptionsObject
options
data
Added
#146
Added the data option to pivot tables
Preferences
1
Bugfix
#133
Update the preferences default timezone lookup to work correctly with Moment.js
Selection
2
Selection
shallowSelectSelection
Added
#104
Added a new method on selection for selecting the first element from the direct children of an element.
Selection
shallowSelectAllSelection
Added
#104
Added a new method on selection for selecting elements from the direct children of an element.
Slider
2
Bugfix
#183
Update so the change event is only emitted when the value is actually changed
Bugfix
#184
Update so the slidestart event is only emitted on slidestart, not on change
Tag Input
1
Bugfix
#202
Make it so the tag inoput validator doesn't have to return anything for valid tags
1.2.1
Includes some bugfixes and improvements to under-the-hood behaviour.
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#172
Fixed a breaking issue with the autocomplete that caused it not to autocomplete and external matchers to break.
Modal
1
hx.ModalextendsEventEmitter
Bugfix
#142
Fixed an issue where modal content would be duplicated when calling modal.show() multiple times.
Preferences
1
Updated
Improved the way preferences determines the locale when it is loaded so that it always uses a supported locale.
1.2.0
Several enhancements and bugfixes to do with the more commonly used components such as View and Data Table as well as additional functionality for Form Builder.
Data Table
2
hx.DataTableextendsEventEmitter
Bugfix
#85#135
Fixed the table row selection so that single row selection works properly
Bugfix
#154
Update hx.dataTable.urlFeed so that it uses the correct callback format from hx.json
Form Builder
18
1
hx.FormextendsEventEmitter
Bugfix
Updated the hidden/disabled state for properties so they can be hidden/disabled when added using the options and also using the hidden/disabled methods after they have been added.
hx.Form
addTextoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addEmailoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addNumberoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addPasswordoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addUrloptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addCheckboxoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addRadiooptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addTagInputoptionsObject
options
disabledBoolean
Added
Whether the property should be disabled as it's initial state. This can also be toggled with the disabled(property, disabled) method.
hx.Form
addTagInputoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addDatePickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addTimePickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addDateTimePickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addTextAreaoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addPickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
disabledBoolean
Added
A method for getting the disabled state of a property in a form.
hx.Form
disabledArray[Boolean]
Added
A method for getting the disabled state for an array of properties in a form.
hx.Form
disabledForm
Added
A method for setting the disabled state for a property in a form.
hx.Form
disabledForm
Added
A method for setting the disabled state for an array of properties in a form.
View
1
Updated
#148
Improve the performance of view
1.1.0
Added a timezone api to preferences and updated date/time pickers to listen to changes in timezone/locale automatically, added hx.graph as a fluid api version for creating graphs, added hx.text as a new wrapper for hx.request and made several bugfixes and improvements to the underlying code.
Also added print styles to hexagon builds as additional resources.
Data Table
3
2
hx.DataTableextendsEventEmitter
Updated
#60
Updated the cell styles for data tables so that changing the background color in the cellRenderer does not display with incorrect padding
hx.DataTableoptionsObject
options
columns
maxWidthNumber
Added
#11
Added an option for setting the max width for a column
hx.DataTable
maxWidthNumber
Added
#11
Gets the maxWidth value for a column of the table if one has been set.
hx.DataTable
maxWidthDataTable
Added
#11
Sets the maxWidth value for a column of the table
hx.dataTableSelection
Updated
#59
Make the fluid api data table function render the table if a feed is provided
Date Picker
1
1
Bugfix
#35
Update the icon styles for range pickers so they aren't inconsistent
hx.DatePickerextendsEventEmitter
Updated
#23#24
Date pickers now listen for changes in hx.preferences.locale and hx.preferences.timezone and automatically update
Modal
1
1
1
Bugfix
#8
Added some styles to modals so they no longer overflow on small devices
hx.Modal
Removed
#41
Added an additional parameter to the setup function, titlebarRenderer and headerRenderer.
The existing API has not been modified and will continue to work.
hx.Modal
Added
#41
Added the modal parameter to the setup function passed into the modal constructor as well as the titlebarRenderer and headerRenderer functions.
Notify
1
Updated
#69
Updated the styles so that notifications show on top of modals when they are on screen without looking like they're floating in a strange manner.
Plot
4
hx.GraphoptionsObject
options
Added
Added an axes option to hx.Graph to allow graphs to be created with the fluid api.
hx.Graph
render
Added
Added an event to allow listening to when a graph is rendered.
hx.AxisoptionsObject
options
seriesArray[Object]
Added
Added a series option to hx.Axis to allow graphs to be created with the fluid api.
hx.graph
Added
Added a fluid api for graphs.
Preferences
5
1
Preferences
timezonePreferences
Updated
#23
Updated the list of acceptable timezones and added a helper for converting a date to display with the currently set timezone.
Preferences
applyTimezoneOffsetDate
Added
#23
A method that takes a date and returns a new date with the timezone offset applied.
Preferences
supportedTimezonesArray[String]
Added
#23
A method for getting the currently supported timezones.
Preferences
supportedTimezonesPreferences
Added
#23
A method for setting the currently supported timezones.
Preferences
timezoneOffsetLookupFunction
Added
#23
A method for getting the timezoneOffsetLookup function
Preferences
timezoneOffsetLookupPreferences
Added
#23
A method for setting the timezoneOffsetLookup function
Progress Bar
1
Bugfix
#78
Updated the progressbar background color to add more contrast
Request
2
hx.text
Added
A wrapper for hx.request that supplies a formatter to return plain text instead of the response object.
hx.text
Added
A wrapper for hx.request that supplies a formatter to return plain text instead of the response object.
Sticky Table Headers
1
2
Updated
#9
Added a warning message when sticky table headers are used on a table without any columns
Bugfix
#101
Fix for static tables with sticky headers applied
Bugfix
#103
Fix nested sticky table headers
Time Picker
1
hx.TimePickerextendsEventEmitter
Updated
#23#24
Time pickers now listen for changes in hx.preferences.locale and hx.preferences.timezone and automatically update
View
1
Updated
#14
Views will now show a warning if the element returned from the enter method does not match the expectation of the view
1.0.4
Fix several bug fixes that were causing visual issues
Plot
1
hx.Sparkline
Bugfix
#52
Fix a bug where data with the same Y value caused an error with linear gradients
Sticky Table Headers
1
hx.StickyTableHeaders
Bugfix
#53
Updated the constructor so it no longer ignores the containerClass option
Toggle
1
hx.ToggleextendsEventEmitter
Bugfix
#10#12
Updated the styles and structure to use a <div> element instead of a checkbox
1.0.3
Update the build config for the themes to allow the theme fonts to be embedded in the css using the embedAssets option.
1.0.2
Fix for the module dependency calculation. If an explicit list of modules is included, the build will now include those modules and all the modules that they depend on.
1.0.1
An update to the builder to resolve some dependency issues and fix the bower config
1.0.0
Final standardisation of the api. Features deprecated in the 0.x.x series have been removed. From this point on breaking changes are indicated by a major version.
The builder api for hexagon has changed in this version to make theming easier. The builder can now export the theme variables in a variety of formats (sass, less, stylus, css variables, json, quantum).
AutoComplete
1
hx.autoCompleteSelection
Added
Creates a new AutoComplete set up on a detached element, wrapped in a selection
Button Group
1
2
hx.ButtonGroupoptionsObject
options
buttonClassString
Updated
Updated the default value to use the renamed hx-complement class
hx.buttonGroupSelection
Added
Fluid api version of ButtonGroup
hx.buttonGroupoptionsObject
options
buttonClassString
Updated
Updated the default value to use the renamed hx-complement class
Button
2
1
1
hx-btn
hx-action
Added
Added new action context class and updated default styles.
hx-btn
hx-btn-invert
Updated
Updated the invert styles for buttons to work nicer across different themes
hx-btn
hx-compliment
Removed
Use .hx-complement instead
hx-btn
hx-complement
Added
Styles the button with a color that complements the theme (light for a light theme, dark for a dark theme)
Card
1
hx.cardSelection
Added
Added the card api for creating cards and layout
Click Detector
1
hx.ClickDetector
removeExceptionClickDetector
Added
Added a method for removing an exception from the click detector
Color Picker
1
hx.colorPickerSelection
Added
Fluid api version of ColorPicker
Color
17
Color
Removed
Use alpha() to get and alpha(value) to set the alpha property.
Color
Removed
Use blue() to get and blue(value) to set the blue property.
Color
Removed
Use green() to get and green(value) to set the green property.
Color
Removed
Use hue() to get and hue(value) to set the hue property. The value returned from hue() and expected by hue(value) is an integer between 0 and 360 instead of a value between 0 and 1.
Color
Removed
Use lightness() to get and lightness(value) to set the lightness property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
Removed
Use red() to get and red(value) to set the red property.
Color
Removed
Use saturation() to get and saturation(value) to set the saturation property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
darkenColor
Removed
Use lighten(-value) instead.
Color
desaturateColor
Removed
Use saturate(-value) instead.
Color
fadeInColor
Removed
Use fade(value) instead.
Color
fadeOutColor
Removed
Use fade(-value) instead.
Color
getTextColString
Removed
Use textCol() instead.
Color
lightnessColor
Removed
Use lightness(value) with a value between 0 and 100 instead of 0 and 1
Color
saturationColor
Removed
Use saturation(value) with a value between 0 and 100 instead of 0 and 1
Color
setHSLColor
Removed
Use hsl(value) instead.
Color
setRGBColor
Removed
Use rgb(value) instead.
Color
toArrayArray[Number]
Removed
Use rgb() or hsl() instead.
Component
1
hx.components.clear
Added
Clears all components from an element
Crumbtrail
1
hx.crumbtrailSelection
Added
Creates a new Crumbtrail set up on a detached element, wrapped in a selection
Dashboard
2
hx.Dashboard
Removed
The dashboard module was removed in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
DashboardWidgetextendsEventEmitter
Removed
The dashboard module was removed in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
Data Table
1
2
2
hx.DataTableextendsEventEmitter
Bugfix
Updated the compact sort picker to use the headerCellRenderer for each column
Bugfix
Updated the styles to make the compact mode more compact
hx.DataTable
suppressRenderBoolean
Removed
Use renderSuppressed() instead
hx.DataTable
suppressRenderDataTable
Removed
Use renderSuppressed(value) instead
hx.dataTableSelection
Added
Fluid api version of DataTable
Date Picker
1
2
hx.DatePicker
disableDatePicker
Removed
Use disabled(true) instead.
hx.DatePicker
enableDatePicker
Removed
Use disabled(false) instead.
hx.datePickerSelection
Added
Fluid api version of DatePicker
Date Time Picker
1
2
hx.DateTimePicker
disableDateTimePicker
Removed
Use disabled(true) instead.
hx.DateTimePicker
enableDateTimePicker
Removed
Use disabled(false) instead.
hx.dateTimePickerSelection
Added
Fluid api version of DateTimePicker
Drag Container
1
hx.dragContainerSelection
Added
Fluid api version of DragContainer
Drawing
1
hx.drawingSelection
Added
Fluid api version of Drawing
Dropdown
2
hx.Dropdown
addExceptionDropdown
Added
A method for adding exceptions to dropdowns - this means if the element provided is clicked, it will not cause the dropdown to close.
hx.Dropdown
removeExceptionDropdown
Added
A method for removing exceptions from dropdowns.
Extended Table
2
Removed
This module was replaced with the data table module in this version.
hx.TableextendsEventEmitter
Removed
Fluid
6
hx.checkboxSelection
Added
Fluid api for constructing checkboxes
hx.inputGroupSelection
Added
Fluid api for constructing input groups
hx.spinnerSelection
Added
Fluid api for constructing spinners
hx.spinner.wideSelection
Added
Fluid api for constructing wide spinners
hx.buttonSelection
Added
Fluid api for constructing hexagon styled buttons
hx.iconSelection
Added
Fluid api for constructing icons
Form
1
hx.validateFormObject
Bugfix
Updated to include text areas in the error checking
Inline Editable
1
hx.inlineEditableSelection
Added
Fluid api version of InlineEditable
Inline Picker
2
1
Added
Renamed the inline select module to be inline-picker
hx.InlinePickeroptionsObject
options
startValueString
Removed
The startValue option has been renamed to value
hx.InlinePickeroptionsObject
options
valueString
Added
The value to use when initialising the select.
Inline Select
1
Removed
This module was replaced with the inline picker module in this version
Label
2
1
hx.labelSelection
Added
Fluid api for constructing labels
hx-label
hx-compliment
Removed
Use .hx-complement instead
hx-label
hx-action
Added
Added new action context class and updated default styles.
Layout
6
hx.groupSelection
Added
Fluid api for constructing horizontal layout groups
hx.group.verticalSelection
Added
Fluid api for constructing vertical layout groups
hx.group.fixedSelection
Added
Fluid api for constructing horizontal layout groups that don't grow
hx.group.vertical.fixedSelection
Added
Fluid api for constructing vertical layout groups that don't grow
hx.sectionSelection
Added
Fluid api for constructing layout sections
hx.section.fixedSelection
Added
Fluid api for constructing layout sections that don't grow
Logo
1
Added
Added a new class to allow the addition of the theme logo in places other than the titlebar.
Menu
2
4
hx.MenuoptionsObject
options
alignString
Removed
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Removed
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Removed
Use dropdownOptions.ddClass instead.
hx-menu
hx-compliment
Removed
hx-menu
hx-action
Added
Added new action context class and updated default styles.
hx.menuSelection
Added
Fluid api version of Menu
Meter
1
hx.meterSelection
Added
Fluid api version of Meter
Modal
3
1
1
Updated
Updated the structure and style of modal popups to allow the modal content to be used as a notification container.
hx.ModaloptionsObject
options
isClosableBoolean
Removed
This property has been replaced by closeWithShadeEnabled and closeButtonEnabled
hx.ModaloptionsObject
options
closeWithShadeEnabledBoolean
Added
Whether clicking on the shaded background around the modal should close it
hx.ModaloptionsObject
options
closeButtonEnabledBoolean
Added
Whether the modal should have a close button
hx.ModaloptionsObject
options
headerRenderer
Added
Added a new header renderer for modals so that the close button no longer has to be absolutely positioned in the title.
Notice
4
1
hx.noticeSelection
Added
Fluid api for constructing notices
hx.notice.headSelection
Added
Fluid api for constructing notices
hx.notice.bodySelection
Added
Fluid api for constructing notices
hx-notice
hx-compliment
Removed
Use .hx-complement instead
hx-notice
hx-action
Added
Added new action context class and updated default styles.
Number Picker
1
hx.numberPickerSelection
Added
Fluid api version of NumberPicker
Paginator
2
1
hx.Paginator
Removed
Use hx.Paginator(selector, options)
hx.Paginator
Added
Sets up a paginator.
hx.paginatorSelection
Added
Fluid api version of Paginator
Palette
14
3
hx-text-compliment
Removed
Use hx-text-complement instead
hx-background-compliment
Removed
Use hx-background-complement instead
hx.theme.palette
complimentColString
Added
Removed
Use hx.theme.palette.complementCol instead
hx.theme.palette
complementColStringThecomplementarycolorusedbythecurrenttheme
Added
hx-text-complement
Added
Applies the complement color to the text in the element.
hx-background-complement
Added
Applies the complementary color to the background of the element. The text color will also be set so that it works well with the background color.
hx-border-action
Added
Applies the complementary color to the border-color of the element.
hx-text-action
Added
Added new action context class.
hx-background-action
Added
Added new action context class.
hx-border-action
Added
Added new action context class.
hx.palette.context
Added
Adds a context class to an element.
// adds the 'hx-positive' class to the element, and removes all other context classes
hx.palette.context('.my-element', 'positive')
hx.palette.contextString
Added
Gets a context class of an element.
// gets the context of the element (by looking at the class of the element)
hx.palette.context('.my-element')
hx.palette.textContext
Added
Adds a text context class to an element.
// adds the 'hx-text-positive' class to the element, and removes all other text context classes
hx.palette.context('.my-element', 'positive')
hx.palette.textContextString
Added
Gets the text context class of an element.
// gets the context of the element (by looking at the class of the element)
hx.palette.textContext('.my-element')
hx.palette.backgroundContext
Added
Adds a background context class to an element.
// adds the 'hx-background-positive' class to the element, and removes all other background context classes
hx.palette.context('.my-element', 'positive')
hx.palette.backgroundContextString
Added
Gets the background context class of an element.
// gets the context of the element (by looking at the class of the element)
hx.palette.backgroundContext('.my-element')
Picker
2
1
1
2
Updated
The button type of pickers is now 'button'
Bugfix
Fixed an issue with the picker not rendering values correcly
hx.PickeroptionsObject
options
ddClassString
Removed
Use dropdownOptions.ddClass instead.
hx.PickeroptionsObject
options
startValueString
Removed
Use value instead.
hx.PickeroptionsObject
options
valueString
Added
The value to use when initialising the select.
hx.pickerSelection
Added
Fluid api version of Picker
Pivot Table
1
hx.pivotTableSelection
Added
Fluid api version of PivotTable
Plot
37
2
121
Updated
Removed the deprecated content from all the Plot api's as well as the declarative graphing api (hx.plot), including replacing all of the _new_ prefixed methods/properties with their unprefixed alternatives.
Updated
The plot api uses a new sampling method in this version called the 'Largest Three Buckets' algorithm. This should produce graphs that more faithfully represent the original data when downsampling.
hx.Graph
addAxisAxis
Removed
Use graph.addAxis(options) instead.
hx.Graph
useZoomBoolean
Removed
Use graph.zoomEnabled() instead. zoomEnabled(value) to set, zoomEnabled() to get.
hx.Graph
zoomStartNumber
Removed
Use graph.zoomRangeStart() instead. zoomRangeStart(value) to set, zoomRangeStart() to get.
hx.Graph
zoomEndNumber
Removed
Use graph.zoomRangeEnd() instead. zoomRangeEnd(value) to set, zoomRangeEnd() to get.
hx.Graph
useLabelsBoolean
Removed
Use graph.labelsEnabled() instead. labelsEnabled(value) to set, labelsEnabled() to get.
hx.Graph
useLegendBoolean
Removed
Use graph.legendEnabled() instead. legendEnabled(value) to set, legendEnabled() to get.
hx.Graph
legendPositionString
Removed
Use graph.legendLocation() instead. legendLocation(value) to set, legendLocation() to get.
hx.Axis
Removed
Use hx.Axis(options) instead.
hx.Axis
xVisibleBoolean
Removed
Use Axis.x.visible() instead. Axis.x.visible() to get, Axis.x.visible(value) to set.
hx.Axis
xFormatterString
Removed
Use Axis.x.formatter() instead. Axis.x.formatter() to get, Axis.x.formatter(value) to set.
hx.Axis
xMinNumber
Removed
Use Axis.x.min() instead. Axis.x.min() to get, Axis.x.min(value) to set.
hx.Axis
xMaxNumber
Removed
Use Axis.x.max() instead. Axis.x.max() to get, Axis.x.max(value) to set.
hx.Axis
xDiscretePaddingNumber
Removed
Use Axis.x.discretePadding() instead. Axis.x.discretePadding() to get, Axis.x.discretePadding(value) to set.
hx.Axis
xDiscreteLabelsArray
Removed
Use Axis.x.discreteLabels() instead. Axis.x.discreteLabels() to get, Axis.x.discreteLabels(value) to set.
hx.Axis
xTickSpacingNumber
Removed
Use Axis.x.tickSpacing() instead. Axis.x.tickSpacing() to get, Axis.x.tickSpacing(value) to set.
hx.Axis
xTitleString
Removed
Use Axis.x.title() instead. Axis.x.title() to get, Axis.x.title(value) to set.
hx.Axis
xScalePaddingMinNumber
Removed
Use Axis.x.scalePaddingMin() instead. Axis.x.scalePaddingMin() to get, Axis.x.scalePaddingMin(value) to set.
hx.Axis
xScalePaddingMaxNumber
Removed
Use Axis.x.scalePaddingMax() instead. Axis.x.scalePaddingMax() to get, Axis.x.scalePaddingMax(value) to set.
hx.Axis
xGridLinesBoolean
Removed
Use Axis.x.gridLines() instead. Axis.x.gridLines() to get, Axis.x.gridLines(value) to set.
hx.Axis
xNthTickVisibleNumber
Removed
Use Axis.x.nthTickVisible() instead. Axis.x.nthTickVisible() to get, Axis.x.nthTickVisible(value) to set.
hx.Axis
yVisibleBoolean
Removed
Use Axis.y.visible() instead. Axis.y.visible() to get, Axis.y.visible(value) to set.
hx.Axis
yFormatterString
Removed
Use Axis.y.formatter() instead. Axis.y.formatter() to get, Axis.y.formatter(value) to set.
hx.Axis
yMinNumber
Removed
Use Axis.y.min() instead. Axis.y.min() to get, Axis.y.min(value) to set.
hx.Axis
yMaxNumber
Removed
Use Axis.y.max() instead. Axis.y.max() to get, Axis.y.max(value) to set.
hx.Axis
yDiscretePaddingNumber
Removed
Use Axis.y.discretePadding() instead. Axis.y.discretePadding() to get, Axis.y.discretePadding(value) to set.
hx.Axis
yDiscreteLabelsArray
Removed
Use Axis.y.discreteLabels() instead. Axis.y.discreteLabels() to get, Axis.y.discreteLabels(value) to set.
hx.Axis
yTickSpacingNumber
Removed
Use Axis.y.tickSpacing() instead. Axis.y.tickSpacing() to get, Axis.y.tickSpacing(value) to set.
hx.Axis
yTitleString
Removed
Use Axis.y.title() instead. Axis.y.title() to get, Axis.y.title(value) to set.
hx.Axis
yScalePaddingMinNumber
Removed
Use Axis.y.scalePaddingMin() instead. Axis.y.scalePaddingMin() to get, Axis.y.scalePaddingMin(value) to set.
hx.Axis
yScalePaddingMaxNumber
Removed
Use Axis.y.scalePaddingMax() instead. Axis.y.scalePaddingMax() to get, Axis.y.scalePaddingMax(value) to set.
hx.Axis
yGridLinesBoolean
Removed
Use Axis.y.gridLines() instead. Axis.y.gridLines() to get, Axis.y.gridLines(value) to set.
hx.Axis
yNthTickVisibleNumber
Removed
Use Axis.y.nthTickVisible() instead. Axis.y.nthTickVisible() to get, Axis.y.nthTickVisible(value) to set.
hx.Axis
addSeriesSeries
Removed
Use addSeries(type, {title: "name"}) instead.
hx.Axis
xAxisTickLabelPositionString
Removed
Use Axis.x.axisTickLabelPosition() instead. Axis.x.axisTickLabelPosition() to get, Axis.x.axisTickLabelPosition(value) to set.
hx.Axis
yAxisTickLabelPositionString
Removed
Use Axis.y.axisTickLabelPosition() instead. Axis.y.axisTickLabelPosition() to get, Axis.y.axisTickLabelPosition(value) to set.
hx.Axis
xShowTicksBoolean
Removed
Use Axis.x.showTicks() instead. Axis.x.showTicks() to get, Axis.x.showTicks(value) to set.
hx.Axis
yShowTicksString
Removed
Use Axis.y.showTicks() instead. Axis.y.showTicks() to get, Axis.y.showTicks(value) to set.
BarSeries
nameString
Removed
Use series.title(name) to set the series name, series.title() to get the name.
BarSeries
colorString
Removed
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BarSeries
groupString
Removed
Use series.group(group) to set the series group, series.group() to get the group.
BarSeries
setData
Removed
Use series.data(data) to set new data, series.data() to get the current data.
BarSeries
classString
Removed
Use series.class(class) to set the series class, series.class() to get the class.
BarSeries
createLabelValues
Removed
Use labelValuesExtractor() instead.
BarSeries
_new_classBarSeries
Removed
BarSeries
_new_classString
Removed
BarSeries
_new_groupBarSeries
Removed
BarSeries
_new_groupString
Removed
BarSeries
classBarSeries
Added
Note
Sets an additional class to give the series svg elements.
BarSeries
classString
Added
Gets the additional class applied to the series svg elements.
BarSeries
groupBarSeries
Added
Sets the group the series belongs to. Series with the same group will be visually grouped together.
BarSeries
groupString
Added
Gets the group the series belongs to.
LineSeries
nameString
Removed
Use series.title(name) to set the series name, series.title() to get the name.
LineSeries
strokeBoolean
Removed
Use series.strokeEnabled(enabled) to set the state, series.strokeEnabled() to get it.
LineSeries
colorString
Removed
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
LineSeries
Removed
Use series.fillEnabled(enabled) to set the state, series.fillEnabled() to get it.
LineSeries
fillColorString
Removed
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
LineSeries
featherNumber
Removed
Use sampleThreshold() to get the feather value, sampleThreshold(value) to set it.
LineSeries
markersBoolean
Removed
Use series.markersEnabled(enabled) to set the state, series.markersEnabled() to get it.
LineSeries
markerRadiusNumber
Removed
Use _new_markerRadius(radius) to set the radius, _new_markerRadius() to get the radius.
LineSeries
markerColorString
Removed
Use seriesmarkerFillColor(color) to set the color, seriesmarkerFillColor() to get the color.
LineSeries
groupString
Removed
Use series.group(name) to set the series group, series.group() to get the group.
LineSeries
setData
Removed
Use series.data(data) to set new data, series.data() to get the current data.
LineSeries
Removed
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
LineSeries
classString
Removed
Use series.class(class) to set the series class, series.class() to get the class.
LineSeries
createLabelValuesArray[Object]
Removed
Use labelValuesExtractor() instead.
LineSeries
_new_groupLineSeries
Removed
LineSeries
_new_groupString
Removed
LineSeries
_new_fillColorLineSeries
Removed
LineSeries
_new_fillColorString
Removed
LineSeries
_new_classLineSeries
Removed
LineSeries
_new_classString
Removed
LineSeries
_new_markerRadiusLineSeries
Removed
LineSeries
_new_markerRadiusNumber
Removed
LineSeries
groupLineSeries
Added
Sets the group the series belongs to. Series with the same group will be stacked on top of each other.
LineSeries
groupString
Added
Gets the group the series belongs to.
LineSeries
fillColorLineSeries
Added
Sets the color to fill the series with
LineSeries
fillColorString
Added
Gets the color used to fill the series with
LineSeries
classLineSeries
Added
Sets an additional class to give the series svg element.
LineSeries
classString
Added
Gets the additional class applied to the series svg element.
LineSeries
markerRadiusLineSeries
Added
Sets the radius of the markers in pixels
LineSeries
markerRadiusNumber
Added
Gets the radius of the markers in pixels
BandSeries
nameString
Removed
Use series.title(name) to set the series name, series.title() to get the name.
BandSeries
colorString
Removed
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BandSeries
featherNumber
Removed
Use series.sampleThreshold() to get the feather value, series.sampleThreshold(value) to set it.
BandSeries
setData
Removed
Use series.data(data) to set new data, series.data() to get the current data.
BandSeries
colorString / Array
Removed
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BandSeries
classString
Removed
Use series.class(class) to set the class, series.class() to get the class.
BandSeries
createLabelValuesArray[Object]
Removed
Use labelValuesExtractor() instead.
BandSeries
_new_classBandSeries
Removed
BandSeries
_new_classString
Removed
BandSeries
classBandSeries
Added
Sets an additional class to give the series svg element.
BandSeries
classString
Added
Gets the additional class applied to the series svg element.
ScatterSeries
nameString
Removed
Use series.title(name) to set the series name, series.title() to get the name.
ScatterSeries
colorString
Removed
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
ScatterSeries
sizeNumber
Removed
Use series.radius(size) to set the size, series.radius() to get the size.
ScatterSeries
setData
Removed
Use series.data(data) to set new data, series.data() to get the current data.
ScatterSeries
classString
Removed
Use series.class(class) to set the series class, series.class() to get the class.
ScatterSeries
createLabelValuesArray[Object]
Removed
Use labelValuesExtractor() instead.
ScatterSeries
_new_classScatterSeries
Removed
ScatterSeries
_new_classString
Removed
ScatterSeries
classScatterSeries
Added
Sets an additional class to give the series svg elements.
ScatterSeries
classString
Added
Gets the additional class applied to the series svg elements.
StraightLineSeries
colorString
Removed
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
StraightLineSeries
setData
Removed
Use series.data(data) to set new data, series.data() to get the current data.
StraightLineSeries
classString
Removed
Use series.class(class) to set the series class, series.class() to get the class.
StraightLineSeries
createLabelValuesArray[Object]
Removed
Use labelValuesExtractor() instead.
StraightLineSeries
nameString
Removed
Use series.title(name) to set the series name, series.title() to get the name.
StraightLineSeries
_new_classStraightLineSeries
Removed
StraightLineSeries
_new_classString
Removed
StraightLineSeries
classStraightLineSeries
Added
Sets an additional class to give the series svg element.
StraightLineSeries
classString
Added
Gets the additional class applied to the series svg element.
hx.PieChart
segmentPaddingNumber
Removed
Use piechart.segmentPadding(value) to set, piechart.segmentPadding() to get.
hx.PieChart
innerPaddingNumber
Removed
Use piechart.innerPadding(value) to set, piechart.innerPadding() to get.
hx.PieChart
ringPaddingNumber
Removed
Use piechart.ringPadding(value) to set, piechart.ringPadding() to get.
hx.PieChart
totalAngleNumber
Removed
Use piechart.totalAngle(value) to set, piechart.totalAngle() to get.
hx.PieChart
startAngleNumber
Removed
Use piechart.startAngle(value) to set, piechart.startAngle() to get.
hx.PieChart
colorString
Removed
Use piechart.strokeColor(value) to set, piechart.strokeColor() to get.
hx.PieChart
formatterFormatter
Removed
Use piechart.labelFormatter(value) to set, piechart.labelFormatter() to get.
hx.PieChart
setData
Removed
Use piechart.data(data) to set, piechart.data() to get.
hx.PieChart
createLabelValuesArray[Object]
Removed
Use piechart.labelValuesExtractor(value) to set, piechart.labelValuesExtractor() to get.
hx.PieChart
useLabelsBoolean
Removed
Use piechart.labelsEnabled(value) to set, piechart.labelsEnabled() to get.
hx.PieChart
useSegmentTextBoolean
Removed
Use piechart.segmentTextEnabled(value) to set, piechart.segmentTextEnabled() to get.
hx.PieChart
segmentTextFormatterString
Removed
Use piechart.segmentTextFormatter(value) to set, piechart.segmentTextFormatter() to get.
hx.PieChart
useLegendBoolean
Removed
Use piechart.legendEnabled(value) to set, piechart.legendEnabled() to get.
hx.PieChart
legendPositionString
Removed
Use piechart.legendLocation(value) to set, piechart.legendLocation() to get.
hx.PieChart
_new_innerPaddingPieChart
Removed
hx.PieChart
_new_innerPaddingNumber
Removed
hx.PieChart
_new_segmentPaddingPieChart
Removed
hx.PieChart
_new_segmentPaddingNumber
Removed
hx.PieChart
_new_ringPaddingPieChart
Removed
hx.PieChart
_new_ringPaddingNumber
Removed
hx.PieChart
_new_totalAnglePieChart
Removed
hx.PieChart
_new_totalAngleNumber
Removed
hx.PieChart
_new_startAnglePieChart
Removed
hx.PieChart
_new_startAngleNumber
Removed
hx.PieChart
_new_segmentTextFormatterPieChart
Removed
hx.PieChart
_new_segmentTextFormatterFunction
Removed
hx.PieChart
innerPaddingPieChart
Added
Sets the inner padding of the pie chart
hx.PieChart
innerPaddingNumber
Added
Gets the current inner padding of the pie chart
hx.PieChart
segmentPaddingPieChart
Added
Sets the segment padding of the pie chart
hx.PieChart
segmentPaddingNumber
Added
Gets the current segment padding of the pie chart
hx.PieChart
ringPaddingPieChart
Added
Sets the ring padding of the pie chart
hx.PieChart
ringPaddingNumber
Added
Gets the current ring padding of the pie chart
hx.PieChart
totalAnglePieChart
Added
Sets the total angle of the pie chart
hx.PieChart
totalAngleNumber
Added
Gets the current total angle of the pie chart
hx.PieChart
startAnglePieChart
Added
Sets the start angle of the pie chart
hx.PieChart
startAngleNumber
Added
Gets the current start angle of the pie chart
hx.PieChart
segmentTextFormatterPieChart
Added
Sets the segment text formatter of the pie chart
hx.PieChart
segmentTextFormatterFunction
Added
Gets the current segment text formatter of the pie chart
hx.plot
Removed
The standard api provides a more declarative way of constructing graphs via the options object, so this api is no longer needed.
hx.SparklineoptionsObject
options
labelRenderer
Added
The label renderer for this series.
hx.SparklineoptionsObject
options
data
Added
An array of {x, y} objects.
hx.Sparkline
dataSparkline
Removed
The data should now be supplied as an array of {x, y} objects
hx.Sparkline
labelRendererFunction
Added
Gets the label renderer for this sparkline
hx.Sparkline
labelRendererSparkline
Added
Sets the label renderer for this sparkline
hx.Sparkline
dataSparkline
Added
Sets the data
hx.pieChartSelection
Added
Fluid api version of PieChart
hx.sparklineSelection
Added
Fluid api version of Sparkline
Progress Bar
2
1
1
hx-progress-bar
Bugfix
Updated the progress bar styles to remove the need for !important flags.
hx-progress-bar
hx-compliment
Removed
Use .hx-complement instead
hx-progress-bar
hx-action
Added
Added new action context class and updated default styles.
hx.progressBarSelection
Added
Fluid api version of ProgressBar
Search Dom
3
Removed
This module was removed in this version
hx.searchDOM
Removed
hx.clearSearch
Removed
Selection
1
1
1
Updated
Appending undefined to a selection no longer adds an <undefined> element to the DOM
Selection
mapAny / Array[Any]
Removed
The function called for each node will now be passed a Selection instead of an Element The current behavior can be replicated using Selection.nodes.map
Selection
mapAny / Array[Any]
Added
Calls a function for each element in the selection. Returns an array of the results of calling f on the elements. If used on a single selection the result will not be wrapped in an array.
Slider
1
hx.sliderSelection
Added
Fluid api version of Slider
Sort
2
hx.sortArray[Any]
Added
Sorts an array without modifying it
hx.sortByArray[Any]
Added
Sorts an array without modifying it. The resultant array is sorted by the value obtained by calling f on each member of the array.
Spinner
2
hx.spinnerSelection
Added
Fluid api for constructing spinners
hx.spinner.wideSelection
Added
Fluid api for constructing wide spinners
Sticky Table Headers
1
hx.StickyTableHeaders
Updated
Updated the internals to work better with transparent headings and improve performance
Tabs
1
1
hx-tabs
hx-tab
hx-compliment
Removed
Use hx-complement instead
hx-tabs
hx-tab
hx-action
Added
Added new action context class and updated default styles.
Tag Input
4
1
1
1
hx.TagInputextendsEventEmitter
Updated
Updated the tag input to add the text in the field as a tag when clearing focus
hx.TagInputoptionsObject
options
draggableBoolean
Added
Added the option to allow the tags to be re-ordered by dragging them
hx.TagInputoptionsObject
options
Added
The array of tags to initialise the tag input with.
Bugfix
Added the items option to further standardise the API
hx-tag
hx-compliment
Removed
Use .hx-complement instead
hx-tag
hx-action
Added
Added new action context class and updated default styles.
hx.tagInputSelection
Added
Fluid api version of TagInput
Time Picker
1
2
hx.TimePicker
disableTimePicker
Removed
Use disabled(true) instead.
hx.TimePicker
enableTimePicker
Removed
Use disabled(false) instead.
hx.timePickerSelection
Added
Fluid api version of TimePicker
Time Slider
1
hx.timeSliderSelection
Added
Fluid api version of TimeSlider
Titlebar
1
1
1
hx-heading
hx-titlebar
hx-titlebar-container
hx-titlebar-header
hx-titlebar-icon
Updated
Moved the titlebar icon to it's own module.
Info
The <img /> tag inside this element will now need to use the hx-logo class to display the theme logo.
hx-titlebar-fixed
Removed
Use hx-heading-fixed instead.
Toggle Button
3
Removed
This module was removed in this version and replaced with the Toggle module
hx.ToggleButtonextendsEventEmitter
Removed
hx-btn-toggle
Removed
Toggle
1
Added
Added a new module for creating a toggle element
Tree
1
hx.treeSelection
Added
Fluid api version of Tree
0.15.3
Bug fixes. Fix issues with node-sass.
Data Table
1
2
hx.DataTableextendsEventEmitter
Bugfix
Fix an issue with data-tables not using custom renderers in mobile mode.
hx.DataTable
suppressRenderBoolean
Deprecated
Use renderSuppressed() instead
hx.DataTable
suppressRenderDataTable
Deprecated
Use renderSuppressed(value) instead
Extended Table
1
1
hx.TableextendsEventEmitter
Bugfix
Normalise cell renderer keys to lower case
Deprecated
This module has been deprecated in favor of the data-table module. This module will be removed in version 2.0.0 of hexagon.
Plot
1
90
Bugfix
Fix hover labels not appearing in the right position on the page
hx.Graph
addAxisAxis
Deprecated
Use graph.addAxis(options) instead.
hx.Graph
useZoomBoolean
Deprecated
Use graph.zoomEnabled() instead. zoomEnabled(value) to set, zoomEnabled() to get.
hx.Graph
zoomStartNumber
Deprecated
Use graph.zoomRangeStart() instead. zoomRangeStart(value) to set, zoomRangeStart() to get.
hx.Graph
zoomEndNumber
Deprecated
Use graph.zoomRangeEnd() instead. zoomRangeEnd(value) to set, zoomRangeEnd() to get.
hx.Graph
useLabelsBoolean
Deprecated
Use graph.labelsEnabled() instead. labelsEnabled(value) to set, labelsEnabled() to get.
hx.Graph
useLegendBoolean
Deprecated
Use graph.legendEnabled() instead. legendEnabled(value) to set, legendEnabled() to get.
hx.Graph
legendPositionString
Deprecated
Use graph.legendLocation() instead. legendLocation(value) to set, legendLocation() to get.
hx.Axis
Deprecated
Use hx.Axis(options) instead.
hx.Axis
xVisibleBoolean
Deprecated
Use Axis.x.visible() instead. Axis.x.visible() to get, Axis.x.visible(value) to set.
hx.Axis
xFormatterString
Deprecated
Use Axis.x.formatter() instead. Axis.x.formatter() to get, Axis.x.formatter(value) to set.
hx.Axis
xMinNumber
Deprecated
Use Axis.x.min() instead. Axis.x.min() to get, Axis.x.min(value) to set.
hx.Axis
xMaxNumber
Deprecated
Use Axis.x.max() instead. Axis.x.max() to get, Axis.x.max(value) to set.
hx.Axis
xDiscretePaddingNumber
Deprecated
Use Axis.x.discretePadding() instead. Axis.x.discretePadding() to get, Axis.x.discretePadding(value) to set.
hx.Axis
xDiscreteLabelsArray
Deprecated
Use Axis.x.discreteLabels() instead. Axis.x.discreteLabels() to get, Axis.x.discreteLabels(value) to set.
hx.Axis
xTickSpacingNumber
Deprecated
Use Axis.x.tickSpacing() instead. Axis.x.tickSpacing() to get, Axis.x.tickSpacing(value) to set.
hx.Axis
xTitleString
Deprecated
Use Axis.x.title() instead. Axis.x.title() to get, Axis.x.title(value) to set.
hx.Axis
xScalePaddingMinNumber
Deprecated
Use Axis.x.scalePaddingMin() instead. Axis.x.scalePaddingMin() to get, Axis.x.scalePaddingMin(value) to set.
hx.Axis
xScalePaddingMaxNumber
Deprecated
Use Axis.x.scalePaddingMax() instead. Axis.x.scalePaddingMax() to get, Axis.x.scalePaddingMax(value) to set.
hx.Axis
xGridLinesBoolean
Deprecated
Use Axis.x.gridLines() instead. Axis.x.gridLines() to get, Axis.x.gridLines(value) to set.
hx.Axis
xNthTickVisibleNumber
Deprecated
Use Axis.x.nthTickVisible() instead. Axis.x.nthTickVisible() to get, Axis.x.nthTickVisible(value) to set.
hx.Axis
yVisibleBoolean
Deprecated
Use Axis.y.visible() instead. Axis.y.visible() to get, Axis.y.visible(value) to set.
hx.Axis
yFormatterString
Deprecated
Use Axis.y.formatter() instead. Axis.y.formatter() to get, Axis.y.formatter(value) to set.
hx.Axis
yMinNumber
Deprecated
Use Axis.y.min() instead. Axis.y.min() to get, Axis.y.min(value) to set.
hx.Axis
yMaxNumber
Deprecated
Use Axis.y.max() instead. Axis.y.max() to get, Axis.y.max(value) to set.
hx.Axis
yDiscretePaddingNumber
Deprecated
Use Axis.y.discretePadding() instead. Axis.y.discretePadding() to get, Axis.y.discretePadding(value) to set.
hx.Axis
yDiscreteLabelsArray
Deprecated
Use Axis.y.discreteLabels() instead. Axis.y.discreteLabels() to get, Axis.y.discreteLabels(value) to set.
hx.Axis
yTickSpacingNumber
Deprecated
Use Axis.y.tickSpacing() instead. Axis.y.tickSpacing() to get, Axis.y.tickSpacing(value) to set.
hx.Axis
yTitleString
Deprecated
Use Axis.y.title() instead. Axis.y.title() to get, Axis.y.title(value) to set.
hx.Axis
yScalePaddingMinNumber
Deprecated
Use Axis.y.scalePaddingMin() instead. Axis.y.scalePaddingMin() to get, Axis.y.scalePaddingMin(value) to set.
hx.Axis
yScalePaddingMaxNumber
Deprecated
Use Axis.y.scalePaddingMax() instead. Axis.y.scalePaddingMax() to get, Axis.y.scalePaddingMax(value) to set.
hx.Axis
yGridLinesBoolean
Deprecated
Use Axis.y.gridLines() instead. Axis.y.gridLines() to get, Axis.y.gridLines(value) to set.
hx.Axis
yNthTickVisibleNumber
Deprecated
Use Axis.y.nthTickVisible() instead. Axis.y.nthTickVisible() to get, Axis.y.nthTickVisible(value) to set.
hx.Axis
addSeriesSeries
Deprecated
Use addSeries(type, {title: "name"}) instead.
hx.Axis
xAxisTickLabelPositionString
Deprecated
Use Axis.x.axisTickLabelPosition() instead. Axis.x.axisTickLabelPosition() to get, Axis.x.axisTickLabelPosition(value) to set.
hx.Axis
yAxisTickLabelPositionString
Deprecated
Use Axis.y.axisTickLabelPosition() instead. Axis.y.axisTickLabelPosition() to get, Axis.y.axisTickLabelPosition(value) to set.
hx.Axis
xShowTicksBoolean
Deprecated
Use Axis.x.showTicks() instead. Axis.x.showTicks() to get, Axis.x.showTicks(value) to set.
hx.Axis
yShowTicksString
Deprecated
Use Axis.y.showTicks() instead. Axis.y.showTicks() to get, Axis.y.showTicks(value) to set.
BarSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
BarSeries
colorString
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BarSeries
groupString
Deprecated
Use series._new_group('group-name') to set the group, series.new_group() to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then.
BarSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
BarSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
BarSeries
createLabelValues
Deprecated
Use labelValuesExtractor() instead.
LineSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
LineSeries
strokeBoolean
Deprecated
Use series.strokeEnabled(enabled) to set the state, series.strokeEnabled() to get it.
LineSeries
colorString
Deprecated
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
LineSeries
Deprecated
Use series.fillEnabled(enabled) to set the state, series.fillEnabled() to get it.
LineSeries
fillColorString
Deprecated
Use series._new_fillColor(color) to set the color, series._new_fillColor() to get the color.
LineSeries
featherNumber
Deprecated
Use sampleThreshold() to get the feather value, sampleThreshold(value) to set it.
LineSeries
markersBoolean
Deprecated
Use series.markersEnabled(enabled) to set the state, series.markersEnabled() to get it.
LineSeries
markerRadiusNumber
Deprecated
Use _new_markerRadius(radius) to set the radius, _new_markerRadius() to get the radius.
LineSeries
markerColorString
Deprecated
Use seriesmarkerFillColor(color) to set the color, seriesmarkerFillColor() to get the color.
LineSeries
groupString
Deprecated
Use series._new_group('group-name') to set the group, series.new_group() to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then.
LineSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
LineSeries
Deprecated
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
LineSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
LineSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
BandSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
BandSeries
colorString
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BandSeries
featherNumber
Deprecated
Use sampleThreshold() to get the feather value, sampleThreshold(value) to set it.
BandSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
BandSeries
colorString / Array
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BandSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
BandSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
ScatterSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
ScatterSeries
colorString
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
ScatterSeries
sizeNumber
Deprecated
Use series.radius(size) to set the size, series.radius() to get the size.
ScatterSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
ScatterSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
ScatterSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
StraightLineSeries
colorString
Deprecated
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
StraightLineSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
StraightLineSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
StraightLineSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
StraightLineSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
hx.PieChart
segmentPaddingNumber
Deprecated
Use piechart._new_segmentPadding(value) to set, piechart._new_segmentPadding() to get.
hx.PieChart
innerPaddingNumber
Deprecated
Use piechart._new_innerPadding(value) to set, piechart._new_innerPadding() to get.
hx.PieChart
ringPaddingNumber
Deprecated
Use piechart._new_ringPadding(value) to set, piechart._new_ringPadding() to get.
hx.PieChart
totalAngleNumber
Deprecated
Use piechart._new_totalAngle(value) to set, piechart._new_totalAngle() to get.
hx.PieChart
startAngleNumber
Deprecated
Use piechart._new_startAngle(value) to set, piechart._new_startAngle() to get.
hx.PieChart
colorString
Deprecated
Use piechart.strokeColor(value) to set, piechart.strokeColor() to get.
hx.PieChart
formatterFormatter
Deprecated
Use piechart.labelFormatter(value) to set, piechart.labelFormatter() to get.
hx.PieChart
setData
Deprecated
Use piechart.data(data) to set, piechart.data() to get.
hx.PieChart
createLabelValuesArray[Object]
Deprecated
Use piechart.labelValuesExtractor(value) to set, piechart.labelValuesExtractor() to get.
hx.PieChart
useLabelsBoolean
Deprecated
Use piechart.labelsEnabled(value) to set, piechart.labelsEnabled() to get.
hx.PieChart
useSegmentTextBoolean
Deprecated
Use piechart.segmentTextEnabled(value) to set, piechart.segmentTextEnabled() to get.
hx.PieChart
segmentTextFormatterString
Deprecated
Use piechart._new_segmentTextFormatter(value) to set, piechart._new_segmentTextFormatter() to get.
hx.PieChart
useLegendBoolean
Deprecated
Use piechart.legendEnabled(value) to set, piechart.legendEnabled() to get.
hx.PieChart
legendPositionString
Deprecated
Use piechart.legendLocation(value) to set, piechart.legendLocation() to get.
hx.plot
Deprecated
The standard api provides a more declarative way of constructing graphs via the options object, so this api is no longer needed.
Color
17
Color
Deprecated
Use alpha() to get and alpha(value) to set the alpha property.
Color
Deprecated
Use blue() to get and blue(value) to set the blue property.
Color
Deprecated
Use green() to get and green(value) to set the green property.
Color
Deprecated
Use hue() to get and hue(value) to set the hue property. The value returned from hue() and expected by hue(value) is an integer between 0 and 360 instead of a value between 0 and 1.
Color
Deprecated
Use lightness() to get and lightness(value) to set the lightness property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
Deprecated
Use red() to get and red(value) to set the red property.
Color
Deprecated
Use saturation() to get and saturation(value) to set the saturation property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
darkenColor
Deprecated
Use lighten(-value) instead.
Color
desaturateColor
Deprecated
Use saturate(-value) instead.
Color
fadeInColor
Deprecated
Use fade(value) instead.
Color
fadeOutColor
Deprecated
Color
getTextColString
Deprecated
Use textCol() instead.
Color
lightnessColor
Deprecated
Use lightness(value) with a value between 0 and 100 instead of 0 and 1
Color
saturationColor
Deprecated
Use saturation(value) with a value between 0 and 100 instead of 0 and 1
Color
setHSLColor
Deprecated
Use hsl(value) instead.
Color
setRGBColor
Deprecated
Use rgb(value) instead.
Color
toArrayArray[Number]
Deprecated
Use rgb() or hsl() instead.
Dashboard
2
hx.Dashboard
Deprecated
The dashboard module is deprecated in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
DashboardWidgetextendsEventEmitter
Deprecated
The dashboard module is deprecated in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
Date Picker
2
hx.DatePicker
disableDatePicker
Deprecated
Use disabled(true) instead.
hx.DatePicker
enableDatePicker
Deprecated
Use disabled(false) instead.
Date Time Picker
2
hx.DateTimePicker
disableDateTimePicker
Deprecated
Use disabled(true) instead.
hx.DateTimePicker
enableDateTimePicker
Deprecated
Use disabled(false) instead.
Search Dom
3
Deprecated
This module will be removed in version 1.0.0
hx.searchDOM
Deprecated
hx.clearSearch
Deprecated
Time Picker
2
hx.TimePicker
disableTimePicker
Deprecated
Use disabled(true) instead.
hx.TimePicker
enableTimePicker
Deprecated
Use disabled(false) instead.
Titlebar
1
hx-titlebar-fixed
Deprecated
Use hx-heading-fixed instead.
Menu
3
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
Picker
1
hx.PickeroptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
0.15.2
The Color and Plot modules have been standardised in this release, with a lot of deprecations being made that will be removed in version 1.0.0.
All the components that allow input in some way can now be disabled using the api.
The hx.ToggleButton prototype has been moved from the Button to its own module.
Several bugfixes have also been made, as well as improving some of the general documentation and changelog entries.
Base
4
1
Updated
Added classes for applying header styles to elements other than header elements (h1/h2 etc.)
hx-header-large
Added
A class for applying the base header font and text color to an element as well as giving the element a font size equivalent to a <h1> element.
hx-header-medium
Added
A class for applying the base header font and text color to an element as well as giving the element a font size equivalent to a <h2> element.
hx-header-small
Added
A class for applying the base header font and text color to an element as well as giving the element a font size equivalent to a <h3> element.
hx-header
Added
A class for applying the base header font and text color to an element.
Button Group
4
hx.ButtonGroupoptionsObject
options
disabledBoolean
Added
Added the ability to disable a button group in the options
hx.ButtonGroup
disabledButtonGroup
Added
Added the ability to disable/enable a button group
hx.ButtonGroup
disabledBoolean
Added
Added the ability to get the disabled state of a button group
hx.buttonGroupoptionsObject
options
disabledBoolean
Added
Added the ability to disable a button group in the options
Button
2
hx-btn
hx-btn-toggle
Removed
Moved hx.ToggleButton into it's own module (toggle-button)
hx.ToggleButtonextendsEventEmitter
Removed
Moved hx.ToggleButton into it's own module (toggle-button)
Card
1
hx-card
Added
Added card classes
Color Picker
3
hx.ColorPickeroptionsObject
options
disabledBoolean
Added
Added the ability to disable a color picker in the options
hx.ColorPicker
disabledColorPicker
Added
Added the ability to disable/enable a color picker
hx.ColorPicker
disabledBoolean
Added
Added the ability to get the disabled state of a color picker
Color
17
3
17
Color
Updated
Updated the API to convert properties to getters/setters and also added some consistency between the hsl/rgb values by converting the hue, saturation and lightness values from unit values (between 0 and 1) to true values, between 0 and 360 for hue and 0 and 100 for saturation and lightness as these are the values used in CSS.
The methods added for each property (e.g. red, green etc.) will also have aliased methods (e.g. r, g etc.) once the deprecated properties have been removed (as they share the same name)
Color
Deprecated
Use alpha() to get and alpha(value) to set the alpha property.
Color
Deprecated
Use blue() to get and blue(value) to set the blue property.
Color
Deprecated
Use green() to get and green(value) to set the green property.
Color
Deprecated
Use hue() to get and hue(value) to set the hue property. The value returned from hue() and expected by hue(value) is an integer between 0 and 360 instead of a value between 0 and 1.
Color
Deprecated
Use lightness() to get and lightness(value) to set the lightness property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
Deprecated
Use red() to get and red(value) to set the red property.
Color
Deprecated
Use saturation() to get and saturation(value) to set the saturation property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
blueNumber
Added
Gets the blue value for a color.
Color
blueColor
Added
Sets the blue value for a color.
Color
darkenColor
Deprecated
Use lighten(-value) instead.
Color
desaturateColor
Deprecated
Use saturate(-value) instead.
Color
fadeColor
Added
Merged fadeIn and fadeOut into one function.
Color
fadeInColor
Deprecated
Use fade(value) instead.
Color
fadeOutColor
Deprecated
Color
getTextColString
Deprecated
Use textCol() instead.
Color
greenNumber
Added
Gets the green value for a color.
Color
greenColor
Added
Sets the green value for a color.
Color
Added
Gets the hsl array for a color.
Color
hslColor
Added
Sets the tgb array for a color.
Color
Added
Gets the hue value for a color.
Color
hueColor
Added
Sets the hue value for a color.
Color
lightenColor
Updated
Updated to allow increase and decrease of lightness value.
Color
lightnessColor
Deprecated
Use lightness(value) with a value between 0 and 100 instead of 0 and 1
Color
lightnessNumber
Added
Gets the lightness value for a color.
Color
lightnessColor
Added
Sets the lightness value for a color.
Color
Added
Gets the red value for a color.
Color
redColor
Added
Sets the red value for a color.
Color
Added
Gets the rgb array for a color.
Color
rgbColor
Added
Sets the tgb array for a color.
Color
saturateColor
Updated
Updated to allow increase and decrease of saturation value.
Color
saturationColor
Deprecated
Use saturation(value) with a value between 0 and 100 instead of 0 and 1
Color
saturationNumber
Added
Gets the saturation value for a color.
Color
saturationColor
Added
Sets the saturation value for a color.
Color
setHSLColor
Deprecated
Use hsl(value) instead.
Color
setRGBColor
Deprecated
Use rgb(value) instead.
Color
toArrayArray[Number]
Deprecated
Use rgb() or hsl() instead.
Dashboard
2
hx.Dashboard
Deprecated
The dashboard module is deprecated in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
DashboardWidgetextendsEventEmitter
Deprecated
The dashboard module is deprecated in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
Data Table
3
2
2
hx.DataTableextendsEventEmitter
Bugfix
Fixed a bug where the sort controls were showing in compact mode when sorting had been disabled.
hx.DataTable
suppressRenderBoolean
Deprecated
Use renderSuppressed() instead
hx.DataTable
suppressRenderDataTable
Deprecated
Use renderSuppressed(value) instead
hx.DataTable
renderSuppressedBoolean
Added
Added a new method to replace suppressRender as the name did not make it clear that it was a setter/getter.
hx.DataTable
renderSuppressedDataTable
Added
Added a new method to replace suppressRender as the name did not make it clear that it was a setter/getter.
hx.DataTable
rowclick
Bugfix
Updated the row click event data to include the row data as well as the row node
hx.DataTable
rowclick
nodeHTMLElement
Added
Date Picker
2
1
2
hx.DatePickeroptionsObject
options
disabledBoolean
Updated
Added the ability to disable a date picker in the options
hx.DatePicker
disableDatePicker
Deprecated
Use disabled(true) instead.
hx.DatePicker
enableDatePicker
Deprecated
Use disabled(false) instead.
hx.DatePicker
disabledDatePicker
Added
Added the ability to disable/enable a date picker
hx.DatePicker
disabledBoolean
Added
Added the ability to get the disabled state of a date picker
Date Time Picker
3
2
hx.DateTimePicker
disableDateTimePicker
Deprecated
Use disabled(true) instead.
hx.DateTimePicker
enableDateTimePicker
Deprecated
Use disabled(false) instead.
hx.DateTimePickeroptionsObject
options
disabledBoolean
Added
Added the ability to disable a date time picker in the options
hx.DateTimePicker
disabledDateTimePicker
Added
Added the ability to disable/enable a date time picker
hx.DateTimePicker
disabledBoolean
Added
Added the ability to get the disabled state of a date time picker
Drag Container
2
Added
Added a module that allows elements to be dragged and ordered. This replicates the functionality of dashboard in a general purpose way.
hx.DragContainerextendsEventEmitter
Added
A prototype for creating a container with draggable elements inside.
Extended Table
1
1
hx.TableextendsEventEmitter
Bugfix
Fix for issue when setting sorts/filters before setting the data for a table
Deprecated
This module has been deprecated in favor of the data-table module. This module will be removed in version 2.0.0 of hexagon.
Form Builder
10
1
hx.Form
addSubmitForm
Removed
Replaced with addSubmit(text, icon, submitAction)
hx.Form
addSubmitForm
Added
Adds a submit button to the form
hx.Form
valueAny
Added
A method for getting the value for a single property in a form.
hx.Form
valueForm
Added
A method for setting the value for a single property in a form.
hx.Form
hiddenBoolean
Added
A method getting the hidden state for a form property. Hidden properties will be visually hidden and their values will not be present in the form data.
hx.Form
hiddenForm
Added
A method setting the hidden state for a form property. Hidden properties will be visually hidden and their values will not be present in the form data.
hx.Form
hiddenArray[Boolean]
Added
A method getting the hidden state for a set of form properties. Hidden properties will be visually hidden and their values will not be present in the form data.
hx.Form
hiddenForm
Added
A method setting the hidden state for a set of form properties. Hidden properties will be visually hidden and their values will not be present in the form data.
hx.Form
nodeHTMLElement
Added
A method for getting the node for a form property
hx.Form
errorMessageForm
Added
A method for setting custom error messages for form fields. If the message is set to anything other than an empty string, the form input will be classed as invalid and show a validation message.
form.errorMessage('Text', 'Please enter something sensible') // Form will not validate with message 'Please enter something sensible'
form.errorMessage('Text', undefined) // Clears validation message.
hx.Form
errorMessageString
Added
A method for getting the error message for a form field. This will include messages set with the errorMessage method as well as inbuilt errors, such as those shown for required fields.
Layout
1
hx-compact-group
Added
Given to a div that can contains several sections (or possibly more nested groups or compact groups). This class is similar to hx-group with the difference that the hx-sections within the group will have no margin.
Menu
5
3
hx.MenuoptionsObject
options
disabledBoolean
Added
Added the ability to disable a menu in the options
hx.Menu
disabledMenu
Added
Added the ability to disable/enable a menu
hx.Menu
disabledBoolean
Added
Added the ability to get the disabled state of a menu
hx.Menu
change
menuMenu
Added
Added the parent menu to the event data
hx.Menu
highlight
menuMenu
Added
Added the parent menu to the event data
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
Notify
1
hx.NotificationManager
Bugfix
Updated so that the notification containers have unique ID's so they don't cause the inbuilt notifications to display inside custom notification mangers
Number Picker
3
hx.NumberPickeroptionsObject
options
disabledBoolean
Added
Added the ability to disable a number picker in the options
hx.NumberPicker
disabledNumberPicker
Added
Added the ability to disable/enable a number picker
hx.NumberPicker
disabledBoolean
Added
Added the ability to get the disabled state of a number picker
Palette
8
Added
Added the .hx-background-text-color class to allow child elements of elements with a hx-background- class the correct text color for that background.
hx-background-default
hx-background-text-color
Added
Applies the text color to a child element of any element with a background class.
hx-background-positive
hx-background-text-color
Added
Applies the text color to a child element of any element with a background class.
hx-background-warning
hx-background-text-color
Added
Applies the text color to a child element of any element with a background class.
hx-background-negative
hx-background-text-color
Added
Applies the text color to a child element of any element with a background class.
hx-background-info
hx-background-text-color
Added
Applies the text color to a child element of any element with a background class.
hx-background-compliment
hx-background-text-color
Added
Applies the text color to a child element of any element with a background class.
hx-background-contrast
hx-background-text-color
Added
Applies the text color to a child element of any element with a background class.
Picker
3
2
1
hx.PickeroptionsObject
options
disabledBoolean
Added
Added the ability to disable a picker in the options
hx.Picker
itemsPicker
Bugfix
Fixed a bug where the items setter was not updating the value when a new list of items was passed in.
hx.Picker
valuePicker
Bugfix
Made it possible to clear the value of a picker by passing in undefined
hx.Picker
disabledPicker
Added
Added the ability to disable/enable a picker
hx.Picker
disabledBoolean
Added
Added the ability to get the disabled state of a picker
hx.PickeroptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
Plot
165
1
1
90
2
1
Info
Updated
Previously they were rendered in svg, which made them inflexible and limited them to displaying within the plot area. The new version uses floating divs which makes them easer to define and allows them to be displayed outside the plot area.
This is something that is needed for the new Sparkline api, which is a simple wrapper around the Graph api for drawing tiny graphs. Series now have a labelRenderer method for setting custom labelRenderers. This matches the renderer pattern used throughout hexagon.
hx.Graph
Removed
A new constructor has been added with an optional options object in place of this. If not using the options object, the existing way of creating a graph with new hx.Graph(selector) will still work
hx.Graph
addAxisAxis
Deprecated
Use graph.addAxis(options) instead.
hx.Graph
useZoomBoolean
Deprecated
Use graph.zoomEnabled() instead. zoomEnabled(value) to set, zoomEnabled() to get.
hx.Graph
zoomStartNumber
Deprecated
Use graph.zoomRangeStart() instead. zoomRangeStart(value) to set, zoomRangeStart() to get.
hx.Graph
zoomEndNumber
Deprecated
Use graph.zoomRangeEnd() instead. zoomRangeEnd(value) to set, zoomRangeEnd() to get.
hx.Graph
useLabelsBoolean
Deprecated
Use graph.labelsEnabled() instead. labelsEnabled(value) to set, labelsEnabled() to get.
hx.Graph
useLegendBoolean
Deprecated
Use graph.legendEnabled() instead. legendEnabled(value) to set, legendEnabled() to get.
hx.Graph
legendPositionString
Deprecated
Use graph.legendLocation() instead. legendLocation(value) to set, legendLocation() to get.
hx.Graph
Added
hx.Graph
zoomRangeStartGraph
Added
Sets the start of the zoomed region - specified on the 0 to 1 scale where 0 is the left-most value on the x axis, and 1 means the right-most value of the x axis (setting it to 1 will always result in the graph showing nothing).
hx.Graph
zoomRangeStartNumber
Added
Gets the start of the zoomed region - specified on the 0 to 1 scale where 0 is the left-most value on the x axis, and 1 means the right-most value of the x axis (setting it to 1 will always result in the graph showing nothing).
hx.Graph
zoomRangeEndGraph
Added
Sets the end of the zoomed region - specified on the 0 to 1 scale where 0 is the left-most value on the x axis, and 1 means the right-most value of the x axis (setting it to 1 will always result in the graph showing nothing).
hx.Graph
zoomRangeEndNumber
Added
Gets the end of the zoomed region - specified on the 0 to 1 scale where 0 is the left-most value on the x axis, and 1 means the right-most value of the x axis (setting it to 1 will always result in the graph showing nothing).
hx.Graph
zoomEnabledGraph
Added
Enables or disables the zoom with mouse feature. Supplying true enables zoom, false disables it.
hx.Graph
zoomEnabledBoolean
Added
Gets the value of the zoomEnabled option.
hx.Graph
labelsEnabledGraph
Added
hx.Graph
labelsEnabledBoolean
Added
Gets the value of the labelsEnabled option.
hx.Graph
legendEnabledGraph
Added
hx.Graph
legendEnabledBoolean
Added
Gets the value of the legendEnabled option.
hx.Graph
legendLocationGraph
Added
How to display the legend on the graph. Possible modes:
  • 'auto' - moves the legend around to avoid the mouse
  • 'hover' - same as auto, but only displays the legend on mouse hover
  • 'top-right' - displays the legend in the top right
  • 'top-left' - displays the legend in the top left
  • 'bottom-right' - displays the legend in the bottom right
  • 'bottom-left' - displays the legend in the bottom left
hx.Graph
legendLocationString
Added
Gets the value of the legendLocation option. It should be one of the following:
  • 'auto' - moves the legend around to avoid the mouse
  • 'hover' - same as auto, but only displays the legend on mouse hover
  • 'top-right' - displays the legend in the top right
  • 'top-left' - displays the legend in the top left
  • 'bottom-right' - displays the legend in the bottom right
  • 'bottom-left' - displays the legend in the bottom left
hx.Graph
axesArray[Axis]
Added
Gets the axes attached to the graph.
hx.Graph
axesGraph
Added
Sets the axes attached to the graph.
hx.Graph
addAxisAxis
Added
Creates a new axis with the options specified and adds it to the graph. Returns the new Axis instance.
hx.Axis
Bugfix
Fixed an issue with how the axes were being positioned for xAxisTickLabelPosition/yAxisTickLabelPosition
hx.Axis
Deprecated
Use hx.Axis(options) instead.
hx.Axis
xVisibleBoolean
Deprecated
Use Axis.x.visible() instead. Axis.x.visible() to get, Axis.x.visible(value) to set.
hx.Axis
xFormatterString
Deprecated
Use Axis.x.formatter() instead. Axis.x.formatter() to get, Axis.x.formatter(value) to set.
hx.Axis
xMinNumber
Deprecated
Use Axis.x.min() instead. Axis.x.min() to get, Axis.x.min(value) to set.
hx.Axis
xMaxNumber
Deprecated
Use Axis.x.max() instead. Axis.x.max() to get, Axis.x.max(value) to set.
hx.Axis
xDiscretePaddingNumber
Deprecated
Use Axis.x.discretePadding() instead. Axis.x.discretePadding() to get, Axis.x.discretePadding(value) to set.
hx.Axis
xDiscreteLabelsArray
Deprecated
Use Axis.x.discreteLabels() instead. Axis.x.discreteLabels() to get, Axis.x.discreteLabels(value) to set.
hx.Axis
xTickSpacingNumber
Deprecated
Use Axis.x.tickSpacing() instead. Axis.x.tickSpacing() to get, Axis.x.tickSpacing(value) to set.
hx.Axis
xTitleString
Deprecated
Use Axis.x.title() instead. Axis.x.title() to get, Axis.x.title(value) to set.
hx.Axis
xScalePaddingMinNumber
Deprecated
Use Axis.x.scalePaddingMin() instead. Axis.x.scalePaddingMin() to get, Axis.x.scalePaddingMin(value) to set.
hx.Axis
xScalePaddingMaxNumber
Deprecated
Use Axis.x.scalePaddingMax() instead. Axis.x.scalePaddingMax() to get, Axis.x.scalePaddingMax(value) to set.
hx.Axis
xGridLinesBoolean
Deprecated
Use Axis.x.gridLines() instead. Axis.x.gridLines() to get, Axis.x.gridLines(value) to set.
hx.Axis
xNthTickVisibleNumber
Deprecated
Use Axis.x.nthTickVisible() instead. Axis.x.nthTickVisible() to get, Axis.x.nthTickVisible(value) to set.
hx.Axis
yVisibleBoolean
Deprecated
Use Axis.y.visible() instead. Axis.y.visible() to get, Axis.y.visible(value) to set.
hx.Axis
yFormatterString
Deprecated
Use Axis.y.formatter() instead. Axis.y.formatter() to get, Axis.y.formatter(value) to set.
hx.Axis
yMinNumber
Deprecated
Use Axis.y.min() instead. Axis.y.min() to get, Axis.y.min(value) to set.
hx.Axis
yMaxNumber
Deprecated
Use Axis.y.max() instead. Axis.y.max() to get, Axis.y.max(value) to set.
hx.Axis
yDiscretePaddingNumber
Deprecated
Use Axis.y.discretePadding() instead. Axis.y.discretePadding() to get, Axis.y.discretePadding(value) to set.
hx.Axis
yDiscreteLabelsArray
Deprecated
Use Axis.y.discreteLabels() instead. Axis.y.discreteLabels() to get, Axis.y.discreteLabels(value) to set.
hx.Axis
yTickSpacingNumber
Deprecated
Use Axis.y.tickSpacing() instead. Axis.y.tickSpacing() to get, Axis.y.tickSpacing(value) to set.
hx.Axis
yTitleString
Deprecated
Use Axis.y.title() instead. Axis.y.title() to get, Axis.y.title(value) to set.
hx.Axis
yScalePaddingMinNumber
Deprecated
Use Axis.y.scalePaddingMin() instead. Axis.y.scalePaddingMin() to get, Axis.y.scalePaddingMin(value) to set.
hx.Axis
yScalePaddingMaxNumber
Deprecated
Use Axis.y.scalePaddingMax() instead. Axis.y.scalePaddingMax() to get, Axis.y.scalePaddingMax(value) to set.
hx.Axis
yGridLinesBoolean
Deprecated
Use Axis.y.gridLines() instead. Axis.y.gridLines() to get, Axis.y.gridLines(value) to set.
hx.Axis
yNthTickVisibleNumber
Deprecated
Use Axis.y.nthTickVisible() instead. Axis.y.nthTickVisible() to get, Axis.y.nthTickVisible(value) to set.
hx.Axis
addSeriesSeries
Deprecated
Use addSeries(type, {title: "name"}) instead.
hx.Axis
xAxisTickLabelPositionString
Deprecated
Use Axis.x.axisTickLabelPosition() instead. Axis.x.axisTickLabelPosition() to get, Axis.x.axisTickLabelPosition(value) to set.
hx.Axis
yAxisTickLabelPositionString
Deprecated
Use Axis.y.axisTickLabelPosition() instead. Axis.y.axisTickLabelPosition() to get, Axis.y.axisTickLabelPosition(value) to set.
hx.Axis
xShowTicksBoolean
Deprecated
Use Axis.x.showTicks() instead. Axis.x.showTicks() to get, Axis.x.showTicks(value) to set.
hx.Axis
yShowTicksString
Deprecated
Use Axis.y.showTicks() instead. Axis.y.showTicks() to get, Axis.y.showTicks(value) to set.
hx.Axis
Added
Creates a new Axis instance. This should normally be done via graph.addAxis(options) instead.
hx.Axis
addSeriesSeries
Added
Adds a new series to the graph. See the related series type prototype options for what to pass in for the options parameter.
hx.Axis
seriesArray[Series]
Added
Gets the list of the series attached to this axis
hx.Axis
seriesAxis
Added
Sets the list of the series attached to this axis
hx.Axis
x
Added
hx.Axis
y
Added
BarSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
BarSeries
colorString
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BarSeries
groupString
Deprecated
Use series._new_group('group-name') to set the group, series.new_group() to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then.
BarSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
BarSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
BarSeries
Added
BarSeries
createLabelValues
Added
Deprecated
Use labelValuesExtractor() instead.
BarSeries
labelFormatterBandSeries
Added
Sets a label formatter
BarSeries
labelFormatterFunction
Added
Gets a label formatter
BarSeries
labelValuesExtractorBandSeries
Added
Sets the label values extractor.
BarSeries
labelValuesExtractorFunction
Added
Gets the label values extractor.
BarSeries
labelsEnabledBarSeries
Added
Sets whether labels should be used for this series
BarSeries
labelsEnabledBoolean
Added
Gets whether labels should be displayed for this series
BarSeries
labelRendererBarSeries
Added
Sets the label renderer for this series. This allows creation of custom labels
BarSeries
labelRendererFunction
Added
Gets the label renderer for this series.
BarSeries
titleBarSeries
Added
Sets the title of the series
BarSeries
titleString
Added
Gets the title of the series
BarSeries
_new_classBarSeries
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Sets an additional class to give the series svg elements.
BarSeries
_new_classString
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Gets the additional class applied to the series svg elements.
BarSeries
_new_groupBarSeries
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Sets the group the series belongs to. Series with the same group will be visually grouped together.
BarSeries
_new_groupString
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Gets the group the series belongs to.
BarSeries
fillColorBarSeries
Added
Sets the color to fill the bar with
BarSeries
fillColorString
Added
Gets the color used to fill the bar
BarSeries
dataBarSeries
Added
Sets the data for this series
BarSeries
Added
Gets the data for this series
LineSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
LineSeries
strokeBoolean
Deprecated
Use series.strokeEnabled(enabled) to set the state, series.strokeEnabled() to get it.
LineSeries
colorString
Deprecated
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
LineSeries
Deprecated
Use series.fillEnabled(enabled) to set the state, series.fillEnabled() to get it.
LineSeries
fillColorString
Deprecated
Use series._new_fillColor(color) to set the color, series._new_fillColor() to get the color.
LineSeries
featherNumber
Deprecated
Use sampleThreshold() to get the feather value, sampleThreshold(value) to set it.
LineSeries
markersBoolean
Deprecated
Use series.markersEnabled(enabled) to set the state, series.markersEnabled() to get it.
LineSeries
markerRadiusNumber
Deprecated
Use _new_markerRadius(radius) to set the radius, _new_markerRadius() to get the radius.
LineSeries
markerColorString
Deprecated
Use seriesmarkerFillColor(color) to set the color, seriesmarkerFillColor() to get the color.
LineSeries
groupString
Deprecated
Use series._new_group('group-name') to set the group, series.new_group() to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then.
LineSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
LineSeries
Deprecated
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
LineSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
LineSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
LineSeries
Added
LineSeries
labelFormatterLineSeries
Added
Sets a label formatter
LineSeries
labelFormatterFunction
Added
Gets a label formatter
LineSeries
titleLineSeries
Added
Sets the title of the series
LineSeries
titleString
Added
Gets the title of the series
LineSeries
_new_groupLineSeries
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Sets the group the series belongs to. Series with the same group will be stacked on top of each other.
LineSeries
_new_groupString
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Gets the group the series belongs to.
LineSeries
labelsEnabledLineSeries
Added
Sets whether labels should be used for this series
LineSeries
labelsEnabledBoolean
Added
Gets whether labels should be displayed for this series
LineSeries
labelRendererLineSeries
Added
Sets the label renderer for this series. This allows creation of custom labels
LineSeries
labelRendererFunction
Added
Gets the label renderer for this series.
LineSeries
sampleThresholdLineSeries
Added
Sets the maximum number of data points to render when displaying the graph. If there are more data points in the series data than this value, the data will be sampled.
LineSeries
sampleThresholdNumber
Added
Gets the maximum number of points that will be shown before sampling is applied.
LineSeries
labelValuesExtractorLineSeries
Added
Sets the label values extractor.
LineSeries
labelValuesExtractorFunction
Added
Gets the label values extractor.
LineSeries
strokeEnabledLineSeries
Added
Sets whether the path for this series should be stroked
LineSeries
strokeEnabledBoolean
Added
Gets whether the path of this series should be stroked
LineSeries
strokeColorLineSeries
Added
Sets the color to stroke the series with
LineSeries
strokeColorString
Added
Gets the color used to stroke the series with
LineSeries
fillEnabledLineSeries
Added
Sets whether the path for this series should be filled
LineSeries
fillEnabledBoolean
Added
Gets whether the path of this series should be filled
LineSeries
_new_fillColorLineSeries
Added
Note
The _new_ prefix will be dropped in 1.0.0.
Sets the color to fill the series with
LineSeries
_new_fillColorString
Added
Note
The _new_ prefix will be dropped in 1.0.0.
Gets the color used to fill the series with
LineSeries
_new_classLineSeries
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Sets an additional class to give the series svg element.
LineSeries
_new_classString
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Gets the additional class applied to the series svg element.
LineSeries
markersEnabledLineSeries
Added
Sets whether markers should be placed where there are data points
LineSeries
markersEnabledBoolean
Added
Gets whether markers should be placed where there are data points
LineSeries
markerFillColorLineSeries
Added
Sets the color to fill the markers with
LineSeries
markerFillColorString
Added
Gets the color used to fill the markers with
LineSeries
_new_markerRadiusLineSeries
Added
Sets the radius of the markers in pixels
LineSeries
_new_markerRadiusNumber
Added
Gets the radius of the markers in pixels
LineSeries
dataLineSeries
Added
Sets the data for this series
LineSeries
Added
Sets the data for this series
BandSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
BandSeries
colorString
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BandSeries
featherNumber
Deprecated
Use sampleThreshold() to get the feather value, sampleThreshold(value) to set it.
BandSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
BandSeries
colorString / Array
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
BandSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
BandSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
BandSeries
createLabelValuesdataPointObject
dataPoint
Added
BandSeries
Added
BandSeries
titleBandSeries
Added
Sets the title of the series
BandSeries
titleString
Added
Gets the title of the series
BandSeries
fillColorBandSeries
Added
Sets the color to fill the band with
BandSeries
fillColorBandSeries
Added
Sets the color to fill the band with
BandSeries
fillColorString
Added
Gets the color used to fill the band
BandSeries
_new_classBandSeries
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Sets an additional class to give the series svg element.
BandSeries
_new_classString
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Gets the additional class applied to the series svg element.
BandSeries
sampleThresholdBandSeries
Added
Sets the maximum number of data points to render when displaying the graph. If there are more data points in the series data than this value, the data will be sampled.
BandSeries
sampleThresholdNumber
Added
Gets the maximum number of points that will be shown before sampling is applied.
BandSeries
labelValuesExtractorBandSeries
Added
Sets the label values extractor.
BandSeries
labelFormatterBandSeries
Added
Sets a label formatter
BandSeries
labelFormatterFunction
Added
Gets a label formatter
BandSeries
labelValuesExtractorFunction
Added
Gets the label values extractor.
BandSeries
labelsEnabledBandSeries
Added
Sets whether labels should be used for this series
BandSeries
labelsEnabledBoolean
Added
Gets whether labels should be displayed for this series
BandSeries
labelRendererBandSeries
Added
Sets the label renderer for this series. This allows creation of custom labels
BandSeries
labelRendererFunction
Added
Gets the label renderer for this series.
BandSeries
labelInterpolatedBandSeries
Added
Sets whether or not label's values should be interpolated.
BandSeries
labelInterpolatedBoolean
Added
Gets whether or not label's values should be interpolated.
BandSeries
dataBandSeries
Added
Sets the data for this series
BandSeries
Added
Gets the data for this series
ScatterSeries
nameString
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
ScatterSeries
colorString
Deprecated
Use series.fillColor(color) to set the color, series.fillColor() to get the color.
ScatterSeries
sizeNumber
Deprecated
Use series.radius(size) to set the size, series.radius() to get the size.
ScatterSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
ScatterSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
ScatterSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
ScatterSeries
Added
ScatterSeries
labelValuesExtractorScatterSeries
Added
Sets the label values extractor.
ScatterSeries
labelValuesExtractorFunction
Added
Gets the label values extractor.
ScatterSeries
labelFormatterScatterSeries
Added
Sets a label formatter
ScatterSeries
labelFormatterFunction
Added
Gets a label formatter
ScatterSeries
labelsEnabledScatterSeries
Added
Sets whether labels should be used for this series
ScatterSeries
labelsEnabledBoolean
Added
Gets whether labels should be displayed for this series
ScatterSeries
labelRendererScatterSeries
Added
Sets the label renderer for this series. This allows creation of custom labels
ScatterSeries
labelRendererFunction
Added
Gets the label renderer for this series.
ScatterSeries
titleScatterSeries
Added
Sets the title of the series
ScatterSeries
titleString
Added
Gets the title of the series
ScatterSeries
_new_classScatterSeries
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Sets an additional class to give the series svg elements.
ScatterSeries
_new_classString
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Gets the additional class applied to the series svg elements.
ScatterSeries
radiusScatterSeries
Added
Sets the radius of the scatter points for this series. The radius may also be overidden in the data.
ScatterSeries
radiusNumber
Added
Gets the radius of the scatter points.
ScatterSeries
fillColorScatterSeries
Added
Sets the color to fill the point with
ScatterSeries
fillColorString
Added
Gets the color used to fill the point
ScatterSeries
dataScatterSeries
Added
Sets the data for this series
ScatterSeries
Added
Gets the data for this series
StraightLineSeries
colorString
Deprecated
Use series.strokeColor(color) to set the color, series.strokeColor() to get the color.
StraightLineSeries
setData
Deprecated
Use series.data(data) to set new data, series.data() to get the current data.
StraightLineSeries
classString
Deprecated
Use series._new_class(class) to set the title. This method will be renamed to series.class() in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class() .
StraightLineSeries
createLabelValuesArray[Object]
Deprecated
Use labelValuesExtractor() instead.
StraightLineSeries
Added
StraightLineSeries
labelValuesExtractorStraightLineSeries
Added
Sets the label values extractor.
StraightLineSeries
labelValuesExtractorFunction
Added
Gets the label values extractor.
StraightLineSeries
labelFormatterStraightLineSeries
Added
Sets a label formatter
StraightLineSeries
labelFormatterFunction
Added
Gets a label formatter
StraightLineSeries
labelsEnabledStraightLineSeries
Added
Sets whether labels should be used for this series
StraightLineSeries
labelsEnabledBoolean
Added
Gets whether labels should be displayed for this series
StraightLineSeries
labelRendererStraightLineSeries
Added
Sets the label renderer for this series. This allows creation of custom labels
StraightLineSeries
labelRendererFunction
Added
Gets the label renderer for this series.
StraightLineSeries
nameString
Added
Deprecated
Use series.title(name) to set the series name, series.title() to get the name.
StraightLineSeries
titleStraightLineSeries
Added
Sets the title of the series
StraightLineSeries
titleString
Added
Gets the title of the series
StraightLineSeries
_new_classStraightLineSeries
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Sets an additional class to give the series svg element.
StraightLineSeries
_new_classString
Added
Note
The _new_ prefix will be dropped in version 1.0.0.
Gets the additional class applied to the series svg element.
StraightLineSeries
strokeColorStraightLineSeries
Added
Sets the color to stroke the series with
StraightLineSeries
strokeColorString
Added
Gets the color used to stroke the series with
StraightLineSeries
dataStraightLineSeries
Added
Sets the data for this series
StraightLineSeries
Added
Gets the data for this series
hx.PieChart
Removed
A new constructor has been added with an optional options object in place of this. If not using the options object, the existing way of creating a graph with new hx.PieChart(selector) will still work
hx.PieChart
segmentPaddingNumber
Deprecated
Use piechart._new_segmentPadding(value) to set, piechart._new_segmentPadding() to get.
hx.PieChart
innerPaddingNumber
Deprecated
Use piechart._new_innerPadding(value) to set, piechart._new_innerPadding() to get.
hx.PieChart
ringPaddingNumber
Deprecated
Use piechart._new_ringPadding(value) to set, piechart._new_ringPadding() to get.
hx.PieChart
totalAngleNumber
Deprecated
Use piechart._new_totalAngle(value) to set, piechart._new_totalAngle() to get.
hx.PieChart
startAngleNumber
Deprecated
Use piechart._new_startAngle(value) to set, piechart._new_startAngle() to get.
hx.PieChart
colorString
Deprecated
Use piechart.strokeColor(value) to set, piechart.strokeColor() to get.
hx.PieChart
formatterFormatter
Deprecated
Use piechart.labelFormatter(value) to set, piechart.labelFormatter() to get.
hx.PieChart
setData
Deprecated
Use piechart.data(data) to set, piechart.data() to get.
hx.PieChart
createLabelValuesArray[Object]
Deprecated
Use piechart.labelValuesExtractor(value) to set, piechart.labelValuesExtractor() to get.
hx.PieChart
useLabelsBoolean
Deprecated
Use piechart.labelsEnabled(value) to set, piechart.labelsEnabled() to get.
hx.PieChart
useSegmentTextBoolean
Deprecated
Use piechart.segmentTextEnabled(value) to set, piechart.segmentTextEnabled() to get.
hx.PieChart
segmentTextFormatterString
Deprecated
Use piechart._new_segmentTextFormatter(value) to set, piechart._new_segmentTextFormatter() to get.
hx.PieChart
useLegendBoolean
Deprecated
Use piechart.legendEnabled(value) to set, piechart.legendEnabled() to get.
hx.PieChart
legendPositionString
Deprecated
Use piechart.legendLocation(value) to set, piechart.legendLocation() to get.
hx.PieChart
Added
Creates a new pie chart object.
hx.PieChart
segmentTextEnabledPieChart
Added
Sets the segmentTextEnabled value of the pie chart
hx.PieChart
segmentTextEnabledBoolean
Added
Gets the current segmentTextEnabled of the pie chart
hx.PieChart
labelsEnabledPieChart
Added
Sets the labelsEnabled value of the pie chart
hx.PieChart
labelsEnabledBoolean
Added
Gets the current labelsEnabled of the pie chart
hx.PieChart
legendEnabledPieChart
Added
Sets the legendEnabled value of the pie chart
hx.PieChart
legendEnabledBoolean
Added
Gets the current legendEnabled of the pie chart
hx.PieChart
fillColorPieChart
Added
Sets the default segment fill color value of the pie chart
hx.PieChart
fillColorString
Added
Gets the current default segment fill color of the pie chart
hx.PieChart
_new_innerPaddingPieChart
Added
Sets the inner padding of the pie chart
hx.PieChart
_new_innerPaddingNumber
Added
Gets the current inner padding of the pie chart
hx.PieChart
_new_segmentPaddingPieChart
Added
Sets the segment padding of the pie chart
hx.PieChart
_new_segmentPaddingNumber
Added
Gets the current segment padding of the pie chart
hx.PieChart
_new_ringPaddingPieChart
Added
Sets the ring padding of the pie chart
hx.PieChart
_new_ringPaddingNumber
Added
Gets the current ring padding of the pie chart
hx.PieChart
_new_totalAnglePieChart
Added
Sets the total angle of the pie chart
hx.PieChart
_new_totalAngleNumber
Added
Gets the current total angle of the pie chart
hx.PieChart
_new_startAnglePieChart
Added
Sets the start angle of the pie chart
hx.PieChart
_new_startAngleNumber
Added
Gets the current start angle of the pie chart
hx.PieChart
_new_segmentTextFormatterPieChart
Added
Sets the segment text formatter of the pie chart
hx.PieChart
_new_segmentTextFormatterFunction
Added
Gets the current segment text formatter of the pie chart
hx.PieChart
labelValuesExtractorPieChart
Added
Sets the label values extractor of the pie chart
hx.PieChart
labelValuesExtractorFunction
Added
Gets the current label values extractor of the pie chart
hx.PieChart
labelRendererPieChart
Added
Sets the label renderer of the pie chart
hx.PieChart
labelRendererFunction
Added
Gets the current label renderer of the pie chart
hx.PieChart
labelFormatterPieChart
Added
Sets the label formatter of the pie chart
hx.PieChart
labelFormatterFunction
Added
Gets the current label formatter of the pie chart
hx.PieChart
Added
Gets the current data of the pie chart
hx.PieChart
data
Added
Sets the data this pie chart should display.
hx.plot
Deprecated
The standard api provides a more declarative way of constructing graphs via the options object, so this api is no longer needed.
hx.Sparkline
Added
A function for creating a small, inline graph with with no visible axes or ticks.
Search Dom
3
Deprecated
This module will be removed in version 1.0.0
hx.searchDOM
Deprecated
hx.clearSearch
Deprecated
Selection
2
Selection
Updated
Added the ability to attach an array of selections to a selection using the add, append, prepend, insertBefore and insertAfter methods.
Selection
Updated
Added the ability to check for multiple classes at once, e.g. selection.classed('a b')
Slider
3
1
hx.SliderextendsEventEmitter
Bugfix
resolve an issue with discrete values that meant that numbers/objects were being coerced into strings
hx.SlideroptionsObject
options
disabledBoolean
Added
Added the ability to disable a slider in the options
hx.Slider
disabledSlider
Added
Added the ability to disable/enable a slider
hx.Slider
disabledBoolean
Added
Added the ability to get the disabled state of a slider
Tag Input
3
hx.TagInputoptionsObject
options
disabledBoolean
Added
Added the ability to disable a tag input in the options
hx.TagInput
disabledTagInput
Added
Added the ability to disable/enable a tag input
hx.TagInput
disabledBoolean
Added
Added the ability to get the disabled state of a tag input
Time Picker
3
1
2
hx.TimePickerextendsEventEmitter
Bugfix
Disabled text input for touch devices as the input box conflicts with the dropdown for changing the time which isn't very user friendly
hx.TimePicker
disableTimePicker
Deprecated
Use disabled(true) instead.
hx.TimePicker
enableTimePicker
Deprecated
Use disabled(false) instead.
hx.TimePickeroptionsObject
options
disabledBoolean
Added
Added the ability to disable a time picker in the options
hx.TimePicker
disabledTimePicker
Added
Added the ability to disable/enable a time picker
hx.TimePicker
disabledBoolean
Added
Added the ability to get the disabled state of a time picker
Time Slider
3
hx.TimeSlideroptionsObject
options
disabledBoolean
Added
Added the ability to disable a a time slider in the options
hx.TimeSlider
disabledTimeSlider
Added
Added the ability to disable/enable a time slider
hx.TimeSlider
disabledBoolean
Added
Added the ability to get the disabled state of a time slider
Titlebar
1
1
hx-titlebar-fixed
Deprecated
Use hx-heading-fixed instead.
hx-heading-fixed
Added
Added a new class to replace hx-titlebar-fixed as it applies to the hx-heading element, not the hx-titlebar within the heading.
Toggle Button
1
hx.ToggleButtonextendsEventEmitter
Added
Moved the toggle button prototype to it's own module.
Util
3
hx.checkParents
Added
A function for checking a node and it's parents for properties or contents.
This function will return the first non-undefined result by default or an array of all the non-undefined results if returnArray is true.
hx.parentZIndex
Added
A function for checking a node's parents to find the first element with a z-index.
hx.debounce
Added
A function that prevents multiple calls to a function from being called in quick succession.
This is useful for calling an event when a user is inputting data, such as typing in an input field, to prevent a callback being run for every character entered.
0.15.1
Fix some bugs in extended tables. Fix some deprecated warnings across several modules.
Extended Table
1
1
hx.TableextendsEventEmitter
Bugfix
Fix for tables when in compact mode with no data. Also update pickers to use the new event types which was causing an infinite loop in 0.15.0. Squash deprecated warnings for tables.
Deprecated
This module has been deprecated in favor of the data-table module. This module will be removed in version 2.0.0 of hexagon.
Menu
3
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
Picker
1
hx.PickeroptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
0.15.0
The extended-table module has been deprecated in this release. The data-table module is the replacement. The data-table module provides mostly the same functionality as the extended table module, but has the ability to retain selections when sorting and filtering. Restoration of selections is now possible, and the per-column filter input boxes have been replaced with a single, easier to use filter box. The data-table module also has better support for mobiles - showing the filter and sort options at the top of the table when in mobile mode.
The Select module has been removed in this release - hx.Picker should be used instead.
Button Group
1
1
hx.ButtonGroup
changeString
Removed
Replaced with the standard cause/value hexagon event type
hx.ButtonGroup
change
Added
Added a change event with the standard cause/value hexagon envent type
Component
2
Selection
componentObject / Array[Object]
Added
A new method for retrieving the component object backing an element from a selection
Selection
componentsArray[Object] / Array[Array[Object]]
Added
A new method for retrieving the components object backing an element from a selection
Data Table
3
hx.DataTableextendsEventEmitter
Added
Added a new module for creating data tables to replace the
Feed
Added
A feed is the type of object used by a data table to get the data for display. A feed should be an object with the following functions:
{
  headers: function (cb) { ... }
  totalCount: function (cb) { ... }
  rows: function (range, cb) { ... }
  rowsForIds: function (ids, cb) { ... }
}
There are predefined feeds for objects and urls in the hx.dataTable object. A data table expects data to be returned in the callback of each function with a specific value. If a custom feed is created, it must return the values expected by the table.
hx.dataTable
Added
An object containing the default Feed object constructors and helpers for making custom feeds.
See the Using Feeds section for more information about using and creating Feeds.
Extended Table
1
hx.TableextendsEventEmitter
Deprecated
This module has been deprecated in favor of the data-table module. This module will be removed in version 2.0.0 of hexagon.
Form Builder
1
2
hx.Form
addSelectForm
Removed
Use addPicker instead. options.selectOptions has also be renamed to options.pickerOptions.
hx.Form
addSelectForm
Removed
Use addPicker instead. options.selectOptions has also be renamed to options.pickerOptions.
hx.Form
addPickerForm
Added
Adds a picker to the form.
Menu
1
3
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
hx.MenuoptionsObject
options
dropdownOptions
Added
Added a dropdownOptions object to the menu options to allow the setting of all the dropdown options.
Modal
1
hx.Modal
closeModal
Removed
Use modal.hide instead.
Picker
3
1
1
hx.PickeroptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
hx.PickeroptionsObject
options
dropdownOptions
Added
Added a dropdownOptions object to the picker options to allow the setting of all the dropdown options.
hx.Picker
change
Updated
Now emits an object instead of a value.
hx.Picker
change
causeString
Added
Can be 'user' or 'api', depending on what caused the change. 'api' means an call to the javascript api caused the change, 'user' means that the change was caused by inputting
hx.Picker
change
valueAny
Added
The item that was selected.
Select
2
Removed
This module was removed in this version.
hx.SelectextendsEventEmitter
Removed
Use hx.Picker(selector, options) instead.
Sticky Table Headers
1
hx.StickyTableHeadersoptionsObject
options
alwaysStickyBoolean
Added
A boolean to determine whether to always display the sticky headers even when the table cannot be scrolled.
0.14.1
This release contains several bug fixes. The main fix is for the date/time/date-time picker events.
Date Picker
1
Bugfix
Fixed an issue where the events were firing out of order.
Date Time Picker
1
Bugfix
Fixed an issue where the events were firing out of order.
Notice
1
hx-notice
Added
Styles a div to show a notice
Notify
1
Bugfix
Fixed a style issue where long messages changed the layout of a notification
Selection
1
Bugfix
Fixed an issue in Safari when using hx.select(window).on(...)
Time Picker
1
Bugfix
Fixed an issue where the events were firing out of order.
Modal
1
hx.Modal
closeModal
Deprecated
Use modal.hide instead.
Select
1
hx.SelectextendsEventEmitter
Deprecated
This has been renamed to hx.Picker to avoid confusion with the selection api. Rename all uses of hx.Select to hx.Picker (the api is the same).
0.14.0
Most of the functionality that was deprecated in 0.13.0 has been removed. If upgrading to this version from a version earlier than 0.13.0 it is recommended that you upgrade to 0.13.0 first to get the deprecation warnings - it should make the upgrade easier.
Other changes are fairly minor, mostly bug fixes. It should be noted that the hx.Select component has been renamed to hx.Picker - this is to avoid confusion with the selection api, and to avoid name clashing in the future.
AutoComplete
4
hx.AutoComplete
hidesuppressEventsBoolean
suppressEventsBoolean
Removed
Suppressing events is now possible with AutoComplete::suppressed(eventName, suppress). This is part of the Event Emitter api.
hx.AutoComplete
hideString
Removed
Use the dropdown.hidestart or dropdown.hideend event instead.
hx.Autocomplete
hidesuppressEventsBoolean
suppressEventsBoolean
Removed
Suppressing events is now possible with AutoComplete::suppressed(eventName, suppress). This is part of the Event Emitter api.
hx.Autocomplete
hideString
Removed
Use the dropdown.hidestart or dropdown.hideend event instead.
Button
2
hx.initialiseToggleButtonsArray[ToggleButton]
Removed
This function no longer makes sense as the state of a toggle button matters and is managed by the ToggleButton class.
hx.initializeToggleButtonsArray[ToggleButton]
Removed
This function no longer makes sense as the state of a toggle button matters and is managed by the ToggleButton class.
Collapsible
5
hx.Collapsible
Removed
Use hx.Collapsible(selector, options) instead.
hx.Collapsible
changeendBoolean
Removed
Use showend or hideend to listen for when the animations have finished on show/hide.
hx.Collapsible
hide
Removed
Use hidestart instead
hx.Collapsible
show
Removed
Use showstart instead
hx.initialiseCollapsibles
Removed
Use hx.initializeCollapsibles instead.
Color Picker
3
hx.ColorPicker
Removed
Use hx.ColorPicker(selector, options) instead.
hx.ColorPicker
currentColorColor
Removed
Use the value() method
hx.ColorPicker
showInputsBoolean
Removed
Use options.showInputs instead
Crumbtrail
1
hx.Crumbtrail
render
Removed
Date Picker
12
hx.DatePicker
Removed
Use hx.DatePicker(selector, options) instead.
hx.DatePicker
showMonthDatePicker
Removed
Use datepicker.visibleMonth instead (method has been renamed to make its purpose clearer)
hx.DatePicker
addDaysDatePicker
Removed
Use datepicker.day(datepicker.day() + days) instead
hx.DatePicker
addMonthsDatePicker
Removed
Use datepicker.month(datepicker.month() + months) instead
hx.DatePicker
addYearsDatePicker
Removed
Use datepicker.year(datepicker.year() + years) instead
hx.DatePicker
updateDatePicker
Removed
Use locale(locale) instead.
hx.DatePicker
dateDatePicker
Removed
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api.
The dontSetupInput paramater has been deprecated. There is no alternative to this parameter.
hx.DatePicker
dayDatePicker
Removed
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DatePicker
monthDatePicker
Removed
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DatePicker
yearDatePicker
Removed
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DatePicker
rangeDatePicker
Removed
Use range(range, dontSetupInput) instead.
hx.DatePicker
validRangeDatePicker
Removed
Use validRange(obj) instead
Date Time Picker
15
hx.DateTimePicker
Removed
Use hx.DateTimePicker(selector, options) instead.
hx.DateTimePicker
addDays
Removed
Use datetimepicker.day(datetimepicker.day() + days) instead
hx.DateTimePicker
addMonths
Removed
Use datetimepicker.month(datetimepicker.month() + months) instead
hx.DateTimePicker
addYears
Removed
Use datetimepicker.year(datetimepicker.year() + years) instead
hx.DateTimePicker
addHours
Removed
Use datetimepicker.hour(datetimepicker.hour() + hours) instead
hx.DateTimePicker
addMinutes
Removed
Use datetimepicker.minute(datetimepicker.minute() + minutes) instead
hx.DateTimePicker
addSeconds
Removed
Use datetimepicker.second(datetimepicker.second() + seconds) instead
hx.DateTimePicker
dayDateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
monthDateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
yearDateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
hourDateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
minuteDateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
secondDateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
updateDateTimePicker
Removed
Use locale(locale) instead.
hx.DateTimePicker
dateDateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
Dropdown
3
hx.Dropdown
Removed
Use hx.Dropdown(selector, dropdownContent, options) instead.
hx.Dropdown
show
Removed
Use showstart instead.
hx.Dropdown
hide
Removed
Use hidestart instead.
Form Builder
1
9
hx.Form
addTagInputoptionsObject
options
classifier
Removed
Use tagInputOptions instead.
hx.Form
addTagInputoptionsObject
options
validator
Removed
Use tagInputOptions instead.
hx.Form
addDatePickeroptionsObject
options
typeString
Removed
Use datePickerOptions instead.
hx.Form
addDatePickeroptionsObject
options
closeOnSelectBoolean
Removed
Use datePickerOptions instead.
hx.Form
addDatePickeroptionsObject
options
selectRangeBoolean
Removed
Use datePickerOptions instead.
hx.Form
addTimePickeroptionsObject
options
showSecondsBoolean
Removed
Use timePickerOptions instead.
hx.Form
addTimePickeroptionsObject
options
buttonClassString
Removed
Use timePickerOptions instead.
hx.Form
addDateTimePickeroptionsObject
options
showSecondsBoolean
Removed
Use dateTimePickerOptions instead.
hx.Form
addDateTimePickeroptionsObject
options
typeString
Removed
Use dateTimePickerOptions instead.
hx.Form
addTextAreaForm
Added
Adds a textarea field to the form.
Form
1
hx.validateFormObject
Removed
Use hx.validateForm(selector, options) instead.
Menu
7
hx.Menu
Removed
Use hx.Menu(selector, options) instead.
hx.Menu
renderer
Removed
Use menu.renderer(render) to set the renderer instead.
hx.Menu
clearItems
Removed
Use hx.Menu.items to set the items to an empty array instead.
hx.Menu
render
Removed
Use menu.items() instead.
hx.Menu
render
Removed
Use menu.items() instead.
hx.Menu
select
Removed
Use the change event instead.
hx.Menu
activeset
Removed
Use the highlight event instead.
Modal
1
1
4
hx.Modal
Removed
Use hx.Modal(title, setup, [options]) instead.
hx.Modal
closeModal
Deprecated
Use modal.hide instead.
hx.Modal
setupTitlebar
Removed
Use options.titlebarRenderer instead.
hx.Modal
hideModal
Added
Hides the modal.
hx.modal
inputModal
Removed
Use hx.input(title, messsage, callback, options) instead.
hx.modal
dialogModal
Removed
Use hx.modal.dialog(title, message, callback, options) instead.
Morph Section
1
hx.MorphSection
Removed
Use hx.MorphSection(selector, options) instead.
Notify
7
hx.NotificationManager
temporaryNotification
Removed
Use hx.notify(message, options) instead.
hx.NotificationManager
permanentNotification
Removed
Use hx.notify(message, options) instead, setting options.timeout as undefined
hx.NotificationManager
infoNotification
Removed
Use hx.notify.info(message, options) instead.
hx.NotificationManager
warningNotification
Removed
Use hx.notify.warning(message, options) instead.
hx.NotificationManager
negativeNotification
Removed
Use hx.notify.negative(message, options) instead.
hx.NotificationManager
positiveNotification
Removed
Use hx.notify.positive(message, options) instead.
hx.notifyNotificationManager
Removed
The inbuild notification manager functions are accessible under the hx.notify object, e.g. hx.notify(message, options) or hx.notify.info(message, options) etc.
Number Picker
3
hx.NumberPicker
Removed
Use hx.NumberPicker(selector, options) instead.
hx.NumberPicker
setMin
Removed
Use min(value) instead.
hx.NumberPicker
setMax
Removed
Use max(value) instead.
Paginator
2
hx.Paginator
setPageCountPaginator
Removed
Use pageCount(value) instead
hx.Paginator
setVisibleCountPaginator
Removed
Use visibleCount(value) instead
Picker
6
hx.PickerextendsEventEmitter
Added
hx.Picker
dropdown.showstart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Picker
dropdown.showend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Picker
dropdown.hidestart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Picker
dropdown.hideend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Picker
dropdown.changeBoolean
Added
Pipe the dropdown events through so they can be listened to directly.
Pivot Table
1
hx.PivotTable
setDataPivotTable
Removed
Use data(data) instead.
Preferences
3
PreferencesextendsEventEmitter
Updated
Added the en-us locale to the list of valid locales
Preferences
localePreferences
Updated
locale will now log an error if you attempt to pass in an invalid locale.
Updated
locale now accepts undefined as the locale for clearning the user preference.
Select
1
1
hx.SelectextendsEventEmitter
Deprecated
This has been renamed to hx.Picker to avoid confusion with the selection api. Rename all uses of hx.Select to hx.Picker (the api is the same).
hx.Select
Removed
Use hx.Picker(selector, options) instead.
Selection
1
Selection
eachSelection
Removed
The each method for selections has been replaced to use a method that provides a selection as the argument to the f function. Use Selection.forEach(f) instead.
Sidebar
1
hx.Sidebar
Removed
Use hx.Sidebar(selector, options) instead.
Slider
4
hx.SlideroptionsObject
options
render
Removed
Use options.renderer instead.
hx.Slider
valuevalueObject
value
startValueNumber
Removed
Use start instead
hx.Slider
valuevalueObject
value
endValueNumber
Removed
Use end instead
hx.Slider
setDiscreteValues
Removed
Use discreteValues instead
Tag Input
2
hx.TagInput
Removed
Use hx.TagInput(selector, options) instead.
hx.TagInput
Removed
Use hx.TagInput.items() instead.
Time Picker
9
hx.TimePicker
Removed
Use hx.TimePicker(selector, options) instead.
hx.TimePicker
addHoursTimePicker
Removed
Use tp.hour(tp.hour() + hours) instead
hx.TimePicker
addMinutesTimePicker
Removed
Use tp.minute(tp.minute() + minutes) instead
hx.TimePicker
addSecondsTimePicker
Removed
Use tp.second(tp.second() + seconds) instead
hx.TimePicker
hourTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.TimePicker
minuteTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.TimePicker
secondTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.TimePicker
updateTimePicker
Removed
Use locale(locale) instead.
hx.TimePicker
dateTimePicker
Removed
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
Time Slider
5
hx.TimeSlider
setRangeTimeSlider
Removed
Use hx.TimeSlider.min/max instead.
hx.TimeSlider
valueToDateDate
Removed
hx.TimeSlideroptionsObject
options
renderString
Removed
Use options.renderer instead
hx.TimeSlider
valuevalueObject
value
startValueNumber / Date
Removed
Use start instead
hx.TimeSlider
valuevalueObject
value
endValueNumber / Date
Removed
Use end instead
Titlebar
2
hx.TitleBar
setActive
Removed
Use active(selector) instead.
hx.TitleBar
setContextClass
Removed
Use contextClass(class) instead.
Tree
1
3
hx.Tree
Bugfix
The options.items option has been fixed to not throw an error when used.
hx.Tree
render
Removed
Use items(data) to set the data and renderer(render) to set the renderer or pass in options to the constructor.
hx.Tree
Removed
Use hx.Tree(selector, options) instead.
hx.initialiseTrees
Removed
Use hx.initializeTrees instead.
Util
2
hx.mergeObject
Removed
hx.shallowMergeObject
Removed
0.13.0
This version includes a lot of changes to modules to standardise the api's and documentation across all the modules.
Most of the changes are to constructors, converting from several optional arguments to a single options object, or changing module names to be consistent (e.g. using items when setting data instead of module-specific names).
Additional changes include splitting hx.merge into two functions (hx.merge and hx.merge.defined), updating events fired for show/hide to be consistent and refactoring the internals of the DatePicker, TimePicker and DateTimePicker modules.
Another addition is the suppressed method as part of event emitters. Modules that use the 'on' method now all have the ability to have their events suppressed/un-suppressed with this method and modules that previously used a function argument to suppress events have had this functionality deprecated, to be replaced with the suppressed method.
AutoComplete
6
4
hx.AutoComplete
hidesuppressEventsBoolean
suppressEventsBoolean
Deprecated
Suppressing events is now possible with AutoComplete::suppressed(eventName, suppress). This is part of the Event Emitter api.
hx.AutoComplete
valueString
Added
Getting the value of the auto complete.
hx.AutoComplete
Added
Setting the value of the auto complete.
hx.AutoComplete
hideString
Deprecated
Use the dropdown.hidestart or dropdown.hideend event instead.
hx.AutoComplete
highlight
Added
The event emitted when an item is set as the active item. This can only be done by the keyboard or when the user clicks on an item
hx.Autocomplete
hidesuppressEventsBoolean
suppressEventsBoolean
Deprecated
Suppressing events is now possible with AutoComplete::suppressed(eventName, suppress). This is part of the Event Emitter api.
hx.Autocomplete
valueString
Added
Getting the value of the auto complete.
hx.Autocomplete
Added
Setting the value of the auto complete.
hx.Autocomplete
hideString
Deprecated
Use the dropdown.hidestart or dropdown.hideend event instead.
hx.Autocomplete
highlight
Added
The event emitted when an item is set as the active item. This can only be done by the keyboard or when the user clicks on an item
Button Group
6
hx.ButtonGroupoptionsObject
options
itemsArray[Any]
Added
The list of items that can be selected. This can either be an array of string, or an array of objects with value properties (and other information for displaying the items).
In addition to the value property, an activeClass property can also be provided that will be applied when a button is clicked instead of the activeClass provided in the constructor.
[
  'Button Text', // Strings and objects can be mixed if required
  {
    value: 'Button Text' // If objects are used, the value property is required
  },
  {
    value: 'Button Text',
    activeClass: 'hx-positive' // The activeClass property is optional.
  }
]
A custom renderer may be set if alternative object structures are required.
hx.ButtonGroupoptionsObject
options
renderer
Added
The render function to call when rendering the buttons
The default render function is as follows:
function(node, data, current) {
  hx.select(node).text(data.value != null ? data.value : data);
};
Setting a custom renderer will not change the 'click' method for setting the data or how the classes are added to the buttons.
hx.ButtonGroup
itemsArray[Any]
Added
Updated the items function to return the currently set items if no arguments are provided.
hx.ButtonGroup
rendererFunction
Added
Updated the renderer function to return the currently set renderer if no arguments are provided.
hx.buttonGroupoptionsObject
options
itemsArray[Any]
Added
The list of items that can be selected. This can either be an array of string, or an array of objects with value properties (and other information for displaying the items).
In addition to the value property, an activeClass property can also be provided that will be applied when a button is clicked instead of the activeClass provided in the constructor.
[
  'Button Text', // Strings and objects can be mixed if required
  {
    value: 'Button Text' // If objects are used, the value property is required
  },
  {
    value: 'Button Text',
    activeClass: 'hx-positive' // The activeClass property is optional.
  }
]
A custom renderer may be set if alternative object structures are required.
hx.buttonGroupoptionsObject
options
renderer
Added
The render function to call when rendering the buttons
The default render function is as follows:
function(node, data, current) {
  hx.select(node).text(data.value != null ? data.value : data);
};
Setting a custom renderer will not change the 'click' method for setting the data or how the classes are added to the buttons.
Button
1
2
hx-btn
Updated
Removed default call to hx.initializeToggleButtons. Toggle buttons must now be explicitly created with the hx.ToggleButton class.
hx.initializeToggleButtonsArray[ToggleButton]
Deprecated
This function no longer makes sense as the state of a toggle button matters and is managed by the ToggleButton class.
hx.initialiseToggleButtonsArray[ToggleButton]
Deprecated
Use hx.initializeToggleButtons(selection) instead.
Click Detector
1
hx.ClickDetectorextendsEventEmitter
Updated
Added return values to functions to return this ClickDetector and allow chaining of methods.
Collapsible
2
5
hx.Collapsible
Deprecated
Use hx.Collapsible(selector, options) instead.
hx.Collapsible
Added
Standardise the constructor APIs
hx.Collapsible
hidecallbackFunction
callback
Added
Added a callback for when the animation finishes
hx.Collapsible
changeendBoolean
Deprecated
Use showend or hideend to listen for when the animations have finished on show/hide.
hx.Collapsible
hide
Deprecated
Use hidestart instead
hx.Collapsible
show
Deprecated
Use showstart instead
hx.initialiseCollapsibles
Deprecated
Correct spelling
Use hx.initializeCollapsibles instead.
Color Picker
8
1
3
hx.ColorPickerextendsEventEmitter
Updated
Moved the showInputs and currentColor to be accessible as options.showInputs and value()
The value can now also be set with the value(color) method.
hx.ColorPicker
Deprecated
Use hx.ColorPicker(selector, options) instead.
hx.ColorPicker
Added
hx.ColorPicker
currentColorColor
Deprecated
Use the value() method
hx.ColorPicker
showInputsBoolean
Deprecated
Use options.showInputs instead
hx.ColorPicker
valueColorPicker
Added
Sets the value of a color picker
hx.ColorPicker
valueString
Added
Gets the value of a color picker
hx.ColorPicker
dropdown.showstart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.ColorPicker
dropdown.showend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.ColorPicker
dropdown.hidestart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.ColorPicker
dropdown.hideend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.ColorPicker
dropdown.changeBoolean
Added
Pipe the dropdown events through so they can be listened to directly.
Crumbtrail
5
1
hx.CrumbtrailoptionsObject
options
Added
Added the options argument to the constructor
hx.Crumbtrail
render
Deprecated
hx.Crumbtrail
rendererCrumbtrail
Added
Sets the renderer for a crumbtrail.
hx.Crumbtrail
rendererFunction
Added
Gets the renderer for a crumbtrail.
hx.Crumbtrail
itemsCrumbtrail / Array
Added
Sets the items for a crumbtrail.
hx.Crumbtrail
itemsArray
Added
Gets the items for a crumbtrail.
Dashboard
1
DashboardWidget
titleString
Added
Gets the widget's title
Date Picker
15
2
12
hx.DatePickerextendsEventEmitter
Updated
Updated the internals of the datepicker to make it more consistent (and less confusing). As part of this, multiple api changes have been made, including changes to the way events are suppressed and handled.
hx.DatePicker
Updated
Added options for initialising the datepicker as disabled or preventing the inbuilt datepicker.
hx.DatePickeroptionsObject
options
allowInbuiltPickerBoolean
Added
Whether to allow the inbuilt datepicker for touch devices. Generally this should be allowed as the inbuilt picker is generally more suited to the device.
hx.DatePicker
showMonthDatePicker
Deprecated
Use datepicker.visibleMonth instead (method has been renamed to make its purpose clearer)
hx.DatePicker
addDaysDatePicker
Deprecated
Use datepicker.day(datepicker.day() + days) instead
hx.DatePicker
addMonthsDatePicker
Deprecated
Use datepicker.month(datepicker.month() + months) instead
hx.DatePicker
addYearsDatePicker
Deprecated
Use datepicker.year(datepicker.year() + years) instead
hx.DatePicker
updateDatePicker
Deprecated
Use locale(locale) instead.
hx.DatePicker
dateDatePicker
Deprecated
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api.
The dontSetupInput paramater has been deprecated. There is no alternative to this parameter.
hx.DatePicker
dayDatePicker
Deprecated
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DatePicker
monthDatePicker
Deprecated
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DatePicker
yearDatePicker
Deprecated
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DatePicker
rangeDatePicker
Deprecated
Use range(range, dontSetupInput) instead.
hx.DatePicker
validRangeDatePicker
Deprecated
Use validRange(obj) instead
hx.DatePicker
visibleMonthDatePicker
Added
A function used to show the month specified without affecting the date selection
hx.DatePicker
visibleMonthObject
Added
A function used to show the month specified without affecting the date selection
hx.DatePicker
showDatePicker
Added
Shows the datepicker dropdown
hx.DatePicker
hideDatePicker
Added
Hides the datepicker dropdown
hx.DatePicker
validRangeDatePicker
Added
Sets the range in which dates can be selected. For calendar pickers, this will grey out any dates that are outside the range. For datepickers, this will prevent the dates from being entered or selected with the up/down buttons.
datepicker.validRange({start: new Date}); // User can select any date after today
datepicker.validRange({start: undefined, end: new Date()}); // User can select any date before today
datepicker.validRange({start: new Date(), end: new Date()}); // User can only select today
datepicker.validRange({}); // Clear valid range (all dates are valid)
hx.DatePicker
validRangeObject
Added
Gets the currently set valid range for this date picker.
hx.DatePicker
rangeDatePicker
Added
A method for setting the selected date range when the selectRange argument was passed into the constructor.
When providing dates, the order of the dates is not relevant. The date picker will decide which is the start and which is the end date and set the range accordingly.
hx.DatePicker
localeDatePicker
Added
A function for updating the locale used in the date picker.
By default, the locale used is 'en-gb' which cannot be changed unless moment.js with the relevant locales is present on the page.
datepicker.locale('pl') // sets the datepicker's locale to Poland
hx.DatePicker
localeString
Added
A method for getting the currently set locale.
hx.DatePicker
dateDatePicker
Added
A function used to set the currently selected date.
hx.DatePicker
dayDatePicker
Added
A function used to set the currently selected day.
hx.DatePicker
monthDatePicker
Added
Sets the currently selected month.
hx.DatePicker
yearDatePicker
Added
Sets the currently selected year.
hx.DatePicker
change
Added
Emitted when the date is changed.
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
Date Time Picker
13
15
hx.DateTimePicker
Deprecated
Use hx.DateTimePicker(selector, options) instead.
hx.DateTimePicker
addDays
Deprecated
Use datetimepicker.day(datetimepicker.day() + days) instead
hx.DateTimePicker
addMonths
Deprecated
Use datetimepicker.month(datetimepicker.month() + months) instead
hx.DateTimePicker
addYears
Deprecated
Use datetimepicker.year(datetimepicker.year() + years) instead
hx.DateTimePicker
addHours
Deprecated
Use datetimepicker.hour(datetimepicker.hour() + hours) instead
hx.DateTimePicker
addMinutes
Deprecated
Use datetimepicker.minute(datetimepicker.minute() + minutes) instead
hx.DateTimePicker
addSeconds
Deprecated
Use datetimepicker.second(datetimepicker.second() + seconds) instead
hx.DateTimePicker
dayDateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
monthDateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
yearDateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use datepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
hourDateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
minuteDateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
secondDateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
updateDateTimePicker
Deprecated
Use locale(locale) instead.
hx.DateTimePicker
dateDateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.DateTimePicker
Added
Creates a datepicker and a timepicker and appends them to the selected element.
hx.DateTimePicker
dateDateTimePicker
Added
Sets the currently selected date.
hx.DateTimePicker
dayDateTimePicker
Added
A function used to set the currently selected day.
hx.DateTimePicker
monthDateTimePicker
Added
Sets the currently selected month.
hx.DateTimePicker
yearDateTimePicker
Added
Sets the currently selected year.
hx.DateTimePicker
hourDateTimePicker
Added
Sets the currently selected hour.
hx.DateTimePicker
minuteDateTimePicker
Added
Sets the currently selected minute.
hx.DateTimePicker
secondDateTimePicker
Added
Sets the currently selected second.
hx.DateTimePicker
localeDateTimePicker
Added
A function for updating the locale used in the datetimepicker.
By default, the locale used is 'en-gb' which cannot be changed unless moment.js with the relevant locales is present on the page.
datetimepicker.locale('pl') // sets the datetimepicker's locale to Poland
hx.DateTimePicker
localeString
Added
A method for getting the currently set locale.
hx.DateTimePicker
change
Added
hx.DateTimePicker
time.change
Added
Emitted when the time is changed.
hx.DateTimePicker
date.change
Added
Emitted when the date is changed.
Dropdown
9
3
7
hx.Dropdown
Deprecated
Use hx.Dropdown(selector, dropdownContent, options) instead.
hx.Dropdown
dropdownContentString / Function
Removed
dropdownContent has been moved to the options object
hx.Dropdown
spacingNumber
Removed
spacing has been moved to the options object
hx.Dropdown
matchWidthBoolean
Removed
matchWidth has been moved to the options object
hx.Dropdown
ddClassString
Removed
ddClass has been moved to the options object
hx.Dropdown
toggle
Removed
hx.Dropdown
show
Removed
hx.Dropdown
hide
Removed
hx.Dropdown
Added
hx.Dropdown
options
Added
hx.Dropdown
toggleDropdown
Added
Toggles the visibility of the dropdown.
hx.Dropdown
showDropdown
Added
Shows the dropdown
hx.Dropdown
hideDropdown
Added
Hides the dropdown
hx.Dropdown
show
Deprecated
Use showstart instead.
hx.Dropdown
hide
Deprecated
Use hidestart instead.
hx.Dropdown
showstart
Added
Emitted when the dropdown animation starts. No data is sent with this event.
hx.Dropdown
showend
Added
Emitted when the dropdown animation finishes. No data is sent with this event.
hx.Dropdown
hidestart
Added
Emitted when the dropdown animation starts. No data is sent with this event.
hx.Dropdown
hideend
Added
Emitted when the dropdown animation ends. No data is sent with this event.
Error Pages
2
hx-error-message
hx-error-message-text
Removed
hx-error-message
hx-error-message-buttons
Removed
Event Emitter
2
hx.EventEmitter
suppressedEventEmitter
Added
Sets whether events of a particular name should be suppressed (not emitted).
hx.EventEmitter
suppressedBoolean
Added
Gets whether events of a particular name are being suppressed.
Form Builder
7
9
hx.Form
addSelectoptionsObject
options
selectOptions
Added
The options to use for the select component. See the select constructor for the available options.
hx.Form
addTagInputoptionsObject
options
classifier
Deprecated
Use tagInputOptions instead.
hx.Form
addTagInputoptionsObject
options
validator
Deprecated
Use tagInputOptions instead.
hx.Form
addTagInputoptionsObject
options
tagInputOptions
Added
The options to use for the tg input component. See the tag input constructor for the available options.
hx.Form
addSelectoptionsObject
options
selectOptions
Added
The options to use for the select component. See the select constructor for the available options.
hx.Form
addDatePickeroptionsObject
options
typeString
Deprecated
Use datePickerOptions instead.
hx.Form
addDatePickeroptionsObject
options
closeOnSelectBoolean
Deprecated
Use datePickerOptions instead.
hx.Form
addDatePickeroptionsObject
options
selectRangeBoolean
Deprecated
Use datePickerOptions instead.
hx.Form
addDatePickeroptionsObject
options
datePickerOptionsObjec
Added
The options to use for the date picker component. See the Date Picker constructor for the available options.
hx.Form
addTimePickeroptionsObject
options
showSecondsBoolean
Deprecated
Use timePickerOptions instead.
hx.Form
addTimePickeroptionsObject
options
buttonClassString
Deprecated
Use timePickerOptions instead.
hx.Form
addTimePickeroptionsObject
options
timePickerOptions
Added
The options to use for the time picker component. See the Time Picker constructor for the available options.
hx.Form
addDateTimePickeroptionsObject
options
showSecondsBoolean
Deprecated
Use dateTimePickerOptions instead.
hx.Form
addDateTimePickeroptionsObject
options
typeString
Added
Deprecated
Use dateTimePickerOptions instead.
hx.Form
addDateTimePickeroptionsObject
options
dateTimePickerOptions
Added
The options to use for the time picker component. See the Date Time Picker constructor for the available options.
Form
1
1
hx.validateFormObject
Deprecated
Use hx.validateForm(selector, options) instead.
hx.validateFormObject
Added
A helper function for validating forms. By default, it will show a message below the first error in the form but will return an array with all the errors.
An example use of this function could be:
hx.select('#form').select('button').on('click', function (event){
  event.preventDefault(); // Stops the form from submitting natively
  var validObj = hx.validateForm('#form');
  if(validObj.valid){
    // Do something on success
  }
  // Do nothing if the form isn't valid (as the validateForm function will show a message)
});
Inline Select
3
1
hx.InlineSelect
Removed
hx.InlineSelect
Added
hx.InlineSelect
itemsArray
Added
Updated the items method to return the items if no arguments are provided.
hx.InlineSelect
rendererFunction
Added
Updated the renderer method to return the renderer if no arguments are provided.
Menu
13
7
2
hx.Menu
Deprecated
Use hx.Menu(selector, options) instead.
hx.Menu
renderer
Deprecated
Deprecated the ability to set menu.renderer to a function. Use menu.renderer(render) to set the renderer instead.
hx.Menu
clearItems
Deprecated
Use hx.Menu.items to set the items to an empty array instead.
hx.Menu
add
Removed
hx.Menu
add
Removed
hx.Menu
Added
hx.Menu
rendererMenu
Added
A method used to set a custom renderer for a menu
menu = new hx.Menu('#selector');
menu.renderer(function(elem, item){
  // do your render stuff
});
menu.render(data);
hx.Menu
rendererFunction
Added
Gets the current item renderer function
hx.Menu
Added
Added a method for getting the current items for the menu.
hx.Menu
select
Added
Deprecated
Use the change event instead.
hx.Menu
activeset
Added
Deprecated
Use the highlight event instead.
hx.Menu
change
Added
Added a new event to replace the 'select' event.
hx.Menu
highlight
Added
Added a new event to replace the 'activeset' event
hx.Menu
dropdown.showstart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.showend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.hidestart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.hideend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.changeBoolean
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
Meter
1
hx.Meter
Updated
Will now center itself in its container.
Modal
4
4
hx.Modal
Deprecated
User hx.Modal(title, setup, [options]) instead.
hx.Modal
setupTitlebar
Deprecated
Use options.titlebarRenderer instead.
hx.Modal
Added
Creates a new Modal object for displaying pop up content.
hx.Modal
options
Added
Configuration options for the modal. See the options parameter of the constructor for the available options.
hx.modal
inputModal
Deprecated
Use hx.input(title, messsage, callback, options) instead.
hx.modal
dialogModal
Deprecated
Use hx.modal.dialog(title, message, callback, options) instead.
hx.modal
dialogModal
Added
A function for creating a simple modal popup with a title, a message and some buttons.
hx.modal
inputModal
Added
A function for creating a simple modal popup with a title, a message and an input box (and confirm and cancel buttons).
Morph Section
1
1
hx.MorphSection
Deprecated
Use hx.MorphSection(selector, options) instead.
hx.MorphSection
Added
Notify
12
1
7
hx.NotificationManager
Updated
The inbuild notification manager functions are accessible under the hx.notify object, e.g. hx.notify(message, options) or hx.notify.info(message, options) etc.
hx.NotificationManager
temporaryNotification
Deprecated
Use hx.notify(message, options) instead.
hx.NotificationManager
permanentNotification
Deprecated
Use hx.notify(message, options) instead, setting options.timeout as undefined
hx.NotificationManager
infoNotification
Deprecated
Use hx.notify.info(message, options) instead.
hx.NotificationManager
warningNotification
Deprecated
Use hx.notify.warning(message, options) instead.
hx.NotificationManager
negativeNotification
Deprecated
Use hx.notify.negative(message, options) instead.
hx.NotificationManager
positiveNotification
Deprecated
Use hx.notify.positive(message, options) instead.
hx.NotificationManager
notify
Added
A method for showing a notification for a notification manager.
hx.NotificationManager
infoNotification
Added
Shows an information notification and returns a Notification object.
hx.NotificationManager
warningNotification
Added
Shows a warning notification and returns a Notification object.
hx.NotificationManager
negativeNotification
Added
Shows an negative notification and returns a Notification object.
hx.NotificationManager
positiveNotification
Added
Shows an positive notification and returns a Notification object.
hx.NotificationManager
defaultTimeoutNumber
Added
A method for getting or setting the default timeout for notifications added to the current notification manager.
hx.notifyNotificationManager
Deprecated
The inbuild notification manager functions are accessible under the hx.notify object, e.g. hx.notify(message, options) or hx.notify.info(message, options) etc.
hx.notifyNotification
Added
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.notify.infoNotification
Added
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.notify.loadingNotification
Added
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.notify.warningNotification
Added
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.notify.negativeNotification
Added
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.notify.positiveNotification
Added
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
Number Picker
5
3
hx.NumberPicker
Deprecated
Use hx.NumberPicker(selector, options) instead.
hx.NumberPicker
setMin
Deprecated
Use min(value) instead.
hx.NumberPicker
setMax
Deprecated
Use max(value) instead.
hx.NumberPicker
Added
hx.NumberPicker
minNumberPicker
Added
Sets the minimum value the number picker can have
hx.NumberPicker
maxNumberPicker
Added
Sets the maximum value the number picker can have
hx.NumberPicker
Added
Gets the minimum value the number picker can have
hx.NumberPicker
Added
Gets the maximum value the number picker can have
Paginator
4
2
hx.Paginator
setPageCountPaginator
Deprecated
Use pageCount(value) instead
hx.Paginator
setVisibleCountPaginator
Deprecated
Use visibleCount(value) instead
hx.Paginator
pageCountPaginator
Added
Sets the total number of pages in the paginator.
hx.Paginator
pageCountNumber
Added
Gets the total number of pages in the paginator.
hx.Paginator
visibleCountPaginator
Added
Sets the number of pages that are shown at once.
hx.Paginator
visibleCountNumber
Added
Gets the number of pages that are shown at once.
Palette
1
Updated
Updated to add !important flag to the styles added by palette to make sure when the palette classes are added, the colors are applied.
Pivot Table
2
1
hx.PivotTable
setDataPivotTable
Deprecated
Use data(data) instead.
hx.PivotTable
dataPivotTable
Added
A method for providing a pivot table with data
hx.PivotTable
dataAny
Added
A method for getting the data set in the current pivot table
Preferences
3
2
hx.preferencesUserPreferences
Removed
This has been replaced with the Preferences type
UserPreferencesextendsEventEmitter
Removed
This has been replaced with the Preferences type
PreferencesextendsEventEmitter
Added
A class for storing and retrieving user preferences such as timezone and locale preference.
hx.preferencesPreferences
Added
Global instance of Preferences
hx.preferences.localStorageStore
Added
The default backing store used by hx.preferences
Progress Bar
1
1
1
ProgressBarV1
Removed
Added options to the constructor
ProgressBarV1
segmentssegmentsArray
segmentsArray
Updated
Added the ability to clear the segments by passing in undefined as the segments parameter.
ProgressBarV1
Added
Added options to the constructor
Select
9
1
1
hx.Select
itemsSelect
Removed
Added
Made the items parameter optional. If it is not passed in, the currently set items are returned.
hx.Select
itemsArray[Any] / Function
Added
Made the items parameter optional. If it is not passed in, the currently set items are returned.
hx.Select
rendererFunction
Added
Gets the current item renderer function.
hx.Select
highlight
Added
The event called when an item is set as the active item. This can only be done by the keyboard or when the user clicks on an item
hx.Select
dropdown.showstart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Select
dropdown.showend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Select
dropdown.hidestart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Select
dropdown.hideend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Select
dropdown.changeBoolean
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Select
Deprecated
Use hx.Select(selector, options) instead.
Side Collapsible
3
3
hx.SideCollapsible
showSideCollapsible
Removed
Additional optional callback parameter added for executing code when the animation finishes.
hx.SideCollapsible
hideSideCollapsible
Removed
Additional optional callback parameter added for executing code when the animation finishes.
hx.SideCollapsible
toggleSideCollapsible
Removed
Additional optional callback parameter added for executing code when the animation finishes.
hx.SideCollapsible
showSideCollapsible
Added
Show the collapsible content
hx.SideCollapsible
hideSideCollapsible
Added
Hide the collapsible content
hx.SideCollapsible
toggleSideCollapsible
Added
Toggles the visiblity of the collapsible content.
Sidebar
1
1
hx.Sidebar
Deprecated
Use hx.Sidebar(selector, options) instead.
hx.Sidebar
Added
Added new standardised constructor.
Slider
14
2
hx.SlideroptionsObject
options
render
Deprecated
Use options.renderer instead.
hx.SlideroptionsObject
options
renderer
Added
The render function to use when rendering the value of the slider.
The default render function is:
function (slider, elem, value) {
  hx.select(elem).text(hx.format.fixed(2)(value));
}
hx.Slider
valuevalueObject
value
startNumber
Added
The start value of the selected range slider
hx.Slider
valuevalueObject
value
Added
The end value of the selected range slider
hx.Slider
setDiscreteValues
Added
Deprecated
Use discreteValues instead
hx.Slider
discreteValuesSlider
Added
Makes the slider a discrete value, using the values provided
hx.Slider
discreteValuesArray
Added
Gets the descrete values set for this slider
hx.Slider
minSlider
Added
Sets the minimum value of the slider.
hx.Slider
Added
Gets the minimum value of the slider.
hx.Slider
maxSlider
Added
Sets the maximum value of the slider.
hx.Slider
Added
Gets the maximum value of the slider.
hx.Slider
stepSlider
Added
Sets the step size of the slider.
hx.Slider
stepNumber
Added
Gets the step size of the slider.
hx.Slider
rendererSlider
Added
Sets the renderer function
hx.Slider
rendererFunction
Added
Gets the current renderer function
Tag Input
3
2
hx.TagInput
Deprecated
Use hx.TagInput(selector, options) instead.
hx.TagInput
Deprecated
Use hx.TagInput.items() instead.
hx.TagInput
Added
hx.TagInput
itemsTagInput
Added
A method for setting the tags
hx.TagInput
Added
A method for getting the tags
Time Picker
7
9
hx.TimePicker
Deprecated
Use hx.TimePicker(selector, options) instead.
hx.TimePicker
addHoursTimePicker
Deprecated
Use tp.hour(tp.hour() + hours) instead
hx.TimePicker
addMinutesTimePicker
Deprecated
Use tp.minute(tp.minute() + minutes) instead
hx.TimePicker
addSecondsTimePicker
Deprecated
Use tp.second(tp.second() + seconds) instead
hx.TimePicker
hourTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.TimePicker
minuteTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.TimePicker
secondTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.TimePicker
updateTimePicker
Deprecated
Use locale(locale) instead.
hx.TimePicker
dateTimePicker
Deprecated
The suppressCallback parameter has been deprecated. Use timepicker.suppressed(eventName, suppress) to suppress events. This is part of the Event Emitter api
hx.TimePicker
Added
Creates a timepicker with the current time
hx.TimePicker
localeTimePicker
Added
A function for updating the locale used in the time picker.
By default, the locale used is 'en-gb' which cannot be changed unless moment.js with the relevant locales is present on the page.
timepicker.locale('pl') // sets the timepicker's locale to Poland
hx.TimePicker
localeString
Added
A method for getting the currently set locale
Gets the locale for this time picker. If one has not been set, falls back to
hx.TimePicker
dateTimePicker
Added
Sets the currently selected date.
hx.TimePicker
hourTimePicker
Added
Sets the currently selected hour.
hx.TimePicker
minuteTimePicker
Added
Sets the currently selected minute.
hx.TimePicker
secondTimePicker
Added
Sets the currently selected second.
Time Slider
11
5
hx.TimeSlider
setRangeTimeSlider
Deprecated
Use hx.TimeSlider.min/max instead.
hx.TimeSlider
valueToDateDate
Deprecated
hx.TimeSlideroptionsObject
options
renderString
Deprecated
Use options.renderer instead
hx.TimeSlideroptionsObject
options
rendererString
Added
The render function to use when rendering the value of the slider.
The default render function is:
function (slider, elem, value) {
  hx.select(elem).text(slider.formatter(new Date(value)));
}
See the formatter method for information on the slider.formatter.
hx.TimeSlider
valuevalueObject
value
startValueNumber / Date
Deprecated
Use start instead
hx.TimeSlider
valuevalueObject
value
endValueNumber / Date
Deprecated
Use end instead
hx.TimeSlider
valuevalueObject
value
startNumber / Date
Added
A value between the minimum and maximum values for the slider.
hx.TimeSlider
valuevalueObject
value
endNumber / Date
Added
A value between the minimum and maximum values for the slider.
hx.TimeSlider
minTimeSlider
Added
Sets the minimum date of the slider.
hx.TimeSlider
minDate
Added
Gets the minimum date of the slider.
hx.TimeSlider
maxTimeSlider
Added
Sets the maximum date of the slider.
hx.TimeSlider
maxDate
Added
Gets the maximum date of the slider.
hx.TimeSlider
stepTimeSlider
Added
Sets the step size of the slider in milliseconds.
hx.TimeSlider
stepNumber
Added
Gets the step size of the slider in milliseconds.
hx.TimeSlider
rendererTimeSlider
Added
Sets the renderer function
hx.TimeSlider
rendererFunction
Added
Gets the current renderer function
Titlebar
4
2
hx.TitleBar
setActive
Deprecated
Use active(selector) instead.
hx.TitleBar
setContextClass
Deprecated
Use contextClass(class) instead.
hx.TitleBar
contextClassTitleBar
Added
Sets the context class for the titlebar, removing any other existing context classes in the process.
hx.TitleBar
contextClassString
Added
Gets the context class for the titlebar
hx.TitleBar
activeTitleBar
Added
Sets the active titlebar link, causing the underline to show all the time instead of just when the link is hovered over.
hx.TitleBar
activeSelection
Added
Gets the currently active titlebar link.
Tree
6
3
hx.Tree
render
Deprecated
Deprecated as part of API standardisation Use items(data) to set the data and renderer(render) to set the renderer or pass in options to the constructor.
hx.Tree
Deprecated
Deprecated as part of API standardisation Use hx.Tree(selector, options) instead.
hx.Tree
Added
Sets up / prepares a selection for displaying data in an expandable tree.
hx.Tree
Added
Gets the items the tree is built from
hx.Tree
itemsTree
Added
Set the items to build the tree from.
hx.Tree
rendererFunction
Added
Gets the function used to convert tree items into DOM elements.
hx.Tree
rendererTree
Added
Sets the function used to convert tree items into DOM elements.
hx.initialiseTrees
Deprecated
Use hx.initializeTrees instead.
hx.initializeTrees
Added
Initializes all the trees that match a css selector in a page and returns the Tree objects as an array.
Util
5
2
hx.mergeObject
Deprecated
hx.shallowMergeObject
Deprecated
hx.mergeObject
Added
Merges multiple objects together, and returns the result as a new object.
The objects will be merged recursively, and arrays will be cloned. Any object that is not a plain object (see the isPlainObject function) will be replaced with an empty object {}.
// returns {'a': 2, 'b': 3}
hx.merge({'a': 1}, {'a': 2}, {'b': 3})

// returns {a: {b: 'hello', c: {d: 4, e: 'value'}}}
hx.merge({a: {b: 2, c: {d: 3}}}, {a: {b: 'hello', c: {d: 4, e: 'value'}}})
hx.merge.definedObject
Added
Merges multiple objects together, only copying across defined values and returns the result as a new object.
The objects will be merged recursively, and arrays will be cloned. Any object that is not a plain object (see the isPlainObject function) will be replaced with an empty object {}.
// returns {'a': 1, 'b': 3}
hx.merge.defined({'a': 1}, {'a': undefined}, {'b': 3})

// returns {a: {b: 2, c: {d: 4, e: 'value'}}}
hx.merge.defined({a: {b: 2, c: {d: 3}}}, {a: {b: undefined, c: {d: 4, e: 'value'}}})
hx.shallowMergeObject
Added
Merges multiple objects together where the first level of references are copied, and returns the result as a new object.
// returns {'a': 2, 'b': 3}
hx.shallowMerge({'a': 1}, {'a': 2}, {'b': 3})

// returns {a: {b: 'hello', c: {d: 4, e: 'value'}}}
hx.shallowMerge({a: {b: 2, c: {d: 3}}}, {a: {b: 'hello', c: {d: 4, e: 'value'}}})
hx.shallowMerge.definedObject
Added
Merges multiple objects together where the first level of references are copied provided they are defined values (not undefined), and returns the result as a new object.
// returns {'a': 1, 'b': 3}
hx.shallowMerge.defined({'a': 1}, {'a': undefined}, {'b': 3})

// returns {a: {b: undefined, c: {d: 4, e: "value" }}}
hx.shallowMerge.defined({a: {b: 2, c: {d: 3}}}, {a: {b: undefined, c: {d: 4, e: 'value'}}})
hx.isBooleanBoolean
Added
Returns true if the value passed in is a boolean
hx.isBoolean("i am a string")                // returns false
hx.isBoolean({})                             // returns false
hx.isBoolean(document.createElement('div'))  // returns false
hx.isBoolean([])                             // returns false
hx.isBoolean(123)                            // returns false
hx.isBoolean(function(){})                   // returns false
hx.isBoolean(true)                           // returns true
hx.isBoolean(false)                          // returns true
Selection
1
Selection
eachSelection
Deprecated
The each method for selections has been replaced to use a method that provides a selection as the argument to the f function Use Selection.forEach(f) instead.
0.12.10
Fixed some more issues with Pointer events as well as adding a new ToggleButton class to give a more user friendly API.
Also added some options to graphs to allow tick markers to be disabled.
Button
2
1
hx.initialiseToggleButtonsArray[ToggleButton]
Deprecated
Use hx.initializeToggleButtons(selection) instead.
hx.initializeToggleButtonsArray[ToggleButton]
Added
Rename hx.initialiseToggleButtons to american spelling
hx.ToggleButtonextendsEventEmitter
Added
Added a toggle button prototype to improve the usability of toggle buttons.
Fast Click
1
Bugfix
Resolve an issue where inputs are not selectable in modals due to event interception.
Meter
1
hx.Meter
Updated
When progress, tracker or marker values are greater than the total, they are clamped to avoid unusual positioning/rendering.
Plot
2
hx.Axis
xShowTicksBoolean
Added
An option to show/hide x tick markers
hx.Axis
yShowTicksString
Added
An option to show/hide y tick markers
Pointer Events
1
Bugfix
Correct the return statement for pointer events to prevent selection.off falling over
Menu
2
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
Select
1
hx.Select
Deprecated
Use hx.Select(selector, options) instead.
Selection
1
Selection
eachSelection
Deprecated
The each method for selections has been replaced to use a method that provides a selection as the argument to the f function Use Selection.forEach(f) instead.
Date Picker
1
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
0.12.9
Fixed some breaking issues with Menu and Pointer Events as well as updating the Morphing Sections Popup example so it no longer requires overriding styles with !important.
Date Picker
1
1
hx.DatePickerextendsEventEmitter
Bugfix
Fixed a bug with moment.js causing 'inbuilt' date pickers not to work properly by disabling the inbuilt functionality when moment is present.
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
Menu
1
2
hx.MenuextendsEventEmitter
Bugfix
Fix an issue with the dropdown content not being set correctly.
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
Pointer Events
1
Bugfix
Fixed an issue that caused touch events to not be registered at all for pointer events
Select
1
hx.Select
Deprecated
Use hx.Select(selector, options) instead.
Selection
1
Selection
eachSelection
Deprecated
The each method for selections has been replaced to use a method that provides a selection as the argument to the f function Use Selection.forEach(f) instead.
0.12.8
Added the SideCollapsible component as well as adding border color context classes to the Palette module and the ability to place the x axis in a different position on graphs in the Plot module.
Also updated various components and fixed several bugs caused by internal changes to the event emitters.
Dropdown
1
hx.DropdownextendsEventEmitter
Bugfix
Updated the z-index checking so that it gets the highest of all the parent z-index, not just the closest parent's z-index.
Extended Table
1
hx.TableextendsEventEmitter
Bugfix
Fixed a bug where the rowselect event was not being emmitted when a row was unselected.
Menu
2
2
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
itemsMenu
Added
Replacement for menu.render.
hx.Menu
itemsMenu
Added
Replacement for menu.render.
Palette
10
hx-border-default
Added
Added border context classes
hx-border-positive
Added
Added border context classes
hx-border-warning
Added
Added border context classes
hx-border-negative
Added
Added border context classes
hx-border-info
Added
Added border context classes
hx-border-compliment
Added
Added border context classes
hx-border-contrast
Added
Added border context classes
hx-border-disabled
Added
Added disabled context classes
hx-text-disabled
Added
Added disabled context classes
hx-background-disabled
Added
Added disabled context classes
Plot
2
hx.Axis
xAxisTickLabelPositionString
Added
An option for choosing where the x axis tick labels should be positioned
hx.Axis
yAxisTickLabelPositionString
Added
An option for choosing where the y axis tick labels should be positioned
Side Collapsible
1
hx.SideCollapsibleextendsEventEmitter
Added
Select
1
hx.Select
Deprecated
Use hx.Select(selector, options) instead.
Selection
1
Selection
eachSelection
Deprecated
The each method for selections has been replaced to use a method that provides a selection as the argument to the f function Use Selection.forEach(f) instead.
Date Picker
1
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
0.12.7
A new meter component type has been added for displaying progress of something.
Selects and Menus now accept functions that supply the list of items - for lazy and dynamically changing data.
Layout
1
hx-section
Updated
The flex-shrink property has been added to hx-sections.
Menu
1
hx.Menu
render
Added
Added a method for setting the data for the menu using a function.
Meter
1
hx.Meter
Added
Select
2
1
1
hx.SelectextendsEventEmitter
Updated
Updated the select to allow lazy loading of data and also use an options object in the constructor.
hx.Select
Deprecated
Use hx.Select(selector, options) instead.
hx.Select
Added
hx.Select
items
Added
Set the items for the select using a function that returns the data.
Selection
2
1
Selection
Updated
Selection now handles namespaced attributes (which are most prevalent in svg). eg
text.attr('xlink:href', '#curvePath')
Updated
Selection now handles removal of styles with undefined (so that it works in the same was as selection.attr). eg
text.style('color', undefined)
Selection
eachSelection
Deprecated
The each method for selections has been replaced to use a method that provides a selection as the argument to the f function Use Selection.forEach(f) instead.
Date Picker
1
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
0.12.6
All events added by hexagon (using the on method of event emitters) have been namespaced to prevent external events overwriting hexagon functionality and vice versa. Events have been namespaced with hx.<module-name>, e.g. for the Button Group module:
element.on('click', 'hx.button-group', function () {
  // handle event
})
Added an alternative way of showing nested tabular data here
Click Detector
1
hx.ClickDetectorextendsEventEmitter
Bugfix
Added detection for whether the target is still in the DOM on pointerup.
Date Picker
1
1
1
hx.DatePickerextendsEventEmitter
Bugfix
Fixed an issue where the date picker was throwing an error when changing the input value of a 'datepicker' type.
Updated
Updated the inbuilt localiser so it is no longer browser dependent. The date picker will display in DD/MM/YYYY with UK day/month names by default. Localisation with moment.js is still possible.
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
Extended Table
2
2
1
hx.TableextendsEventEmitter
Updated
Added the rowSelectableLookup function to determine whether a row is selectable after it has been clicked and added the ability to disable row selection entirely using the unselectable property in the row data.
Bugfix
Fixed a styling bug where the selected row was not highlighted for mobile view
hx.Table
options
rowSelectableLookup
Added
Added a function that is called when a row is selected to determine whether the row should be able to be selected.
hx.Table
setDatadataObject / String / Function
Updated
Added the ability to make rows unselectable when rendering the table.
hx.Table
rowclick
Added
An event called when a row is clicked
Modal
1
hx-modal-container
hx-modal
hx-modal-title
hx-modal-title-empty
Added
Added a class to identify when a title with no length or an undefined title is passed in.
Pivot Table
1
hx.PivotTable
Added
Added a module for creating pivot tables from JSON.
Selection
1
1
Selection
eachSelection
Deprecated
The each method for selections has been replaced to use a method that provides a selection as the argument to the f function Use Selection.forEach(f) instead.
Selection
forEachSelection
Added
Added a new function that uses selections instead of nodes when iterating over the nodes to make it easier to set properties for elements in a selection.
Sticky Table Headers
1
hx.StickyTableHeaders
Added
Added a module for giving html tables sticky headers.
Time Picker
1
hx.TimePickerextendsEventEmitter
Updated
Added a delay to the time picker input to make it easier to enter a time manually.
Util
1
hx.scrollbarSizeNumber
Added
A method for getting the offset amount of the scrollbars in the current browser.
Different browsers implement scrollbars in different ways, with some changing the content size. This method returns the offset amount to allow for any structural changes that need to be made reliably across browsers.
0.12.5
The time picker (and by extension the date time picker) have had the setTime parameter inverted and renamed to retainTime for the date method. The default behaviour was changed as if you're using the date method, the majority of the times it's used will be setting the entire date/time instead of just the date.
Dashboard
1
DashboardWidgetextendsEventEmitter
Bugfix
Fixed dragging widgets for touch devices.
Date Picker
1
1
hx.DatePickerextendsEventEmitter
Bugfix
Added fixes for 'inbuilt' datepickers that are shown on devices that support the 'date' attribute and the 'touch' event (e.g. mobile devices, iPads etc.)
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
Date Time Picker
1
1
hx.DateTimePicker
dateDateTimePicker
Removed
The setTime parameter has been changed to retainTime and the behaviour inverted. Passing false will set the entire date object whereas previously false would only set the days/months/years (ignoring the hours/minutes/seconds). Use date(date, retainTime, suppressCallback) instead.
hx.DateTimePicker
dateDateTimePicker
Added
Sets the currently selected date.
Extended Table
4
2
1
hx.TableextendsEventEmitter
Updated
Updated the table paginator to be more inline with paginators used in other tables and to make it make more sense.
hx.Table
options
allowHeaderWrapBoolean
Added
A boolean value that determines whether the header text should be allowed to wrap or not.
hx.Table
options
userSelectRowsPerPageBoolean
Added
A boolean value that determines whether the dropdown for selecting the number of rows per page should be shown.
hx.Table
options
singleSelectionModeBoolean
Added
A boolean value that determines whether the table should be in single selection mode, only allowing one row to be selected at a time.
hx.Table
paginatorPaginator
Removed
The paginator element is no longer used by the table. Use the page(page) to set the page.
hx.Table
setDatadataObject / String / Function
Updated
Added the ability to override the allowHeaderWrap setting for individual columns using the allowWrap property.
hx.Table
page
Added
A method for setting the currently selected page of a table.
Progress Bar
3
ProgressBarV1
segmentsProgressBar
Added
Added a way to create multi-segment progress bars
ProgressBarV1
segmentsArray
Added
A method for getting the segments in a progressbar
hx-progress-bar
hx-animate
Added
Added a class to animate the changes in progress of the progress bar to give a smooth motion.
Select
1
1
hx.Select
Removed
This constructor will still work, the ddClass parameter has been added and is optional.Added the optional 'ddClass' parameter to the constructor.
hx.Select
Added
Creates a select element.
Table
1
hx-table
hx-table-header-allow-wrap
Added
A class that can be added to th elements that allows the text to wrap onto multiple lines.
Time Picker
1
1
hx.TimePicker
dateTimePicker
Removed
The setTime parameter has been changed to retainTime and the behaviour inverted. Passing false will set the entire date object whereas previously false would only set the days/months/years (ignoring the hours/minutes/seconds). Use date(date, retainTime, suppressCallback) instead.
hx.TimePicker
dateTimePicker
Added
Sets the currently selected date.
0.12.4
Added form.component(property) to the Form Builder as a method of getting the component for a property of the form (e.g. a tag input). As part of this process, components stored in the 'extras' object have been removed and are no longer accessible with form.properties.get('Name of Property').extras.<componentType>. Updated the DatePicker, TimePicker and DateTimePicker to include events for when the dropdown is shown/hidden and in the case of the DateTimePicker, individual events for when the date or time is changed, shown or hidden.
A bug has been fixed which means that the hexagon builder module should no longer throw an error when useCDNs: true is supplied
Button Group
1
hx.ButtonGroupextendsEventEmitter
Added
Component
3
hx.componentObject
Added
A new method for retrieving the component object backing an element
hx.componentsArray[Object]
Added
A new method for retrieving all the components objects backing an element
hx.component.register
Added
A new method for applying a component to an element
Dashboard
1
DashboardWidget
remove
Removed
Remove now has an optional callback which gets called when the widget has been removed.
Date Time Picker
6
hx.DateTimePicker
time.change
Added
Emitted when the time is changed.
hx.DateTimePicker
time.show
Added
Emitted when the time picker is shown.
hx.DateTimePicker
time.hide
Added
Emitted when the time picker is hidden.
hx.DateTimePicker
date.change
Added
Emitted when the date is changed.
hx.DateTimePicker
date.show
Added
Emitted when the date picker is shown.
hx.DateTimePicker
date.hide
Added
Emitted when the date picker is hidden.
Extended Table
1
hx.TableextendsEventEmitter
Bugfix
Fix sticky header alignment issue when the container resizes.
Form Builder
1
hx.Form
componentObject
Added
Added the component method to replace form.properties.get('Name of Property').extras.<componentType> as the way to get the component for a form element.
The component types have also been removed from the properties and should be accesed with form.component('Name of Property') instead.
Date Picker
1
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
0.12.3
Style changes and bugfixes. The retain parameter for selection.on has also been deprecated.
Button
1
hx-btn
Updated
Changed the top padding to make the text line up in the buttons better
Date Time Picker
1
hx.DateTimePickerextendsEventEmitter
Bugfix
Update the datepicker constructor to use the options object.
Extended Table
1
hx.TableextendsEventEmitter
Updated
Improved the stlying for collapsible rows and for grouped headers.
Date Picker
1
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
0.12.2
Improved datepickers and bugfixes.
Date Picker
1
1
1
hx.DatePickerextendsEventEmitter
Updated
Updated the date picker to allow 'zooming out' to year/decade view by clicking the header and converted to use options object instead of multiple arguments.
hx.DatePicker
Deprecated
Use hx.DatePicker(selector, options) instead.
hx.DatePicker
Added
Menu
1
hx.MenuextendsEventEmitter
Bugfix
Added code to prevent recursion when adding arrays of items.
Modal
1
hx.modal
Bugfix
Clicking on an element that subsequently gets detached will no longer cause the modal to close.
Plot
1
hx.GraphextendsEventEmitter
Bugfix
Automatic scale calculation, stacking and grouping were broken in the 0.12.1 release. These have been fixed.
0.12.1
Installing hexagon via npm with the --production flag will no longer install phantomjs.
hx.Maps and hx.Sets can now deal with objects that evaluate to the same value when toString is called on them.
Map
1
Updated
Maps can now handle object keys
Set
1
Updated
Sets can now handle items with the same toString
0.12.0
The default font size has also been reduced in size from 16px to 14px.
Forms have had some improvements, including form validation that works on Safari and better support for disabling inputs.
Previously deprecated setter and getter methods have also been removed.
Date Picker
2
7
hx.DatePicker
setDate
Removed
hx.DatePicker
setDay
Removed
hx.DatePicker
setMonth
Removed
hx.DatePicker
setYear
Removed
hx.DatePicker
setRange
Removed
hx.DatePicker
getDateDate
Removed
hx.DatePicker
getRangeObject
Removed
hx.DatePicker
disableDatePicker
Added
A method for disabling a date picker so the user can't enter values.
hx.DatePicker
enableDatePicker
Added
A method for enabling a date picker so the user can enter values.
Date Time Picker
2
11
hx.DateTimePicker
setDate
Removed
hx.DateTimePicker
setDay
Removed
hx.DateTimePicker
setMonth
Removed
hx.DateTimePicker
setYear
Removed
hx.DateTimePicker
setHour
Removed
hx.DateTimePicker
setMinute
Removed
hx.DateTimePicker
setSecond
Removed
hx.DateTimePicker
getDateDate
Removed
hx.DateTimePicker
getHourNumber
Removed
hx.DateTimePicker
getMinuteNumber
Removed
hx.DateTimePicker
getSecondNumber
Removed
hx.DateTimePicker
disableDateTimePicker
Added
A method for disabling a date/time picker so the user can't enter values.
hx.DateTimePicker
enableDateTimePicker
Added
A method for enabling a date/time picker so the user can enter values.
Form Builder
4
2
hx.Form
getData
Removed
hx.Form
fill
Removed
hx.Form
addSelectoptionsObject
options
disabledBoolean
Added
Whether the field should have the disabled attribute.
hx.Form
addSelectoptionsObject
options
disabledBoolean
Added
Whether the field should have the disabled attribute.
hx.Form
addDatePickeroptionsObject
options
validStartDate
Added
The valid start date for the date picker. The user will not be able to select dates before this date.
hx.Form
addDatePickeroptionsObject
options
validEndDate
Added
The valid end date for the date picker. The user will not be able to select dates after this date.
Form
1
hx.validateFormObject
Added
A helper function for validating forms. By default, it will show a message below the first error in the form but will return an array with all the errors.
An example use of this function could be:
hx.select('#form').select('button').on('click', function (event){
  event.preventDefault(); // Stops the form from submitting natively
  var validObj = hx.validateForm('#form');
  if(validObj.valid){
    // Do something on success
  }
  // Do nothing if the form isn't valid (as the validateForm function will show a message)
});
Menu
2
hx.Menu
addItem
Removed
hx.Menu
addItems
Removed
Notify
3
hx.getNotificationManagerNotificationManager
Removed
hx.notify.setDefaultTimeout
Removed
hx.getNotificationManager.setDefaultTimeout
Removed
Number Picker
2
hx.NumberPicker
getValueNumber
Removed
hx.NumberPicker
setValue
Removed
Paginator
2
hx.Paginator
setPagePaginator
Removed
hx.Paginator
getPageNumber
Removed
Plot
1
hx.Graph
zoom
Added
Added a zoom event when the zoom is changed by the user
Preferences
2
UserPreferences
getPreferences
Removed
UserPreferences
setPreferences
Removed
Progress Bar
2
ProgressBarV1
setProgress
Removed
ProgressBarV1
getProgressNumber
Removed
Slider
3
hx.Slider
setValueSlider
Removed
hx.Slider
getValueNumber
Removed
hx.Slider
setValueSlider
Removed
Tag Input
1
hx.TagInput
removeAllArray[String]
Removed
Time Picker
2
8
hx.TimePicker
setDate
Removed
hx.TimePicker
setHour
Removed
hx.TimePicker
setMinute
Removed
hx.TimePicker
setSecond
Removed
hx.TimePicker
getDateDate
Removed
hx.TimePicker
getHourNumber
Removed
hx.TimePicker
getMinuteNumber
Removed
hx.TimePicker
getSecondNumber
Removed
hx.TimePicker
disableTimePicker
Added
A method for disabling a time picker so the user can't enter values.
hx.TimePicker
enableTimePicker
Added
A method for enabling a time picker so the user can enter values.
Time Slider
3
hx.TimeSlider
setValueTimeSlider
Removed
hx.TimeSlider
getValueDate
Removed
hx.TimeSlider
setValueSlider
Removed
0.11.0
This release consists mainly of the standardisation of the setters/getters for modules. All the old setters and getters have been deprecated and will be removed in a later release. The new pattern for getting and setting values has changed from this:
var value = component.getValue()
component.setValue(100)
To this:
var value = component.value()
component.value(100)
Another addition are resize events for elements:
selection.on('resize', function (e) {
  console.log('resized!')
})
This change allows graphs, tables and paginator modules to automatically redraw when they are resized.
The graph api has been given legends, zoom with mousewheel, and better labels for pie charts.
Dashboard
9
1
2
hx.Dashboard
createWidgetoptionsObject
options
heightNumber
Removed
hx.Dashboard
createWidgetoptionsObject
options
heightString
Added
The height to set the body of the widget to as a css size (200px, 100%, etc). By default, no height will be set and the widget will resize to the content.
hx.Dashboard
createWidgetoptionsObject
options
widthNumber
Removed
hx.Dashboard
createWidgetoptionsObject
options
widthString
Added
The target width of the widget - it may grow or shrink a bit depending on the device.
hx.Dashboard
createWidgetoptionsObject
options
draggableBoolean
Added
A boolean that determines whether the element is draggable. If the showDragControl option is true, this option does not need to be set.
hx.Dashboard
createWidgetoptionsObject
options
showDragControlBoolean
Added
hx.Dashboard
createWidgetoptionsObject
options
resizeOnDragBoolean
Added
hx.Dashboard
createWidgetoptionsObject
options
Added
DashboardWidgetextendsEventEmitter
Updated
Added drag options to the widget and events for dragstart, dragend and drag and added the ability to get/set the order of widgets after they have been added to a dashboard.
DashboardWidget
dragstart
Added
Emit when the drag control is selected.
DashboardWidget
drag
Added
Emit whilst dragging when the element's position is changed (when the placeholder moves)
DashboardWidget
dragend
Added
Emit when the widget is dropped into a location.
Date Picker
11
2
1
7
hx.DatePickerextendsEventEmitter
Updated
All instances of supressCallback have been converted to suppressCallback.
Bugfix
Fixed an issue where setting the values for the date picker and then getting the value would result in the wrong value being returned.
hx.DatePicker
showMonthDatePicker
Updated
Converted the month property to be 1-based instead of 0-based.
hx.DatePicker
setDate
Deprecated
Use date(date, dontSetupInput, suppressCallback) instead.
hx.DatePicker
setDay
Deprecated
Use day(day, suppressCallback) instead.
hx.DatePicker
setMonth
Deprecated
Use month(month, suppressCallback) instead.
hx.DatePicker
setYear
Deprecated
Use year(year, suppressCallback) instead.
hx.DatePicker
setRange
Deprecated
Use range(date1, date2, dontSetupInput, suppressCallback) instead.
hx.DatePicker
getDateDate
Deprecated
Use date() instead.
hx.DatePicker
getRangeObject
Deprecated
Use range() instead.
hx.DatePicker
dateDate
Added
A function to return the current date
hx.DatePicker
dateDatePicker
Added
A function used to set the currently selected date.
hx.DatePicker
Added
A function to return the currently selected day of the month.
hx.DatePicker
dayDatePicker
Added
A function used to set the currently selected day.
hx.DatePicker
monthNumber
Added
A function to return the currently selected month.
hx.DatePicker
monthDatePicker
Added
Sets the currently selected month.
hx.DatePicker
yearNumber
Added
A function to return the currently selected year.
hx.DatePicker
yearDatePicker
Added
Sets the currently selected year.
hx.DatePicker
rangeObject
Added
A function to return the selected date range when the selectRange argument was passed into the constructor.
hx.DatePicker
rangeDatePicker
Added
A method for setting the selected date range when the selectRange argument was passed into the constructor.
When providing dates, the order of the dates is not relevant. The date picker will decide which is the start and which is the end date and set the range accordingly.
hx.DatePicker
validRangeDatePicker
Added
Added the ability to specify a valid range for date pickers.
Date Time Picker
15
1
11
1
hx.DateTimePickerextendsEventEmitter
Updated
All instances of supressCallback have been converted to suppressCallback.
hx.DateTimePicker
setDate
Deprecated
Use date(date, setTime, suppressCallback) instead.
hx.DateTimePicker
setDay
Deprecated
Use day(day, suppressCallback) instead.
hx.DateTimePicker
setMonth
Deprecated
Use month(month, suppressCallback) instead.
hx.DateTimePicker
setYear
Deprecated
Use year(year, suppressCallback) instead.
hx.DateTimePicker
setHour
Deprecated
Use hour(hour, suppressCallback) instead.
hx.DateTimePicker
setMinute
Deprecated
Use minute(minute, suppressCallback) instead.
hx.DateTimePicker
setSecond
Deprecated
Use second(second, suppressCallback) instead.
hx.DateTimePicker
getDateDate
Deprecated
Use date() instead.
hx.DateTimePicker
getHourNumber
Deprecated
Use hour() instead.
hx.DateTimePicker
getMinuteNumber
Deprecated
Use minute() instead.
hx.DateTimePicker
getSecondNumber
Deprecated
Use second() instead.
hx.DateTimePicker
update
Removed
hx.DateTimePicker
dateDate
Added
A function to return the currently selected date.
hx.DateTimePicker
dateDateTimePicker
Added
Sets the currently selected date.
hx.DateTimePicker
Added
A function to return the currently selected day of the month.
hx.DateTimePicker
dayDateTimePicker
Added
A function used to set the currently selected day.
hx.DateTimePicker
monthNumber
Added
A function to return the currently selected month.
hx.DateTimePicker
monthDateTimePicker
Added
Sets the currently selected month.
hx.DateTimePicker
yearNumber
Added
A function to return the currently selected year.
hx.DateTimePicker
yearDateTimePicker
Added
Sets the currently selected year.
hx.DateTimePicker
hourNumber
Added
A function to return the currently selected hour.
hx.DateTimePicker
hourDateTimePicker
Added
Sets the currently selected hour.
hx.DateTimePicker
minuteNumber
Added
A function to return the currently selected minute.
hx.DateTimePicker
minuteDateTimePicker
Added
Sets the currently selected minute.
hx.DateTimePicker
secondNumber
Added
A function to return the currently selected second.
hx.DateTimePicker
secondDateTimePicker
Added
Sets the currently selected second.
hx.DateTimePicker
updateDateTimePicker
Added
A function for updating the display of the DateTimePicker when moment.js is present on the page.
The DateTimePicker now looks for moment.js on the page and shows a localised DateTimePicker based on moment's current locale setting.
To update the locale setting, a locale can either be passed in or the function can be called with no arguments to pick up the currently set moment.locale .
DateTimePicker.update('pl') // sets the DateTimePicker's locale to Poland without affecting the rest of the page.
moment.locale('pl') // sets the page locale to Poland
DateTimePicker.update() // refreshes the display of the selected DateTimePicker using moment.locale() of 'pl'
Drawing
6
2
hx.DrawingextendsEventEmitter
Updated
Added resize listener to make drawings re-render when the container is resized.
Updated
Added sidebar method and themes to allow for better overlays
hx.Drawing
enableSidebar
Added
A function for enabling and populating the drawing sidebar.
hx.Drawing
sidebar
Added
A property that is added after the sidebar is enabled with the enableSidebar method.
hx.Drawing
showSidebar
Added
A method for showing the sidebar once enableSidebar has been called.
hx.Drawing
hideSidebar
Added
A method for hiding the sidebar once enableSidebar has been called.
hx.Drawing
toggleSidebar
Added
A method for toggling the sidebar once enableSidebar has been called.
hx-drawing-sidebar
Added
The class given to the sidebar element when it is created.
Event Emitter
2
hx.EventEmitter
deregisterEventEmitter
Removed
eventEmitter.off('event-name', [callback])
hx.EventEmitter
deregisterAllEventEmitter
Removed
eventEmitter.off()
Extended Table
1
2
hx.TableextendsEventEmitter
Updated
Added resize listener to make tables re-render when the container is resized.
Bugfix
Fixed an issue with the collapsibles that was causing the wrong data to be sent out to the collapsible render function. Also renamed hx-collapsible-content to hx-table-collapsible-content to prevent style conflicts.
Bugfix
Fixed an issue with the mobile view where the table does not correctly handle the data being undefined
Form Builder
5
2
2
hx.Form
getData
Deprecated
Use data() instead.
hx.Form
fill
Deprecated
Use data(data) instead.
hx.Form
addSelectForm
Updated
Updated the form builder to use the new hx.Select element.
hx.Form
addSelectForm
Updated
Updated the form builder to use the new hx.Select element.
hx.Form
addDatePickerForm
Added
Adds a date picker to the form.
hx.Form
addTimePickerForm
Added
Adds a time picker to the form.
hx.Form
addDateTimePickerForm
Added
Adds a date time picker to the form.
hx.Form
dataForm
Added
Fill the form with some data.
hx.Form
dataObject
Added
Returns the data in the form as an object containing key/value pairs.
If no keys are provided in the options, the name of each field will be used as the key.
Form
1
hx-form
Updated
Updated the form styles to make the different types of field have a more consistent layout.
Menu
2
2
hx.Menu
addItem
Deprecated
Use add(item) instead.
hx.Menu
addItems
Deprecated
Use add(items) instead.
hx.Menu
add
Added
Add an item to the menu. The format of the item can vary depending on the renderer that is defined.
hx.Menu
add
Added
A method of adding multiple items from an array.
Modal
1
1
hx.modal
dialog
Removed
hx.modal
dialogModal
Added
Added extra parameters to the dialog function to enable a class and icon to be passed to the titlebar.
Notify
1
3
1
hx.NotificationManager
errorNotification
Removed
hx.getNotificationManagerNotificationManager
Deprecated
Use hx.notify() instead.
hx.notify.setDefaultTimeout
Deprecated
Use hx.notify.defaultTimeout(timeout) instead.
hx.getNotificationManager.setDefaultTimeout
Deprecated
Use hx.notify.defaultTimeout(timeout) instead.
hx.notify.defaultTimeoutNumber
Added
A function for getting or setting the default time out for notifications.
Number Picker
2
2
hx.NumberPicker
getValueNumber
Deprecated
Use value() instead.
hx.NumberPicker
setValue
Deprecated
Use value(value, screenValue) instead.
hx.NumberPicker
valueNumberPicker
Added
Sets the current value of the number picker
hx.NumberPicker
valueNumber
Added
Gets the current value of the number picker
Paginator
2
2
2
hx.PaginatorextendsEventEmitter
Updated
Added resize listener to make paginators re-render when the container is resized.
Updated
Updated the paginator so that it detects the size of its container and changes the number of visible buttons accordingly. Also changed it so that the button widths resize depending on their character length to prevent paginators wrapping onto multiple lines.
hx.Paginator
setPagePaginator
Deprecated
Use page(index) instead.
hx.Paginator
getPageNumber
Deprecated
Use page() instead.
hx.Paginator
pagePaginator
Added
Sets the currently selected page. Uses 1 based indexing.
hx.Paginator
pageNumber
Added
Gets the currently selected page index.
Palette
7
hx-background-default
Updated
Updated the background classes to override the link color
hx-background-positive
Updated
Updated the background classes to override the link color
hx-background-warning
Updated
Updated the background classes to override the link color
hx-background-negative
Updated
Updated the background classes to override the link color
hx-background-info
Updated
Updated the background classes to override the link color
hx-background-compliment
Updated
Updated the background classes to override the link color
hx-background-contrast
Updated
Updated the background classes to override the link color
Plot
25
6
2
hx.GraphextendsEventEmitter
Updated
Added resize listener to make graphs re-render when the container is resized.
Added
Added the ability to set a global zoom for all axes at once with the zoomStart and zoomEnd properties. Zooming with the mouse wheel can be enabled by setting the useZoom property to true.
hx.Graph
useZoomBoolean
Added
Whether or not to enable zoom controls for the graph
hx.Graph
zoomStartNumber
Added
The start or the zoomed region - specified on the 0 to 1 scale.
hx.Graph
zoomEndNumber
Added
The end or the zoomed region - specified on the 0 to 1 scale.
hx.Graph
useLabelsBoolean
Added
Whether or not to display labels on hover
hx.Graph
useLegendBoolean
Added
Whether or not to display the legend
hx.Graph
legendPositionString
Added
How to display the legend on the graph. Possible modes:
  • 'auto' - moves the legend around to avoid the mouse
  • 'hover' - same as auto, but only displays the legend on mouse hover
  • 'top-right' - displays the legend in the top right
  • 'top-left' - displays the legend in the top left
  • 'bottom-right' - displays the legend in the bottom right
  • 'bottom-left' - displays the legend in the bottom left
BarSeries
classString
Added
An optional additional class (or list of space separated classes) to give the series. This can be used to change the styles for a series.
LineSeriesextendsEventEmitter
Updated
Gradient stroke and fill is now possible (by using an array for the color properties)
LineSeries
featherNumber
Updated
series.feather can now be set to false to disable feathering
LineSeries
Added
A css string color to stroke the path line with. To color the line with a gradient, this may be set to an array:
series.series.color = [
  {
    yValue: 0,
    color: hx.theme.plot.negativeCol
  },
  {
    yValue: 90,
    color: '#555'
  },
  {
    yValue: 110,
    color: '#555'
  },
  {
    yValue: 200,
    color: hx.theme.plot.negativeCol
  }
]
The colors will be linearly interpolated vertically between the y values.
LineSeries
classString
Added
An optional additional class (or list of space separated classes) to give the series. This can be used to change the styles for a series, for example by making a line series dashed.
LineSeries
createLabelValuesArray[Object]
Added
Creates the list of values to show in the hover-over labels. The default is that the x and y values will be returned.
BandSeriesextendsEventEmitter
Bugfix
Fixed issue where existing band series weren't being cleared when a graph was re-renderered.
Updated
Gradient fill is now possible (by using an array for the color property)
BandSeries
featherNumber
Updated
series.feather can now be set to false to disable feathering
BandSeries
colorString / Array
Added
A css string color to stroke the path line with. To color the line with a gradient, this may be set to an array:
series.series.color = [
  {
    yValue: 0,
    color: hx.theme.plot.negativeCol
  },
  {
    yValue: 90,
    color: '#555'
  },
  {
    yValue: 110,
    color: '#555'
  },
  {
    yValue: 200,
    color: hx.theme.plot.negativeCol
  }
]
The colors will be linearly interpolated vertically between the y values.
BandSeries
classString
Added
An optional additional class (or list of space separated classes) to give the series. This can be used to change the styles for a series.
BandSeries
createLabelValuesArray[Object]
Added
Creates the list of values to show in the hover-over labels. The default is that the x and y values will be returned.
ScatterSeries
classString
Added
An optional additional class (or list of space separated classes) to give the series. This can be used to change the styles for the data points.
ScatterSeries
createLabelValuesArray[Object]
Added
Creates the list of values to show in the hover-over labels. The default is that the x and y values will be returned.
StraightLineSeries
classString
Added
An optional additional class (or list of space separated classes) to give the series. This can be used to change the styles for a series, for example by making a line series dashed.
StraightLineSeries
createLabelValuesArray[Object]
Added
Creates the list of values to show in the hover-over labels. The default is that the x and y values will be returned.
hx.PieChart
Updated
Added resize listener to make pie charts re-render when the container is resized.
Bugfix
Updated the pie chart labels to help prevent them flowing outside the bounding box of the svg.
hx.PieChart
createLabelValuesArray[Object]
Added
Creates the list of values to show in the hover-over labels. The default is that the x and y values will be returned.
hx.PieChart
useLabelsBoolean
Added
Whether or not to display labels on hover
hx.PieChart
useSegmentTextBoolean
Added
Whether or not to display text on each segment. If this is enabled, it is recommended that useLabels is disabled.
hx.PieChart
segmentTextFormatterString
Added
Returns the text that should be displayed on a segment if useSegmentText is enabled.
hx.PieChart
useLegendBoolean
Added
Whether or not to display the legend
hx.PieChart
legendPositionString
Added
How to display the legend on the graph. Possible modes:
  • 'auto' - moves the legend around to avoid the mouse
  • 'hover' - same as auto, but only displays the legend on mouse hover
  • 'top-right' - displays the legend in the top right
  • 'top-left' - displays the legend in the top left
  • 'bottom-right' - displays the legend in the bottom right
  • 'bottom-left' - displays the legend in the bottom left
hx.plot
Added
Provides a function for declaring graphs as an object, as alternative to the builder pattern use by the rest of the plot api.
Preferences
2
2
UserPreferences
getPreferences
Deprecated
Use value(callback) instead.
UserPreferences
setPreferences
Deprecated
Use value(data, callback) instead.
UserPreferences
value
Added
Gets the users preferences
UserPreferences
value
Added
Sets the user preferences
Progress Bar
2
2
ProgressBarV1
setProgress
Deprecated
Use progress(value) instead.
ProgressBarV1
getProgressNumber
Deprecated
Use progress() instead.
ProgressBarV1
valueProgressBar
Added
Set the value of the progress bar. Expects a value between 0 and 1.
ProgressBarV1
valueNumber
Added
Get the value of the progress bar.
Request
2
hx.xhr
Removed
Given a more descriptive name: hx.request
hx.xhr
Removed
Given a more descriptive name: hx.request
Resize Events
1
Selection
resize
Added
Added a resize event for listening for when elements are resized.
Selection
1
Selection
classedSelection
Updated
Selection.classed now supports adding and removing lists of space separated classes
Slider
3
3
5
hx.Slider
Removed
hx.Slider
setValueSlider
Deprecated
Use value(value) instead.
hx.Slider
getValueNumber
Deprecated
Use value() instead.
hx.Slider
setRangeStartValueSlider
Removed
hx.Slider
setRangeEndValueSlider
Removed
hx.Slider
getRangeStartValueNumber
Removed
hx.Slider
getRangeEndValueNumber
Removed
hx.Slider
setValueSlider
Deprecated
Use value(value) instead.
hx.Slider
valueSlider
Added
Sets the value / position of the slider. Returns this slider for chaining.
hx.Slider
valueSlider
Added
Sets the values for a range slider.
hx.Slider
valueNumber / Object
Added
Returns the current value of the slider.
Tag Input
1
1
1
hx.TagInputextendsEventEmitter
Bugfix
Removed the dependency on input groups and made the styles tag-input specific.
hx.TagInput
removeAllArray[String]
Deprecated
Use remove() instead.
hx.TagInput
removeArray[String]
Added
Removes all tags from the input. Returns an array of the tags removed.
Time Picker
9
1
8
1
hx.TimePickerextendsEventEmitter
Updated
All instances of supressCallback have been converted to suppressCallback.
hx.TimePicker
setDate
Deprecated
Use date(date, setTime, suppressCallback) instead.
hx.TimePicker
setHour
Deprecated
Use hour(hour, suppressCallback) instead.
hx.TimePicker
setMinute
Deprecated
Use minute(minute, suppressCallback) instead.
hx.TimePicker
setSecond
Deprecated
Use second(second, suppressCallback) instead.
hx.TimePicker
getDateDate
Deprecated
Use date() instead.
hx.TimePicker
getHourNumber
Deprecated
Use hour() instead.
hx.TimePicker
getMinuteNumber
Deprecated
Use minute() instead.
hx.TimePicker
getSecondNumber
Deprecated
Use second() instead.
hx.TimePicker
updateTimePicker
Removed
hx.TimePicker
dateDate
Added
A function to return the currently selected date.
hx.TimePicker
dateTimePicker
Added
Sets the currently selected date.
hx.TimePicker
hourNumber
Added
A function to return the currently selected hour.
hx.TimePicker
hourTimePicker
Added
Sets the currently selected hour.
hx.TimePicker
minuteNumber
Added
A function to return the currently selected minute.
hx.TimePicker
minuteTimePicker
Added
Sets the currently selected minute.
hx.TimePicker
secondNumber
Added
A function to return the currently selected second.
hx.TimePicker
secondTimePicker
Added
Sets the currently selected second.
hx.TimePicker
updateTimePicker
Added
A function for updating the display of the TimePicker when moment.js is present on the page.
The TimePicker now looks for moment.js on the page and shows a localised TimePicker based on moment's current locale setting.
To update the locale setting, a locale can either be passed in or the function can be called with no arguments to pick up the currently set moment.locale .
TimePicker.update('pl') // sets the TimePicker's locale to Poland without affecting the rest of the page.
moment.locale('pl') // sets the page locale to Poland
TimePicker.update() // refreshes the display of the selected TimePicker using moment.locale() of 'pl'
Time Slider
4
3
5
hx.TimeSlider
setValueTimeSlider
Deprecated
Use value(value) instead.
hx.TimeSlider
getValueDate
Deprecated
Use value() instead.
hx.TimeSlider
setRangeStartValueTimeSlider
Removed
hx.TimeSlider
setRangeEndValueTimeSlider
Removed
hx.TimeSlider
getRangeStartValueDate
Removed
hx.TimeSlider
getRangeEndValueDate
Removed
hx.TimeSlider
Removed
hx.TimeSlider
setValueSlider
Deprecated
Use value(value) instead.
hx.TimeSlider
valueTimeSlider
Added
Sets the value / position of the slider. Returns this slider for chaining.
hx.TimeSlider
valueTimeSlider
Added
Sets the value / position of the slider. Returns this slider for chaining.
hx.TimeSlider
valueTimeSlider
Added
Sets the values for a range slider.
hx.TimeSlider
valueDate / Object
Added
Returns the current value of the slider.
Titlebar
1
hx-heading
Updated
Updated menu icon tooltip styles so the last tooltip won't be able to flow outside the the titlebar area.
Tree
1
hx.Tree
Bugfix
Fixed an issue where show/hide were not changing the rotation of the arrow icons in trees.
0.10.0
This release consists of several new modules and features including inline editables, inline selects and morphing sections as well as a re-styling of the Slider.
The previously deprecated color classes have also been removed, as well as all references to the mis-spelled hx.Collapseable
AutoComplete
4
hx.AutoCompleteoptionsObject
options
trimTrailingSpacesBoolean
Added
An option to enable whitespace trimming at the end of the input value if no results are found for that string.
hx.autoCompleteoptionsObject
options
trimTrailingSpacesBoolean
Added
An option to enable whitespace trimming at the end of the input value if no results are found for that string.
hx.AutocompleteoptionsObject
options
trimTrailingSpacesBoolean
Added
An option to enable whitespace trimming at the end of the input value if no results are found for that string.
hx.autocompleteoptionsObject
options
trimTrailingSpacesBoolean
Added
An option to enable whitespace trimming at the end of the input value if no results are found for that string.
Button
4
hx-btn
hx-btn-[n]
Removed
All numbered color classes have been removed. Use the context classes instead.
hx-btn
hx-btn-negative
Removed
Use hx-negative with hx-btn instead.
hx-btn
hx-btn-positive
Removed
Use hx-positive with hx-btn instead.
hx-btn
hx-btn-warning
Removed
Use hx-warning with hx-btn instead.
Collapsible
4
hx.CollapseableextendsEventEmitter
Removed
This has been replaced with Collapsible
hx.initialiseCollapseables
Removed
This has been replaced with hx.initialiseCollapsibles
hx-collapseable
Removed
Use hx-collapsible instead.
hx-collapsible
hx-collapsible-[n]
Removed
Removed module-specific classes in favor of generic classes
Dashboard
1
hx.Dashboard
createWidgetoptionsObject
options
heightNumber
Added
Added a height option to allow sizing of widgets to account for the removal of the static height.
Event Emitter
2
2
2
hx.EventEmitter
Removed
The new on method has an optional namespace parameter
hx.EventEmitter
Removed
The new off method has an optional namespace parameter
hx.EventEmitter
deregisterEventEmitter
Deprecated
Use eventEmitter.off('event-name', [callback]) instead.
hx.EventEmitter
deregisterAllEventEmitter
Deprecated
Use eventEmitter.off() instead
hx.EventEmitter
Added
Register a callback that will be called whenever an event is emitted under the given name
hx.EventEmitter
Added
De-register a callback that was registered under the given name. If called with no arguments, all handlers will be removed from the event emitter for all names and namespaces.
Extended Table
3
hx.Table
options
defaultCompareNumber
Added
The default compare function to use when sorting columns. The default is hx.sort.localeCompare()
table.options.defaultCompare = function(a, b) {
  return a > b ? 1 : -1;
}
hx.Table
options
columnCompare
Added
Overrides the compare function for specific columns.
table.options.columnCompare['age'] = function(a, b) {
  return a > b ? 1 : -1;
}
hx.Table
restoreSelected
Added
A method for restoring a set of selected rows to a table that was retrieved using the getSelected method.
When restoring the selected rows, ensure that the sorts/filters that were active when the data was retrieved are restored first as otherwise incorrect rows may be selected.
Form Builder
1
hx.Form
addSelectForm
Added
Adds a dropdown select input to the form. There is an alternative overload that accepts an array of strings as the values.
var values = [
  { text: 'Hue', value: 'hue' } ,
  { text: 'Saturation', value: 'saturation'},
  { text: 'Lightness', value: 'lightness'}
];
form.addSelect('Select', values, {required: true})
Inline Editable
1
hx.InlineEditableextendsEventEmitter
Added
Inline Select
1
hx.InlineSelectextendsEventEmitter
Added
Input Group
1
hx-input-group
Updated
Improved styles and added the ability to use 'a' elements in an input group.
Label
1
7
hx-label
Updated
Removed module-specific classes in favor of generic classes
hx-label
hx-label-positive
Removed
Use hx-positive with hx-label instead
hx-label
hx-label-negative
Removed
Use hx-negative with hx-label instead
hx-label
hx-label-warning
Removed
Use hx-warning with hx-label instead
hx-label
hx-label-compliment
Removed
Use hx-compliment with hx-label instead
hx-label
hx-label-contrast
Removed
Use hx-contrast with hx-label instead
hx-label
hx-label-info
Removed
Use hx-info with hx-label instead
hx-label
hx-label-[n]
Removed
Menu
1
hx-menu
hx-color-[n]
Removed
Modal
1
hx.Modal
setupTitlebar
Added
Renderer function for the titlebar. The default renderer gives the node the title text. The this context for the function is this modal.
Morph Section
2
hx.MorphSectionextendsEventEmitter
Added
A base class for adding morph sections.
hx.InlineMorphSection
Added
A base class for building inline morphing sections.
Notify
2
1
hx.notify.setDefaultTimeout
Added
A function for changing the default time out for notifications
hx.getNotificationManager.setDefaultTimeout
Added
A function for changing the default time out for notifications
hx.NotificationManager
errorNotification
Deprecated
Use NotificationManager.negative instead.
Number Picker
2
hx.NumberPicker
setMin
Added
Sets the minimum value the number picker can have
hx.NumberPicker
setMax
Added
Sets the maximum value the number picker can have
Plot
12
hx-plot-text-warm
Added
Applies the warm color from the graph color palette to text.
hx-plot-text-ambient
Added
Applies the ambient color from the graph color palette to text.
hx-plot-text-cold
Added
Applies the cold color from the graph color palette to text.
hx-plot-text-positive
Added
Applies the positive color from the graph color palette to text.
hx-plot-text-warning
Added
Applies the warning color from the graph color palette to text.
hx-plot-text-negative
Added
Applies the negative color from the graph color palette to text.
hx-plot-background-warm
Added
Applies the warm color from the graph color palette as a background color.
hx-plot-background-ambient
Added
Applies the ambient color from the graph color palette as a background color.
hx-plot-background-cold
Added
Applies the cold color from the graph color palette as a background color.
hx-plot-background-positive
Added
Applies the positive color from the graph color palette as a background color.
hx-plot-background-warning
Added
Applies the warning color from the graph color palette as a background color.
hx-plot-background-negative
Added
Applies the negative color from the graph color palette as a background color.
Progress Bar
1
2
hx-progressbar
Removed
Use hx-progress-bar instead.
hx-progress-bar
Updated
Removed module-specific classes in favor of generic classes
hx-progress-bar
hx-progressbar-[n]
Removed
Select
1
hx.SelectextendsEventEmitter
Added
Selection
5
1
Selection
offSelection
Removed
Use selection.off([name], [namespace], [handler]) instead
Selection
containsBoolean
Added
Checks if an element is contained by the current selection
Selection
addSelection
Added
Appends an element to all elements currently selected and returns the original Selection. Use 'div' to append a <div> element for example.
Selection
clearSelection
Added
Removes all child elements from the selected node(s)
Selection
onSelection
Added
Register a callback that will be called whenever an event is emitted under the given name
Provided by extending the EventEmitter
function handler (event) {
  // do something
}
hx.select('#button').on('click', handler)
hx.select('#button').on('click', 'my-namespace', handler)
Selection
offSelection
Added
Deregisters a callback for an event type.
Provided by extending the EventEmitter

hx.select('#button').off('click')
hx.select('#button').off('click', 'my-namespace')
hx.select('#button').off('click', handler)
hx.select('#button').off('click', 'my-namespace', handler)
Slider
2
5
1
hx.Slider
Deprecated
Use new hx.Slider(selector, options) instead.
hx.Slider
setRangeStartValueSlider
Deprecated
Use setValue({startValue: <value>}) instead.
hx.Slider
setRangeEndValueSlider
Deprecated
Use setValue({endValue: <value>}) instead.
hx.Slider
getRangeStartValueNumber
Deprecated
Use getValue().startValue instead.
hx.Slider
getRangeEndValueNumber
Deprecated
Use getValue().endValue instead.
hx.Slider
Added
hx.Slider
setValueSlider
Added
Sets the values for a range slider.
hx.Slider
slide
Removed
Tabs
1
1
hx-tabs
hx-tab
Updated
Removed module-specific classes in favor of generic classes
hx-tabs
hx-tab
hx-tab-color-[n]
Removed
Tag Input
1
3
hx-tag
Updated
Removed module-specific classes in favor of generic classes
hx-tag
hx-light
Removed
hx-tag
hx-dark
Removed
hx-tag
hx-color-[n]
Removed
Time Slider
2
5
1
hx.TimeSlider
setRangeStartValueTimeSlider
Deprecated
Use setValue({startValue: <value>}) instead.
hx.TimeSlider
setRangeEndValueTimeSlider
Deprecated
Use setValue({endValue: <value>}) instead.
hx.TimeSlider
getRangeStartValueDate
Deprecated
Use getValue().startValue instead.
hx.TimeSlider
getRangeEndValueDate
Deprecated
Use getValue().endValue instead.
hx.TimeSlider
Deprecated
Use new hx.TimeSlider(selector, options) instead.
hx.TimeSlider
Added
hx.TimeSlider
setValueSlider
Added
Sets the values for a range slider.
hx.TimeSlider
slide
Removed
Titlebar
5
hx.TitleBar
setContextClass
Added
Sets the context class for the titlebar, removing any other existing context classes in the process.
hx-heading
hx-titlebar
hx-positive
Added
Gives the titlebar the positive color.
hx-heading
hx-titlebar
hx-warning
Added
Gives the titlebar the warning color.
hx-heading
hx-titlebar
hx-negative
Added
Gives the titlebar the negative color.
hx-heading
hx-titlebar
hx-info
Added
Gives the titlebar the info color.
Tree
1
1
hx-tree
Updated
Removed module-specific classes in favor of generic classes
hx-tree
hx-tree-[n]
Removed
Request
2
hx.xhr
Deprecated
Given a more descriptive name: hx.request
hx.xhr
Deprecated
Given a more descriptive name: hx.request
0.9.0
This release mainly consists of the standardisation of the colour classes across all the modules, converting things like hx-btn-positive to hx-positive and converting from light/dark to compliment/contrast to make the theming of hexagon easier.
The numbered color classes for each module have also been deprecated in favour of the named classes: hx-positive, hx-warning, hx-negative, hx-info, hx-compliment, hx-contrast. The classes have been deprecated in this version and will be removed in a later version.
All references to hx.Collapseable (and similarly mispelt collapseables) have been deprecated in favor of the correct spelling, collapsible.
Animate
6
hx.animateAnimation
Added
A factory function for creating Animation instances
AnimationextendsEventEmitter
Added
A class for animating the styles and attributes of a Node
MorphextendsEventEmitter
Added
A class for chaining animations, asynchronous function calls, and synchronous function calls together.
hx.morphMorph
Added
A factory function for creating Morph instances
hx.morph.register
Added
Registers a named morph action.
Selection
Added
This module adds some extra methods to Selection
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Added
The AutoComplete class can be used to add an auto complete suggestion dropdown to any input field.
Base
1
hx-well
Removed
Use the classes hx-pad and hx-background-compliment to achieve the same effect.
Button
9
4
hx-btn
hx-btn-invert
Added
Gives the button an inverted style, so that the text is colored rather than the background.
hx-btn
hx-btn-[n]
Deprecated
All numbered color classes will be removed in a later version: Use the context classes instead.
hx-btn
hx-compliment
Added
Styles the button with a color that compliments the theme (light for a light theme, dark for a dark theme)
hx-btn
hx-contrast
Added
Styles the button with a contrasting color to the theme
hx-btn
hx-disabled
Added
Gives the button the style of a disabled button.
hx-btn
hx-info
Added
Styles the button to indicate that clicking it will lead to some form of documentation / information.
hx-btn
hx-btn-negative
Deprecated
Use hx-negative with hx-btn instead.
hx-btn
hx-negative
Added
Adds button styling indicative of failure, danger or something negative
hx-btn
hx-btn-positive
Deprecated
Use hx-positive with hx-btn instead.
hx-btn
hx-positive
Added
Adds button styling indicative of success, confirmation or something positive
hx-btn
hx-btn-warning
Deprecated
Use hx-warning with hx-btn instead.
hx-btn
hx-warning
Added
Adds button styling indicative of warning, to suggest the user should use caution
hx.initialiseToggleButtonsArray[ToggleButton]
Added
Initialises all toggle buttons that match the selector given
Collapsible
1
4
hx.CollapseableextendsEventEmitter
Deprecated
This has been replaced with Collapsible
hx.initialiseCollapseables
Deprecated
This has been replaced with hx.initialiseCollapsibles
hx.initialiseCollapsibles
Added
Initialises all the collapsibles that match a css selector in a page and returns the Collapsible objects as an array.
hx-collapseable
Deprecated
Use hx-collapsible instead.
hx-collapsible
hx-collapsible-[n]
Deprecated
All numbered color classes will be removed in a later version. There will be no alternative - all collapsible should look the same.
Color
5
1
Color
Removed
Use one of the hx.color functions to create Color instances.
hx.colorColor
Added
Constructs a new Color instance.
hx.colorColor
Added
Constructs a Color instance from a string. If the string passed in is not valid then this function will return undefined.
hx.colorColor
Added
Constructs a Color instance from an array.
hx.colorColor
Added
Constructs a Color instance from a list of rgb values.
hx.color(255, 255, 255)
hx.color(255, 255, 255, 1)
hx.color.isColorStringBoolean
Added
Checks if a string is a css color string.
Crumbtrail
1
hx.Crumbtrail
Added
A class that can be used to build a crumbtrail dynamically.
Dashboard
2
hx.Dashboard
Added
A class for constructing dashboards. This does the set-up of the dom structure for you.
DashboardWidgetextendsEventEmitter
Added
A object that represents a widget in the dashboard.
Dropdown
1
1
hx.Dropdown
Added
hx.Dropdown
Removed
The mode parameter has been moved after the dropdown content:
// old way
new hx.Dropdown(selector, mode, dropdownContent, align, spacing, matchWidth, ddClass)]

// new way
new hx.Dropdown(selector, dropdownContent, mode, align, spacing, matchWidth, ddClass)]
Extended Table
14
2
5
hx.Table
options
Updated
hx.Table
options
enabledFiltersArray
Updated
hx.Table
options
noDataMessageString
Added
The message to display when there is no data.
hx.Table
options
defaultCellValueLookupAny
Added
When using object for cell data either this should be defined, or cellValueLookup should be defined for every column. This function makes it possible to specify which value in the cell objects to filter and sort by. This can be overridden on a column-by-column basis with options.cellValueLookup.
// table data
data = {
  head : {
    columns: [
      {value: "Column 1"},
      {value: "Column 2"},
      {value: "Column 3"}
    ]
  },
  body: [
    [{value: 1, formatted: "1.0"}, {value: 4, formatted: "4.0"}, {value: 8, formatted: "8.0"}],
    [{value: 7, formatted: "7.0"}, {value: 9, formatted: "9.0"}, {value: 3, formatted: "3.0"}],
    [{value: 1, formatted: "1.0"}, {value: 8, formatted: "8.0"}, {value: 5, formatted: "5.0"}],
    ...
  ]
}

// the table can be instructed to, by default, use the 'value' property of the cell objects for sorting and filtering for:
options.defaultCellValueLookup = function(datum) {
  return datum.value;
}
hx.Table
options
cellValueLookup
Added
Can be set to change the cell value lookup for a specific column:
// table data
data = {
  head : {
    columns: [
      {value: "Column 1"},
      {value: "Column 2"},
      {value: "Column 3"}
    ]
  },
  body: [
    [{value: 1, formatted: "1.0"}, {value: 4, formatted: "4.0"}, {value: 8, formatted: "8.0"}],
    [{value: 7, formatted: "7.0"}, {value: 9, formatted: "9.0"}, {value: 3, formatted: "3.0"}],
    [{value: 1, formatted: "1.0"}, {value: 8, formatted: "8.0"}, {value: 5, formatted: "5.0"}],
    ...
  ]
}

// the table can be instructed to use the 'value' property of the objects for sorting and filtering for 'Column 1' like this:
options.cellValueLookup = {
  'Column 1': function(datum) {
     return datum.value;
  }
}
hx.Table
options
defaultCellSortValueLookupAny
Added
Carries out the same functionality as the defaultCellValueLookup function but only applies when sorting the data.
hx.Table
options
cellSortValueLookup
Added
Works the same way as cellValueLookup but only applies when sorting the data.
hx.Table
options
defaultCellFilterValueLookupAny
Added
Carries out the same functionality as the defaultCellValueLookup function but only applies when filtering the data.
hx.Table
options
cellFilterValueLookup
Added
Works the same way as cellValueLookup but only applies when filtering the data.
hx.Table
options
cellRenderers
Added
Can be set to change the renderer for a given column.
// table data
data = {
  head : {
    columns: [
      {value: "Column 1"},
      {value: "Column 2"},
      {value: "Column 3"}
    ]
  },
  body: [
    [1, 2, 3],
    [4, 5, 6],
    [7, 8, 9],
    ...
  ]
}

// The table can be instructed to render values in 'Column 1' like this:
options.cellValueLookup = {
  'Column 1': function(datum, element, index) {
     return (datum != 1 ? datum + 's' : datum);
  }
}
hx.Table
options
defaultCellRenderer
Added
Can be set to change the renderer for all the columns in a table.
hx.Table
sort
Removed
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
sort
Added
Optional callback parameter added
hx.Table
renderTable
Removed
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
renderTable
Added
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
addFilter
Removed
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
addFilter
Added
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
removeFilter
Removed
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
removeFilter
Added
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
filter
Removed
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
hx.Table
filter
Added
An optional callback parameter has been added. This callback gets called once the rendering of the table is complete.
Label
7
hx-label
hx-label-positive
Deprecated
All module-specific colour classes will be removed in a later version
hx-label
hx-label-negative
Deprecated
All module-specific colour classes will be removed in a later version
hx-label
hx-label-warning
Deprecated
All module-specific colour classes will be removed in a later version
hx-label
hx-label-compliment
Deprecated
All module-specific colour classes will be removed in a later version
hx-label
hx-label-contrast
Deprecated
All module-specific colour classes will be removed in a later version
hx-label
hx-label-info
Deprecated
All module-specific colour classes will be removed in a later version
hx-label
hx-label-[n]
Deprecated
All numbered color classes will be removed in a later version. Use the context classes instead.
Menu
1
hx-menu
hx-color-[n]
Deprecated
All numbered color classes will be removed in a later version. Use the context classes instead.
Modal
1
1
hx.Modal
Removed
The maxWidth parameter has been removed - the modal will now fit the content automatically.
hx.Modal
Added
Creates a new Modal object for displaying pop up content.
Notify
10
1
1
hx.NotificationManager
infoNotification
Removed
The icon now automatically gets set for info notifications. If you wish to customise the icon use NotificationManager.permanent or NotificationManager.temporary .
hx.NotificationManager
infoNotification
Added
Shows an information notification and returns a Notification object. This is a temporary notification that will dismiss itself after some time (5 seconds by default). There is the option to supply an icon to display in the top left of the notification. This notification type has the styling predefined for it in the hx-notification-info css class, and uses a predefined icon.
hx.NotificationManager
errorNotification
Deprecated
Use NotificationManager.negative instead.
hx.NotificationManager
negativeNotification
Added
Shows an negative notification and returns a Notification object. This is a temporary notification, and so will dismiss itself after some time (5 seconds by default). This notification type has the styling predefined for it in the hx-notification-negative css class, and uses a predefined icon.
hx.NotificationManager
positiveNotification
Added
Shows an positive notification and returns a Notification object. This is a temporary notification, and so will dismiss itself after some time (5 seconds by default). This notification type has the styling predefined for it in the hx-notification-positive css class, and uses a predefined icon.
Notification
pinNotification
Added
Makes the notification stick around until it is unpinned.
Notification
unpinNotification
Added
Unpins a notification - causing it to disappear shortly after.
hx-notification
hx-positive
Added
The class to add to style the notification with the theme's positive color.
hx-notification
hx-negative
Added
The class to add to style the notification with the theme's negative color.
hx-notification
hx-warning
Added
The class to add to style the notification with the theme's warning color.
hx-notification
hx-info
Added
The class to add to style the notification with the theme's info color.
hx-notification
hx-loading
Added
The class to add to style the notification with the theme's loading color.
Plot
4
hx.Axis
xGridLinesBoolean
Added
Whether or not to show grid lines for the x axis ticks. True means the grid lines will be shown.
hx.Axis
xNthTickVisibleNumber
Added
Sets which ticks should display text. If set to 1, then every tick will have text. If set to 2 every other tick will display text. If set to 3, every third tick will show text. And so on..
hx.Axis
yGridLinesBoolean
Added
Whether or not to show grid lines for the y axis ticks. True means the grid lines will be shown.
hx.Axis
yNthTickVisibleNumber
Added
Sets which ticks should display text. If set to 1, then every tick will have text. If set to 2 every other tick will display text. If set to 3, every third tick will show text. And so on..
Progress Bar
1
2
hx-progressbar
Deprecated
Use hx-progress-bar instead.
hx-progress-bar
Added
The class given to the root element of a progress bar
hx-progress-bar
hx-progressbar-[n]
Deprecated
All numbered color classes will be removed in a later version.Use the context classes instead.
Request
2
2
hx.xhr
Deprecated
Given a more descriptive name: hx.request
hx.xhr
Deprecated
Given a more descriptive name: hx.request
hx.request
Added
Makes a http request to the resource specified.
hx.request
Added
Makes a http request to the resource specified.
Selection
3
1
9
Selection
prependSelection
Added
Inserts an element at the start of all elements currently selected and returns a new Selection containing the new elements. Use 'div' to append a <div> element for example.
Selection
insertBeforeSelection
Added
Inserts an element before each node in the current selection. The inserted element will be at the same level in the dom tree as the selected element(s).
Selection
insertAfterSelection
Added
Inserts an element after each node in the current selection. The inserted element will be at the same level in the dom tree as the selected element(s).
Selection
attrSelection
Updated
Passing in undefined as the value will now remve the attribute from the element.
Selection
pointerDownSelection
Removed
Use selection.on("pointerdown", function(){}) instead.
Selection
pointerMoveSelection
Removed
Use selection.on("pointermove", function(){}) instead.
Selection
pointerUpSelection
Removed
Use selection.on("pointerup", function(){}) instead.
Selection
pointerLeaveSelection
Removed
Use selection.on("pointerleave", function(){}) instead.
Selection
clickSelection
Removed
Use selection.on("click", function(){}) instead.
Selection
transitionSelection
Removed
Use selection.animate or selection.morph instead.
Selection
durationSelection
Removed
Use selection.animate or selection.morph instead.
Selection
delaySelection
Removed
Use selection.animate or selection.morph instead.
Selection
easeSelection
Removed
Use selection.animate or selection.morph instead.
Tabs
5
1
hx-tabs
hx-tab
hx-positive
Added
Colors the tab with the positive color.
hx-tabs
hx-tab
hx-negative
Added
Colors the tab with the negative color.
hx-tabs
hx-tab
hx-warning
Added
Colors the tab with the warning color.
hx-tabs
hx-tab
hx-contrast
Added
Colors the tab with the contrast color.
hx-tabs
hx-tab
hx-info
Added
Colors the tab with the info color.
hx-tabs
hx-tab
hx-tab-color-[n]
Deprecated
All numbered color classes will be removed in a later version. Use the context classes instead.
Tag Input
3
hx-tag
hx-light
Deprecated
Use hx-compliment instead.
hx-tag
hx-dark
Deprecated
Use hx-contrast instead.
hx-tag
hx-color-[n]
Deprecated
All numbered color classes will be removed in a later version.Use the context classes instead.
Titlebar
1
hx.TitleBar
setActive
Added
Sets the active titlebar link, causing the underline to show all the time instead of just when the link is hovered over.
Tree
1
hx-tree
hx-tree-[n]
Deprecated
All numbered color classes will be removed in a later version.Use the context classes instead.
Util
6
4
hx.minNumber
Removed
Apply transformations before passing into min
// old way
hx.min(array, f)

// new way
hx.min(array.map(f))
hx.minNumber
Added
Returns the minimum value in the array
hx.min([7, 6, 3, 5]) // returns 3
hx.maxNumber
Removed
Apply transformations before passing into max
// old way
hx.max(array, f)

// new way
hx.max(array.map(f))
hx.maxNumber
Added
Returns the maximum value in the array
hx.max([7, 6, 3, 5]) // returns 7
hx.mergeObject
Added
Merges multiple objects together, and returns the result as a new object.
The objects will be merged recursively, and arrays will be cloned. Any object that is not a plain object (see the isPlainObject function) will be replaced with an empty object {}.
// returns {'a': 2, 'b': 3}
hx.merge(false, {'a': 1}, {'a': 2}, {'b': 3})

// returns {a: {b: 'hello', c: {d: 4, e: 'value'}}}
hx.merge(true, {a: {b: 2, c: {d: 3}}}, {a: {b: 'hello', c: {d: 4, e: 'value'}}})
hx.shallowMergeObject
Added
Merges multiple objects together where the first level of references are copied, and returns the result as a new object.
// returns {'a': 2, 'b': 3}
hx.merge(false, {'a': 1}, {'a': 2}, {'b': 3})

// returns {a: {b: 'hello', c: {d: 4, e: 'value'}}}
hx.merge(true, {a: {b: 2, c: {d: 3}}}, {a: {b: 'hello', c: {d: 4, e: 'value'}}})
hx.cloneObject / Array
Removed
hx.cloneObject / Array
Added
Clones an object or array. Items in arrays will also be cloned.
hx.shallowCloneObject / Array
Added
Clones an object or array. Only the first level of values in the objects will be copied - this function will not recursively clone items - meaning references will be copied.
hx.extend
Removed
Use hx.merge or hx.shallowMerge