Sha256: 46511d4b6e3ab5a046faf106ef5106bb7b79131f8d46e81addfcf366c0605160
Contents?: true
Size: 428 Bytes
Versions: 28
Compression:
Stored size: 428 Bytes
Contents
module Preact module Component class Params include Native::Wrapper def method_missing(prop, *args, &block) %x{ const p = #@native; if (typeof p[prop] === 'undefined') { prop = Opal.Preact.lower_camelize(prop); if (typeof p[prop] === 'undefined') { return nil; } } return p[prop]; } end end end end
Version data entries
28 entries across 28 versions & 1 rubygems