Skip to content
Related Articles

Related Articles

jQuery Mobile Flipswitch Widget corners Option

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 24 Jun, 2021

jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops.
In this article, we will be using jQuery Mobile Flipswitch Widget corners Option to set the corner of border-radius. It accepts boolean type value and its default value is true.


$( ".selector" ).flipswitch({
    corners: boolean

CDN Link: First, add jQuery Mobile scripts needed for your project.

<link rel=”stylesheet” href=”//”>
<script src=”//”></script>
<script src=”//”></script>




<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <meta name="viewport" content=
        "width=device-width, initial-scale=1">
    <link rel="stylesheet" href=
    <script src=
    <script src=
        $(document).ready(function () {
                corners: false
    <div data-role="page" id="page1">
        <div data-role="header">
            <h3>jQuery Mobile Flipswitch Widget corners Option</h3>
        <div class="ui-field-contain">
                <div data-role="fieldcontain">
                        <label for="GFG">
                            Flipswitch Checkbox:
                        <input type="checkbox" id="GFG" 


Flipswitch checkbox corners set to false

Note: In the above code, if the corners option is set to true, then we get the following output. You can notice the difference in the corners of flipswitch checkbox.


Flipswitch checkbox corners set to true


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!