How to use ids-enterprise-ng - 3 common examples

To help you get started, we’ve selected a few ids-enterprise-ng examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github infor-design / enterprise-ng / src / app / datagrid / datagrid-custom-formatter.demo.ts View on Github external
export const LMFavorite = (row, cell, value, col, rowData, api): string => {
  const isChecked: boolean = (rowData && rowData.price > 200); // jshint ignore:line
  const icon = isChecked ? 'star-filled' : 'star-outlined';
  return '<span class="audible">' + Soho.Locale.translate('Favorite') +
    '</span><span class="icon-favorite">' + SohoIconUtils.createIcon({ icon: icon }) + '</span>';
};
github infor-design / enterprise-ng / src / app / notification / notification.demo.ts View on Github external
  showNotification(type: SohoNotificationType = SohoNotificationService.INFO) {
    this.notificationService.show({ parent: '.page-container.scrollable', message: 'This is a Toast message', type: type });
  }
}
github infor-design / enterprise-ng / src / app / toast / toast.demo.ts View on Github external
  showToast(position: SohoToastPosition = SohoToastService.TOP_RIGHT) {
    this.toastService.show({draggable: true, title: 'Sample Message', message: 'This is a Toast message', position: position});
  }
}

ids-enterprise-ng

Infor Design System (IDS) Enterprise Angular Components

Apache-2.0
Latest version published 4 days ago

Package Health Score

81 / 100
Full package analysis