Skip to content

Feature Request: Specify a width of the toast #67

@TreyWW

Description

@TreyWW

I believe there should be a few inbuilt widths:

  • full
  • small (default)
  • half
  • number (this would be a custom amount the user specifies in px) eg 100 or "100px"
  • percentage (this would be a custom amount the user specifies in %) eg "100%"

An example:

$.toast({
    heading: 'Testing',
    text: `This is a width test half`,
    width: 'half'
})

$.toast({
    heading: 'Testing',
    text: `This is a width test full`,
    width: 'full'
})```

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