getView
Description
이름을 기반으로 뷰 객체를 반환합니다. 이름이 지정되지 않으면 현재 뷰를 반환합니다.
getView: (name?: string) => any
Parameters
name- (optional) string - 선택 사항, 뷰의 이름
Returns
view- (object) - 뷰 객체
Example
var timeline = scheduler.getView();
timeline.x_size = 8;
scheduler.setCurrentView();
Related samples
Details
이 메서드는 자체 객체 표현을 가진 뷰만 반환합니다. 현재 이에는 timeline 및 units 뷰가 포함되며, 다른 모든 뷰에 대해서는 메서드가 null을 반환합니다.
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.