siQtheme siQ
3
  • View All Alerts
  • New user registered Just now
  • New event created 5 min ago
  • Report ready to download 1 day ago
  • Bill payment reminder 1 day ago
  • Staff meeting 3 days ago
7
  • View All Messages
  • 24h ago Pear Appleton
    Staff meeting on Tuesday at 4PM, remember to set date
  • 2h ago siQuang Humbleman
    RE: Remember to generate PNL for October
  • 3d ago Lemony Tang
    Appointment with lawyer, better call Saul!
  • 4d ago siQuang Humbleman
    Theme designed by siQuang for siQthemes
  • Categories
  • Dashboard
  • Components
    • Date & Time
    • Bootstrap Toggle
  • UI Elements
    • Typography
    • Colors
    • Fontawesome Icons
    • Themify Icons
    • Buttons
    • Cards
    • Modals
    • Toastr Notifications
  • Tables
    • Basic Tables
    • Datatables
  • Forms
    • Form Control
    • CKEditor
      • Inline
      • Classic
      • Balloon
      • Balloon Block
      • Document
  • Charts
    • Apex Charts
    • amCharts
    • Morris Charts
    • Flot Charts
  • Extra
  • Pages
    • Login
  • Multi-Levels Menu
    • Tier 1
      • Level 2
      • Level 2
    • Submenu
    • Submenu
  • Documentation New
  • Calendar New
  • Github/siQtheme
  1. Dashboard
  2. Components
  3. Bootstrap Toggle
Bootstrap 4 Toggle (Switches)
  • Bootstrap 4 Toggle is a jQuery plugin/widget that converts plain checkboxes into responsive toggle switch buttons. Project was forked from original Bootstrap Toggle by Min Hur at http://www.bootstraptoggle.com/

    For more information and documentation on Bootstrap 4 Toggle visit https://gitbrent.github.io/bootstrap4-toggle/

  • Default Switches

    Simply add data-toggle="toggle" to convert checkboxes into toggles.

    Outline Switches

    data-onstyle="outline-*" and data-offstyle="outline-*"

    Sizes

    Apply size to switch with data-size="lg", data-size="sm", data-size="xs"

    Custom Sizes

    Apply custom sizes with data-width and data-height options.

    Custom Text

    Apply text to switch with data-on and data-off

    HTML, Icons, Images

    You can easily add icons or images since html is supported for on/off text.

    Multiple Lines of Text

    Toggles with multiple lines will adjust its heights.

    Stacked Switches

    Wrap checkboxes in .form-check for stackable switches.

    Inline Switches

    Add the .form-check-inline class to the .form-check wrapper for inline switches. Use data-style="mr-*" for spacing between switch.

    Animation Speed

    Apply data-style="speed-slow" or data-style="speed-fast" option for animation speed.

  • Options

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-on="Enabled".

    Name Type Default Description
    on string|html "On" Text of the on toggle label.
    off string|html "Off" Text of the off toggle label.
    onstyle string "primary" Style of the on toggle.
    offstyle string "light" Style of the off toggle.
    size string null Size of the toggle. If set to null, button is default/normal size.
    Possible values are: lg, sm, xs
    style string null Appends the provided value to the toggle's class attribute. Use this to apply custom styles to the toggle.
    width integer null Sets the width of the toggle.
    If set to null, width will be calculated.
    height integer null Sets the height of the toggle.
    If set to null, height will be calculated.
    Methods

    Methods can be used to control toggles directly.

    Method Example Description
    initialize $('#toggle-demo').bootstrapToggle() Initializes the toggle plugin with options
    destroy $('#toggle-demo').bootstrapToggle('destroy') Destroys the toggle
    on $('#toggle-demo').bootstrapToggle('on') Sets the toggle to 'On' state
    off $('#toggle-demo').bootstrapToggle('off') Sets the toggle to 'Off' state
    toggle $('#toggle-demo').bootstrapToggle('toggle') Toggles the state of the toggle
    enable $('#toggle-demo').bootstrapToggle('enable') Enables the toggle
    disable $('#toggle-demo').bootstrapToggle('disable') Disables the toggle
    Event Propagation

    Note All events are propagated to and from input element to the toggle. You should listen to events from the <input type="checkbox"> directly rather than look for custom events.

    $('#toggle-event').change(function() { //Do something } );

siQtheme License Github siQtheme NPM siQtheme

Copyright © 2019-2020 siQtheme by 3M Square. All rights reserved.

  • Profile
  • Settings
  • Help

User Panel

siQuang Humbleman Log-Out
  • My Theme
  • My Profile
  • Messages 4
    image
    Today 3:30 pm
    Lorem ipsum dolor sit amet, consectetur adipisicing elit.
    image
    Today 12:45 pm
    Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip aute irure dolor in.
    image
    Yesterday 5:20 pm
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    image
    Tuesday 2:20 pm
    Sunt in culpa qui officia deserunt mollit anim est laborum voluptate.
  • Upcoming Events

    for Monday - February 25, 2019

    Schedule Events
    All-day Project concept
    10:00 am Staff meeting
    2:50 pm Send out report
    4:30 pm Appointment with Tang

Settings

Application Settings Log-Out
  • User Settings
    Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  • Notifications
  • Dashboard Graphs
  • Get Daily Feed
  • Global Settings
    Global settings are only accessible by a super administrator or admin group. These settings control the application globally.
  • Show Subscription
  • SMTP Server
    SMTP
  • Send Out Daily Report
  • Send Daily Cron Report
  • Backup Database Daily

Help

Frequently Asked Questions Log-Out

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.