Releases: eakoriakin/ionic-selectable
Releases · eakoriakin/ionic-selectable
2.2.1
Features
- isItemEnabled function
2.2.0
Features
- searchDebounce field
- scrollToBottom() method
- scrollToTop() method
2.1.1
Breaking changes
multiple
option has been renamed toisMultiple
for consistency with other options, such asisEnabled
orcanSearch
(fd04ad6)
Features
- isOpened field
- okButtonText option
- isOkButtonEnabled option
- itemsToConfirm option
- Message template
- Item right template
Bug fixes
- Correct the behavior of
open()
andclose()
methods when component is disabled (31bb414)
2.0.4
2.0.3
2.0.1
2.0.0
Updates
This release provides an ability to create complex templates for items, value and label easily using <ng-template>
. It also includes other minor features.
Breaking changes
useModal
option has been deprecated and removed (#23)SelectSearchable
class has been renamed toSelectSearchableComponent
(Angular 2 style guide)SelectSearchablePage
class has been renamed toSelectSearchablePageComponent
(Angular 2 style guide)title
option has been replaced with selectSearchableLabelTemplate template:
Old
<select-searchable
title="port">
</select-searchable>
New
<select-searchable>
<ng-template selectSearchableLabelTemplate>
Port
</ng-template>
</select-searchable>
itemTemplate
option has been replaced with selectSearchableItemTemplate template:
Old
<select-searchable
[itemTemplate]="portItemTemplate">
</select-searchable>
portItemTemplate(port: Port) {
return `${port.name} (${port.country})`;
}
New
<select-searchable>
<ng-template selectSearchableItemTemplate let-port="item">
{{port.name}} ({{port.country}})
</ng-template>
</select-searchable>