Socket
Book a DemoInstallSign in
Socket

@visual-framework/embl-conditional-edit

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visual-framework/embl-conditional-edit

embl-conditional-edit component

1.0.0-alpha.8
npmnpm
Version published
Weekly downloads
336
-20.19%
Maintainers
2
Weekly downloads
 
Created
Source

npm version

About

Edit and configuration buttons often point to separate domain where the login stat of a user cannot be known, so this is a simple JavaScript method to enable links that point to edit and configuration pages.

Currently supported methods:

  • URL param: ?embl-conditional-edit=enabled or ?embl-conditional-edit=1
  • CSS cascaded: embl-coditional-edit__enabled .embl-conditional-edit { display: unset; }

Note: this method is not about hiding the a URL from a user being able to see the link, rather it simply hides or shows a link based off a parameter.

Install

This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install primer-buttons with this command.

$ yarn add --dev @visual-framework/embl-conditional-edit

Usage

The source files included are written in [Sass][sass] (scss) You can simply point your sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/embl-conditional-edit/index.scss";

Make sure you import Sass requirements along with the modules.

Keywords

fractal

FAQs

Package last updated on 23 Oct 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.