How to use the @project-sunbird/common-consumption.LibraryFiltersLayout.ROUND function in @project-sunbird/common-consumption

To help you get started, we’ve selected a few @project-sunbird/common-consumption 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 Sunbird-Ed / SunbirdEd-portal / src / app / client / projects / desktop / src / app / modules / offline / components / library-filters / library-filters.component.ts View on Github external
selector: 'app-library-filters',
  templateUrl: './library-filters.component.html',
  styleUrls: ['./library-filters.component.scss']
})
export class LibraryFiltersComponent implements OnInit, OnDestroy {

  selectedBoard: any;
  selectedMediumIndex: number[] = [];
  selectedClassIndex: number[] = [];

  boards: any[] = [];
  mediums: any[] = [];
  classes: any[] = [];

  mediumLayout: LibraryFiltersLayout = LibraryFiltersLayout.SQUARE;
  classLayout: LibraryFiltersLayout = LibraryFiltersLayout.ROUND;

  frameworkCategories: any;
  userDetails: any;
  hashTagId: string;
  public unsubscribe$ = new Subject();

  @Input() selectedFilters;
  @Output() filterChange: EventEmitter = new EventEmitter();

  constructor(
    public resourceService: ResourceService,
    public frameworkService: FrameworkService,
    private orgDetailsService: OrgDetailsService,
    private channelService: ChannelService,
    private onboardingService: OnboardingService,
    public router: Router

@project-sunbird/common-consumption

Contains common UI components powered by angular. These components are designed to be used in sunbird consumption platforms *(mobile app, web portal, offline desktop app)* to drive reusability, maintainability hence reducing the redundant development effo

MIT
Latest version published 6 months ago

Package Health Score

67 / 100
Full package analysis