New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

auto-full-screen

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-full-screen

shift + enter快捷键,切换全屏

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

全屏控制

shift + enter快捷键,切换全屏

安装

npm i viz-full-screen

使用

import { PureComponent } from 'react';
import {addFullScreenEvent, removeFullScreenEvent} from 'viz-full-screen';

class MyLayout extends PureComponent {

  componentDidMount() {
    addFullScreenEvent();
  }

  componentWillUnmount() {
    removeFullScreenEvent();
  }

  render() {
    return <div>内容</div>;
  }
}

export default MyLayout;

FAQs

Package last updated on 24 Sep 2021

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