Sha256: 6a5e4573541ab2e24a70ca312f79ce558770bcf95df7f81edb4dc9cab223f8c7

Contents?: true

Size: 927 Bytes

Versions: 32

Compression:

Stored size: 927 Bytes

Contents

var Beacon = React.createClass({
    componentDidMount: function () {

    },
    handleAddPressed: function() {
        var resource = {rid: this.props.beacon.rid, type: "DYNAMIC", model: "IBEACON", proximity: {}};

        this.props.addResource(resource);
        this.props.updateResource(resource);
    },
    render: function () {
        var self = this;

        return(
            <tr>
                <td className="col-md-12 col-sm-12 col-xs-12">
                    <div className="col-md-4 col-sm-4 col-xs-4"><div className="vertical-center"><span>{this.props.beacon.rid}</span></div></div>

                    <div className="right">
                        <button type="button" className="btn btn-default" onClick={this.handleAddPressed}><span className="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
                    </div>

                </td>
            </tr>
        );

    }
});

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
nutella_framework-0.7.3 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.7.2 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.7.1 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.7.0 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.21 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.20 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.19 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.18 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.17 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.16 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.15 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.13 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.12 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.11 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.10 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.9 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.8 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.7 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.6 framework_components/room-places-interface/js/react/src/beacon.js
nutella_framework-0.6.5 framework_components/room-places-interface/js/react/src/beacon.js