Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
angular-bricklayer
Advanced tools
AngularJS module for bricklayer, a lightweight & independent cascading grid layout library
AngularJS module for ademilter's bricklayer, a lightweight & independent cascading grid layout library
Install via either bower, npm or downloaded files:
bower install --save angular-bricklayer
npm install --save angular-bricklayer
Include dependencies and angular-bricklayer in your HTML.
<link rel="stylesheet" href="bower_components/bricklayer/dist/bricklayer.min.css">
<script src="bower_components/bricklayer/dist/bricklayer.min.js"></script>
<script src="bower_components/angular-bricklayer/dist/angular-bricklayer.min.js"></script>
<link rel="stylesheet" href="node_modules/bricklayer/dist/bricklayer.min.css">
<script src="node_modules/bricklayer/dist/bricklayer.min.js"></script>
<script src="node_modules/angular-bricklayer/dist/angular-bricklayer.min.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bricklayer/0.4.1/bricklayer.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/bricklayer/0.4.1/bricklayer.min.js"></script>
<script src="//cdn.jsdelivr.net/angular.bricklayer/1.1.0/angular-bricklayer.min.js"></script>
<link rel="stylesheet" href="YOUR_PATH/bricklayer.min.css">
<script src="YOUR_PATH/bricklayer.min.js"></script>
<script src="YOUR_PATH/angular-bricklayer.min.js"></script>
Add jtt_bricklayer
to your application's module dependencies, like this:
angular.module('app', ['jtt_bricklayer']);
<div class="bricklayer">
<div>Your item</div>
<div>Your another item</div>
<div>Your another but long item</div>
<div>Your another but very short item</div>
<div>Your one more item</div>
<div>Your smallest item</div>
</div>
@media screen and (min-width: 1200px) {
.bricklayer-column-sizer {
/* divide by 3. */
width: 33.3%;
}
}
@media screen and (min-width: 768px) {
.bricklayer-column-sizer {
/* divide by 2. */
width: 50%;
}
}
Use bricklayer-append
or bricklayer-prepend
as attribute, class or element name inside of your bricklayer
instance
<div class="bricklayer">
<!-- append -->
<div bricklayer-append ng-repeat="item in appendData"></div>
<!-- prepend -->
<div bricklayer-prepend ng-repeat="item in prependData"></div>
</div>
MIT
FAQs
AngularJS module for bricklayer, a lightweight & independent cascading grid layout library
The npm package angular-bricklayer receives a total of 1 weekly downloads. As such, angular-bricklayer popularity was classified as not popular.
We found that angular-bricklayer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.