Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dialogClass is type of FluentAssignMethod<BootstrapModalSize, this> #205

Closed
bittergeek opened this issue Sep 26, 2016 · 1 comment
Closed

Comments

@bittergeek
Copy link

In BSModalContextBuilder, dialogClass is type of FluentAssignMethod<BootstrapModalSize, this> while size is type of FluentAssignMethod<string, this>. This looks wrong. I'm getting compilation error trying to set a custom class on the dialog:

this.modal.prompt()
      .size('lg')
      .isBlocking(true)
      .keyboard(27)
      .dialogClass('modal-dialog')
      .title(title)
      .body(message)
      .open().then(this.setFocus);
@bittergeek bittergeek changed the title dialogClass us type of FluentAssignMethod<BootstrapModalSize, this> dialogClass is type of FluentAssignMethod<BootstrapModalSize, this> Sep 26, 2016
@shlomiassaf
Copy link
Owner

Yes, you are right!!! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants