Socket
Book a DemoInstallSign in
Socket

mta-periodic-table

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mta-periodic-table

a periodic-table component by angular

0.4.0
latest
Source
npmnpm
Version published
Weekly downloads
9
800%
Maintainers
1
Weekly downloads
 
Created
Source

PeriodicTable

Travis (.com) GitHub npm

UI is from https://github.com/FlorianFe/Elements

Dev environment is from ng-zorro-antd

view

Quick start

$ npm install mta-periodic-table -S
// app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { MtaPeriodicTableModule } from 'mta-periodic-table';

import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MtaPeriodicTableModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Input params

@Input() isShowElDetail: boolean // 是否展示元素详情, default: true
@Input() maxSelect: number; // 最大可以选择元素的个数
@Input() canSelectElements: string[]; // 关联可以选择的元素string[],例['h', 'li', 'be']
<mta-periodic-table></mta-periodic-table>

See details

Development

$ git clone https://github.com/matai-tech/periodic-table.git
$ cd periodic-table
$ npm install
$ npm run start

FAQs

Package last updated on 15 Nov 2018

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.