• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

naver / egjs-flicking / 3599850031

pending completion
3599850031

push

github

malangfox
chore(release): merge 4.10.4-rc

4436 of 7203 branches covered (61.59%)

Branch coverage included in aggregate %.

8201 of 8758 relevant lines covered (93.64%)

136.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

52.63
/packages/react-flicking/src/react-flicking/NonStrictPanel.tsx
1
/*
2
 * Copyright (c) 2015 NAVER Corp.
3
 * egjs projects are licensed under the MIT license
4
 */
5
import * as React from "react";
5✔
6
import { findDOMNode } from "react-dom";
5✔
7

8
class NonStrictPanel extends React.Component<{ children?: React.ReactElement }> {
5!
9
  private _hide: boolean = false;
×
10

11
  public get nativeElement() { return findDOMNode(this) as HTMLElement; }
5✔
12
  public get rendered() { return !this._hide; }
5✔
13

14
  public render() {
5✔
15
    return this._hide
×
16
      ? <></>
17
      : this.props.children;
18
  }
19

20
  public show() {
5✔
21
    this._hide = false;
×
22
  }
23

24
  public hide() {
5✔
25
    this._hide = true;
×
26
  }
27
}
5✔
28

29
export default NonStrictPanel;
5✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc