
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ovh-angular-responsive-page-switcher
Advanced tools
It detects available width for displaying page in 2 distinct modes
ovh-angular-responsive-page-switcher
module is a set of 2 directives (responsive-switch
andresponsive-switch-page
) that enable to display content like pages.
It detects available width for displaying page in 2 distinct modes :
switch
mode : one page is displayed at a time ;sidebyside
mode : pages are displayed side by side.ovh-angular-responsive-page-switcher
module depends on different modules :
Note : ovh-angular-responsive-page-switcher
is suitable with ovh-angular-responsive-popover.
$ bower install ovh-angular-responsive-page-switcher --save
This will also download the dependencies.
In your less file, import the ovh-angular-responsive-page-switcher.less file located in dist/less folder :
@import "dist/less/ovh-angular-responsive-page-switcher.less";
Load the module script, its dependencies and your app file :
<script src="jquery.js" type="text/javascript"></script>
<script src="angular.js" type="text/javascript"></script>
<script src="angular-animate.js" type="text/javascript"></script>
<script src="matchmedia-ng.js" type="text/javascript"></script>
<script src="ovh-angular-responsive-page-switcher.js" type="text/javascript"></script>
<script src="your-app.js" type="text/javascript"></script>
Load the module in your application by adding it as a dependent module :
angular.module('app', ['ovh-angular-responsive-popover']);
Directives responsive-switch
and responsive-switch-page
will be used. responsive-switch-page
requires responsive-switch
, so first we create this directive :
<div data-responsive-switch>
<div data-responsive-switch-page class="responsive-switch-page-left"></div>
<div data-responsive-switch-page class="responsive-switch-page-right"></div>
</div>
You can run a sample example after git cloning the project by running these commands :
$ npm install
$ bower install
$ grunt serve
The example is now running at http://localhost:7711/example/
.
Name | Description |
---|---|
responsiveSwitch | Create the container of the page to switch (animate) and manage the display |
responsiveSwitchPage | Create a page to display |
You've developed a new cool feature ? Fixed an annoying bug ? We'd be happy to hear from you !
Have a look in CONTRIBUTING.md
$ npm test
See https://github.com/ovh-ux/ovh-angular-responsive-page-switcher/blob/master/LICENSE
FAQs
It detects available width for displaying page in 2 distinct modes
We found that ovh-angular-responsive-page-switcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.