# changeView (method)

> 뷰(View)를 전환합니다.

### Syntax

    void changeView( viewName, dateOrRange );

### Parameters

Name | Type | Required | Description
--- | --- | --- | ---
viewName | `string` | 필수 | 전환할 뷰(View) 이름
dateOrRange | `Object` | 선택 | 뷰(View) 전환 후 이동할 날짜

### Return Value

none

### Example

    IBCalendar.get("calendar1").changeView("timeGridDay", "2020-06-01");
    IBCalendar.get("calendar1").changeView("timeGridWeek", {start: "2020-05-31", end: "2020-06-07"});

### Since

product | version | desc
--- | --- | ---
core | 1.5.0.0 | 기능 추가