Skip to content

Icon in toggle button #49

Description

@cmbankester

Is it possible to put an icon in a toggle button, something like:

$('#toggle-me').toggleButtons({
  label: {
    enabled: $("<i class='something'></i>"),
    disabled: $("<i class='something-else'></i>")
  }
});

The motivation here is font-awesome icons inside a toggle button. Any ideas?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions