glendix/react/attribute
Types
Values
pub fn auto_capitalize(value: String) -> Attribute
모바일 대문자 변환 (“none” | “sentences” | “words” | “characters”)
pub fn autocomplete(value: String) -> Attribute
pub fn content_editable(value: Bool) -> Attribute
pub fn cross_origin(value: String) -> Attribute
CORS 요청 모드 (“anonymous” | “use-credentials”)
pub fn dangerously_set_inner_html(html: String) -> Attribute
dangerouslySetInnerHTML 설정
pub fn enter_key_hint(value: String) -> Attribute
모바일 Enter 키 동작 (“enter” | “done” | “go” | “next” | “previous” | “search” | “send”)
pub fn fetch_priority(value: String) -> Attribute
리소스 로딩 우선순위 (“high” | “low” | “auto”)
pub fn input_mode(value: String) -> Attribute
가상 키보드 입력 모드 (“none” | “text” | “decimal” | “numeric” | “tel” | “search” | “email” | “url”)
pub fn placeholder(value: String) -> Attribute
pub fn popover_target_action(value: String) -> Attribute
Popover 동작 (“show” | “hide” | “toggle”)
pub fn scope(value: String) -> Attribute
테이블 헤더 범위 (“row” | “col” | “rowgroup” | “colgroup”)
pub fn shape(value: String) -> Attribute
이미지 맵 영역 형태 (“rect” | “circle” | “poly” | “default”)
pub fn style(styles: List(#(String, String))) -> Attribute
인라인 스타일 (CSS 속성명 자동 camelCase 변환)
pub fn suppress_content_editable_warning(
value: Bool,
) -> Attribute
contentEditable 경고 억제
pub fn suppress_hydration_warning(value: Bool) -> Attribute
하이드레이션 경고 억제