Sha256: b6117c615762cbf6e9c3cdb1c1ab95fad2a3d24e629fc6e812edc632b697a4b9
Contents?: true
Size: 608 Bytes
Versions: 8
Compression:
Stored size: 608 Bytes
Contents
Lanes.React.Mixins.RelayEditingState = { childContextTypes: recordDisplay: React.PropTypes.oneOf( ['edit', 'display'] ) writable: React.PropTypes.bool readonly: React.PropTypes.bool getChildContext: -> context = {} context.recordDisplay = if @props.editOnly or @state.isEditing then 'edit' else 'display' if @props.readonly? context.readonly = @props.readonly if @props.writable? context.writable = @props.writable context setModelUrl: (model) -> @props.screen.model = model }
Version data entries
8 entries across 8 versions & 1 rubygems