Git Product home page Git Product logo

angular-bootstrap-affix's Introduction

Hi ๐Ÿ‘‹, I'm Sam

A passionate full-stack developer specialized in Angular/Dotnet/Kubernetes.

maxisam

  • ๐ŸŒฑ Iโ€™m currently learning go/kubernetes/python

Connect with me:

szchyuanlin 667767

Languages and Tools:

angular csharp elasticsearch go graphql java javascript jest kafka kubernetes linux mongodb mssql nodejs python rabbitMQ redux tailwind typescript

maxisam

ย maxisam

angular-bootstrap-affix's People

Contributors

atefbb avatar ddeme avatar maxisam avatar mgcrea avatar mryarbles avatar sailias avatar triggernz avatar tui-hell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-bootstrap-affix's Issues

Affix destroy method

I can able to destroy affix by using
[Working Fine]
$(window).off('.affix');
$([selector]).removeData('affix').removeClass('affix affix-top affix-bottom');

But, unable to enable affix for same element
[Not working]
$(window).on('.affix');
$([selector]).affix({
offset: {
top: function () {
return $([selector]).position().top;
}
}
});

Is there any specific way to destroy/disable affix for specific element ?
Thanks in advance.

Affix does not preserve width

Block loses width when affix is set.
I was trying to use this module instead of angular-strap, its smaller and does exactly what I need without a bunch of other dependencies, but I got this problem that is not happening in angular-strap.
I have a requirement to affix a lot of block, some of them in the same page and is an additional effort to set width in specific CSS classes.

Can this be considered an improvement?

Missing mgcrea.jquery dependency

When trying to run this plugin, this error appears:

Failed to instantiate module mgcrea.bootstrap.affix due to: Error: [$injector:modulerr] Failed to instantiate module mgcrea.jquery due to: Error: [$injector:nomod] Module 'mgcrea.jquery' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

There has previously been the same issue opened, however the method to resolve goes against how a plugin should work. It also did not resolve my error, and caused issues with other packages I have installed.

I have attempted to install mcgrea.jquery which failed to resolve my woes.

Please, if you could, resolve this issue. It looks like a great package, one i'd rather not modify if I can avoid doing so.

Thank you.

missing dependencies ?

i have this error when I install the script using bower :

 Failed to instantiate module mgcrea.bootstrap.affix due to:
Error: [$injector:modulerr] Failed to instantiate module mgcrea.jquery due to:
Error: [$injector:nomod] Module 'mgcrea.jquery' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Pure Angular?

Hi,

Is angular-jquery a necessary dependency? Many of us will already have Jquery installed and working with angular.

thanks,
Adam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.