
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
angular-float-thead
Advanced tools
angular-floatThead is a very simple wrapper around the awesome floatThead library by @mkoryak
angular-floatThead is a very simple wrapper around the awesome floatThead library by @mkoryak
$ bower install angular-float-thead
This is just a wrapper over the original jQuery floatThead library, so first make sure you have the main library installed as per https://github.com/mkoryak/floatThead
Include angular-float-thead as a dependency for your app after running bower install
angular.module('myApp', ['floatThead'])
Specify float-thead
on your table element and optionally pass through a floatThead object as a parameter, eg: <table float-thead="floatTheadOptions">
Add floatTheadOptions to $scope
on your controller
$scope.floatTheadOptions = {
scrollingTop: 60,
useAbsolutePositioning: false
};
ng-model
on your table and it will watch the collection/object and call 'reflow' when the data changes.for eg:
<table float-thead="floatTheadOptions" ng-model="collectionOrObjectToWatch">
You can pass through additional attributes to the directive to modify the behaviour:
float-thead-enabled
Pass through a boolean value or scope object to enable/disable the floatThead library
You can use this to implement a toggle button or to delay the initialization of the library
<table float-thead-enabled="test.enabled" ... >
FAQs
angular-floatThead is a very simple wrapper around the awesome floatThead library by @mkoryak
The npm package angular-float-thead receives a total of 2,038 weekly downloads. As such, angular-float-thead popularity was classified as popular.
We found that angular-float-thead demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.