Skip to content

override/set template by instance #127

Description

@csimpi

Hi, thank you for this awesome plugin.
I'd make a feature request, I think there should be possible to set template on instance level instead of a global configuration.
For example, I would like to use this sometimes block the site during loading, but sometimes I'd put a login form there instead of the message/loading icon.

Example:

    blockUI.start({
            message: 'My loading message',  
            state: 'California',
            template: '<div>{{message}}<span class="state">{{ state }}</span></div>'
      });

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions