Skip to content

Change data-on/off text/label with .bootstrapToggle('disable') / ('enable') #227

@neandr

Description

@neandr

Looking for a method to change the data label also when disable/enable a toggle button.
Background:
Beside the usual "Disable"/"Enable" method/status which is visually only displayed with pale color, an additional app mode "Mute" is required. Even if that "Mute" is programmatically a "Disable"/"Enable" method/Status, it should show the user the status difference through other labels (e.g. ON/OFF --> On/mute and OFF/mute).
Is there an API or other method for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions