Skip to content

Demo updates and additions to Alert, Modal, OrderByPipe, and TableSortable

Pre-release
Pre-release
Compare
Choose a tag to compare
@coryshaw1 coryshaw1 released this 29 Jun 19:04
· 25 commits to master since this release
  • Alert: Add ability to set an automatic close delay
  • Modal: Add small and large modal size options
  • OrderBy: Add ability to sort on an object's property within an array element (Ex: someArray | orderBy : ['someObj.Property', '-somethingElse']
  • TableSortable: Add capability to disable sorting on a specified column
    • Example:
  columns: TableSortableColumn[] = [
    {
      display: 'Text', //The text to display
      variable: 'Text', //The name of the key that's apart of the data array
      filter: 'text', //The type data type of the column (number, text, date, etc.)
      sortable: true //Whether the user can sort on the column
    }, 
    new TableSortableColumn('Can Sort', 'Can', 'text'),
    new TableSortableColumn("Can't Sort", 'Cant', 'text', false)
  • Demos: Fix selects within forms to use Bootstrap 4's c-select class