MCPcopy Create free account
hub / github.com/twobin/react-lazyload / LazyLoad

Function LazyLoad

lib/index.js:242–250  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

240 _inherits(LazyLoad, _Component);
241
242 function LazyLoad(props) {
243 _classCallCheck(this, LazyLoad);
244
245 var _this = _possibleConstructorReturn(this, (LazyLoad.__proto__ || Object.getPrototypeOf(LazyLoad)).call(this, props));
246
247 _this.visible = false;
248 _this.setRef = _this.setRef.bind(_this);
249 return _this;
250 }
251
252 _createClass(LazyLoad, [{
253 key: 'componentDidMount',

Callers

nothing calls this directly

Calls 2

_classCallCheckFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…