We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
From materialize official page:
$('.pushpin-demo-nav').each(function() { var $this = $(this); var $target = $('#' + $(this).attr('data-target')); $this.pushpin({ top: $target.offset().top, bottom: $target.offset().top + $target.outerHeight() - $this.height() }); });
Is such logic possible right now with the [materialize] and [materializeParams] inputs ?
[materialize]
[materializeParams]
More precisely, is that possible to pass bottom: $target.offset().top + $target.outerHeight() - $this.height() in the materializeParams ?
bottom: $target.offset().top + $target.outerHeight() - $this.height()
Regards
The text was updated successfully, but these errors were encountered:
The obvious answer is, yes. Using # to name this and target elements from the template and then pass the values to materializeParams.
#
this
target
materializeParams
Sorry, something went wrong.
Hi, would you mind showing that last part? I didn't get the Using # to name this
Using # to name this
No branches or pull requests
Hi
From materialize official page:
Is such logic possible right now with the
[materialize]
and[materializeParams]
inputs ?More precisely, is that possible to pass
bottom: $target.offset().top + $target.outerHeight() - $this.height()
in the materializeParams ?Regards
The text was updated successfully, but these errors were encountered: