glendix/react/event

Types

pub type AnimationEvent
pub type ChangeEvent
pub type ClipboardEvent
pub type CompositionEvent
pub type DragEvent
pub type Event
pub type FocusEvent
pub type FormEvent
pub type InputEvent
pub type KeyboardEvent
pub type MouseEvent
pub type PointerEvent
pub type TouchEvent
pub type TransitionEvent
pub type UIEvent
pub type WheelEvent

Values

pub fn alt_key(event: KeyboardEvent) -> Bool
pub fn altitude_angle(event: PointerEvent) -> Int

고도 각도

pub fn animation_elapsed_time(event: AnimationEvent) -> Float
pub fn animation_name(event: AnimationEvent) -> String
pub fn animation_pseudo_element(event: AnimationEvent) -> String
pub fn azimuth_angle(event: PointerEvent) -> Int

방위 각도

pub fn bubbles(event: event) -> Bool

이벤트 버블링 여부

pub fn button(event: MouseEvent) -> Int
pub fn buttons(event: MouseEvent) -> Int
pub fn cancelable(event: event) -> Bool

이벤트 취소 가능 여부

pub fn changed_touches(event: TouchEvent) -> dynamic.Dynamic
pub fn client_x(event: MouseEvent) -> Float
pub fn client_y(event: MouseEvent) -> Float
pub fn clipboard_data(event: ClipboardEvent) -> dynamic.Dynamic
pub fn code(event: KeyboardEvent) -> String
pub fn composition_data(event: CompositionEvent) -> String
pub fn ctrl_key(event: KeyboardEvent) -> Bool
pub fn current_target(event: event) -> dynamic.Dynamic

이벤트 핸들러가 등록된 요소

pub fn data_transfer(event: DragEvent) -> dynamic.Dynamic
pub fn delta_mode(event: WheelEvent) -> Int
pub fn delta_x(event: WheelEvent) -> Float
pub fn delta_y(event: WheelEvent) -> Float
pub fn delta_z(event: WheelEvent) -> Float
pub fn detail(event: UIEvent) -> Int

이벤트 상세 정보 (클릭 횟수 등)

pub fn event_phase(event: event) -> Int

이벤트 전파 단계 (0=None, 1=Capture, 2=Target, 3=Bubble)

pub fn focus_related_target(event: FocusEvent) -> dynamic.Dynamic
pub fn get_modifier_state(event: MouseEvent, key: String) -> Bool
pub fn input_data(event: InputEvent) -> String
pub fn is_default_prevented(event: event) -> Bool

기본 동작이 방지되었는지 여부

pub fn is_persistent(event: event) -> Bool

이벤트가 영속적인지 확인

pub fn is_primary(event: PointerEvent) -> Bool
pub fn is_propagation_stopped(event: event) -> Bool

전파가 중지되었는지 여부

pub fn is_trusted(event: event) -> Bool

사용자 발생 이벤트 여부

pub fn key(event: event) -> String

키보드 이벤트의 키 값

pub fn keyboard_get_modifier_state(
  event: KeyboardEvent,
  key: String,
) -> Bool

키보드 이벤트에서 modifier 키 상태 확인

pub fn locale(event: KeyboardEvent) -> String

키보드 로케일 (브라우저 지원 제한적)

pub fn location(event: KeyboardEvent) -> Int

키 위치 (0=표준, 1=좌측, 2=우측, 3=넘패드)

pub fn meta_key(event: KeyboardEvent) -> Bool
pub fn mouse_alt_key(event: MouseEvent) -> Bool

마우스 이벤트 Alt 키 상태

pub fn mouse_ctrl_key(event: MouseEvent) -> Bool

마우스 이벤트 Ctrl 키 상태

pub fn mouse_meta_key(event: MouseEvent) -> Bool

마우스 이벤트 Meta 키 상태

pub fn mouse_related_target(event: MouseEvent) -> dynamic.Dynamic
pub fn mouse_shift_key(event: MouseEvent) -> Bool

마우스 이벤트 Shift 키 상태

pub fn movement_x(event: MouseEvent) -> Float
pub fn movement_y(event: MouseEvent) -> Float
pub fn native_event(event: event) -> dynamic.Dynamic

네이티브 브라우저 이벤트 객체

pub fn offset_x(event: MouseEvent) -> Float
pub fn offset_y(event: MouseEvent) -> Float
pub fn on(
  event_name: String,
  handler: fn(Event) -> Nil,
) -> attribute.Attribute

범용 이벤트 핸들러 (escape hatch)

pub fn on_abort(handler: fn(Event) -> Nil) -> attribute.Attribute
pub fn on_abort_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_animation_end(
  handler: fn(AnimationEvent) -> Nil,
) -> attribute.Attribute
pub fn on_animation_end_capture(
  handler: fn(AnimationEvent) -> Nil,
) -> attribute.Attribute
pub fn on_animation_iteration(
  handler: fn(AnimationEvent) -> Nil,
) -> attribute.Attribute
pub fn on_animation_iteration_capture(
  handler: fn(AnimationEvent) -> Nil,
) -> attribute.Attribute
pub fn on_animation_start(
  handler: fn(AnimationEvent) -> Nil,
) -> attribute.Attribute
pub fn on_animation_start_capture(
  handler: fn(AnimationEvent) -> Nil,
) -> attribute.Attribute
pub fn on_aux_click(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_aux_click_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_before_input(
  handler: fn(InputEvent) -> Nil,
) -> attribute.Attribute

입력 값 변경 전 필터링

pub fn on_before_input_capture(
  handler: fn(InputEvent) -> Nil,
) -> attribute.Attribute
pub fn on_blur(
  handler: fn(FocusEvent) -> Nil,
) -> attribute.Attribute
pub fn on_blur_capture(
  handler: fn(FocusEvent) -> Nil,
) -> attribute.Attribute
pub fn on_can_play(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_can_play_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_can_play_through(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_can_play_through_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_cancel(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_cancel_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_change(
  handler: fn(ChangeEvent) -> Nil,
) -> attribute.Attribute
pub fn on_change_capture(
  handler: fn(ChangeEvent) -> Nil,
) -> attribute.Attribute
pub fn on_click(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_click_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_close(handler: fn(Event) -> Nil) -> attribute.Attribute
pub fn on_close_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_composition_end(
  handler: fn(CompositionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_composition_end_capture(
  handler: fn(CompositionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_composition_start(
  handler: fn(CompositionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_composition_start_capture(
  handler: fn(CompositionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_composition_update(
  handler: fn(CompositionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_composition_update_capture(
  handler: fn(CompositionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_context_menu(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_context_menu_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_copy(
  handler: fn(ClipboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_copy_capture(
  handler: fn(ClipboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_cut(
  handler: fn(ClipboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_cut_capture(
  handler: fn(ClipboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_double_click(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_double_click_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_capture(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_end(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_end_capture(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_enter(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_enter_capture(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_leave(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_leave_capture(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_over(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_over_capture(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_start(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drag_start_capture(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drop(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_drop_capture(
  handler: fn(DragEvent) -> Nil,
) -> attribute.Attribute
pub fn on_duration_change(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_duration_change_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_emptied(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_emptied_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_encrypted(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute

미디어 암호화 이벤트 (DRM 콘텐츠)

pub fn on_encrypted_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_ended(handler: fn(Event) -> Nil) -> attribute.Attribute
pub fn on_ended_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_error(handler: fn(Event) -> Nil) -> attribute.Attribute

리소스 로드 실패

pub fn on_error_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_focus(
  handler: fn(FocusEvent) -> Nil,
) -> attribute.Attribute
pub fn on_focus_capture(
  handler: fn(FocusEvent) -> Nil,
) -> attribute.Attribute
pub fn on_got_pointer_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_got_pointer_capture_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_input(
  handler: fn(InputEvent) -> Nil,
) -> attribute.Attribute
pub fn on_input_capture(
  handler: fn(InputEvent) -> Nil,
) -> attribute.Attribute
pub fn on_invalid(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_invalid_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_key_down(
  handler: fn(KeyboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_key_down_capture(
  handler: fn(KeyboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_key_up(
  handler: fn(KeyboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_key_up_capture(
  handler: fn(KeyboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_load(handler: fn(Event) -> Nil) -> attribute.Attribute

img/iframe/script 로드 완료

pub fn on_load_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_load_start(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_load_start_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_loaded_data(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_loaded_data_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_loaded_metadata(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_loaded_metadata_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_lost_pointer_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_lost_pointer_capture_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_down(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_down_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_enter(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_leave(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_move(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_move_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_out(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_out_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_over(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_over_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_up(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_mouse_up_capture(
  handler: fn(MouseEvent) -> Nil,
) -> attribute.Attribute
pub fn on_paste(
  handler: fn(ClipboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_paste_capture(
  handler: fn(ClipboardEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pause(handler: fn(Event) -> Nil) -> attribute.Attribute
pub fn on_pause_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_play(handler: fn(Event) -> Nil) -> attribute.Attribute
pub fn on_play_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_playing(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_playing_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_cancel(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_cancel_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_down(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_down_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_enter(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_leave(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_move(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_move_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_out(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_out_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_over(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_over_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_up(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_pointer_up_capture(
  handler: fn(PointerEvent) -> Nil,
) -> attribute.Attribute
pub fn on_progress(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_progress_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_rate_change(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_rate_change_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_reset(
  handler: fn(FormEvent) -> Nil,
) -> attribute.Attribute
pub fn on_reset_capture(
  handler: fn(FormEvent) -> Nil,
) -> attribute.Attribute
pub fn on_resize(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_resize_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_scroll(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_scroll_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_seeked(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_seeked_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_seeking(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_seeking_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_select(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_select_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_stalled(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_stalled_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_submit(
  handler: fn(FormEvent) -> Nil,
) -> attribute.Attribute
pub fn on_submit_capture(
  handler: fn(FormEvent) -> Nil,
) -> attribute.Attribute
pub fn on_suspend(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_suspend_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_time_update(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_time_update_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_toggle(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_toggle_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_touch_cancel(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_touch_cancel_capture(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_touch_end(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_touch_end_capture(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_touch_move(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_touch_move_capture(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_touch_start(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_touch_start_capture(
  handler: fn(TouchEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_cancel(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_cancel_capture(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_end(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_end_capture(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_run(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_run_capture(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_start(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_transition_start_capture(
  handler: fn(TransitionEvent) -> Nil,
) -> attribute.Attribute
pub fn on_volume_change(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_volume_change_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_waiting(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_waiting_capture(
  handler: fn(Event) -> Nil,
) -> attribute.Attribute
pub fn on_wheel(
  handler: fn(WheelEvent) -> Nil,
) -> attribute.Attribute
pub fn on_wheel_capture(
  handler: fn(WheelEvent) -> Nil,
) -> attribute.Attribute
pub fn page_x(event: MouseEvent) -> Float
pub fn page_y(event: MouseEvent) -> Float
pub fn persist(event: event) -> Nil

이벤트 풀링 방지 (React 17+ 에서는 자동이지만 호환성 유지)

pub fn pointer_height(event: PointerEvent) -> Float
pub fn pointer_id(event: PointerEvent) -> Int
pub fn pointer_type(event: PointerEvent) -> String
pub fn pointer_width(event: PointerEvent) -> Float
pub fn pressure(event: PointerEvent) -> Float
pub fn prevent_default(event: event) -> Nil

기본 동작 방지

pub fn property_name(event: TransitionEvent) -> String
pub fn repeat(event: KeyboardEvent) -> Bool
pub fn screen_x(event: MouseEvent) -> Float
pub fn screen_y(event: MouseEvent) -> Float
pub fn shift_key(event: KeyboardEvent) -> Bool
pub fn stop_propagation(event: event) -> Nil

이벤트 전파 중지

pub fn tangential_pressure(event: PointerEvent) -> Float

탄젠트 압력

pub fn target(event: event) -> dynamic.Dynamic

이벤트 대상 요소

pub fn target_touches(event: TouchEvent) -> dynamic.Dynamic
pub fn target_value(event: event) -> String

input/textarea의 현재 값 추출

pub fn tilt_x(event: PointerEvent) -> Float
pub fn tilt_y(event: PointerEvent) -> Float
pub fn time_stamp(event: event) -> Float

이벤트 발생 타임스탬프 (밀리초)

pub fn touch_alt_key(event: TouchEvent) -> Bool
pub fn touch_ctrl_key(event: TouchEvent) -> Bool
pub fn touch_get_modifier_state(
  event: TouchEvent,
  key: String,
) -> Bool

터치 이벤트에서 modifier 키 상태 확인

pub fn touch_meta_key(event: TouchEvent) -> Bool
pub fn touch_shift_key(event: TouchEvent) -> Bool
pub fn touches(event: TouchEvent) -> dynamic.Dynamic
pub fn transition_elapsed_time(event: TransitionEvent) -> Float
pub fn transition_pseudo_element(
  event: TransitionEvent,
) -> String
pub fn twist(event: PointerEvent) -> Int

펜 회전 각도

pub fn view(event: UIEvent) -> dynamic.Dynamic

이벤트가 발생한 window 객체

Search Document