CSMJU jQuery Mobile

เมนู
ถัดไป ก่อนหน้า

3.5 Form Elements

     g. Flip toggle switch

    ใช้สำหรับ การกรอกข้อมูลที่มีให้เลือกสองข้อมูล เช่น ปิด/เปิด,ใช่/ไม่ใช่,ถูก/ผิด

CD ไฟล์: form-switch.html

Label ที่มีข้อมูลยาวขึ้น

CD ไฟล์: form-switch.html

Mini version

การจัดกลุ่ม element ใน fieldcontain

CD ไฟล์: form-switch.html

Theme switch

CD ไฟล์: form-switch.html

การเพิ่ม attribute data-track-theme

CD ไฟล์: form-switch.html

การเรียกใช้ switch plugin

ตัวอย่าง

$('select').slider();