Options
All
  • Public
  • Public/Protected
  • All
Menu

Class App

Hierarchy

Index

Properties

compare

compare: CompareCandidate[] = compare

display

display: Display = display

filter

filter: FilterStore = filter

modal

modal: Modal = modal

noti

noti: Notification = noti

palette

palette: Palette = palette

profile

profile: Profile = profile

schedule

schedule: ScheduleStore = schedule

semester

semester: Semesters = semester

status

status: Status = status

Accessors

showInformation

  • get showInformation(): boolean

sideBar

version

  • get version(): string

Methods

addToCompare

  • addToCompare(): void
  • note

    compare button will be shown iff in generated mode, so currentSchedule must be a GeneratedSchedule

    Returns void

created

generateSchedules

getGeneratorOptions

indexOfCompare

  • indexOfCompare(): number
  • Returns number

    return the index of current schedule in compares array. return -1 if current schedule is not in compares.

loadConfigFromURL

  • loadConfigFromURL(search: URLSearchParams): Promise<boolean>

loadProfile

  • loadProfile(force?: boolean): Promise<void>
  • Load Profile.current, switch to the profile's semester. Recover all store modules' states from the localStorage, and assign a correct Catalog object to window.catalog,

    note

    if you want to switch to other profiles, assign the profile name to Profile.current first.

    Parameters

    • Default value force: boolean = false

      force update current semester data and load the given profile

    Returns Promise<void>

saveStatus

  • saveStatus(): void

selectSemester

  • Select a semester and fetch all its associated data, note that the first profile corresponding to the target semester will be loaded.

    Parameters

    • target: SemesterJSON | null

      the semester to switch to. If null, switch to the latest semester

    Returns Promise<void>

validateSortOptions

  • validateSortOptions(): boolean

Generated using TypeDoc