Sha256: ff2ad93cb978f548c1f2f3e726175abbfacaff9255008504a32a639203c8e340

Contents?: true

Size: 1.1 KB

Versions: 32

Compression:

Stored size: 1.1 KB

Contents

var Beacon = React.createClass({displayName: "Beacon",
    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(
            React.createElement("tr", null, 
                React.createElement("td", {className: "col-md-12 col-sm-12 col-xs-12"}, 
                    React.createElement("div", {className: "col-md-4 col-sm-4 col-xs-4"}, React.createElement("div", {className: "vertical-center"}, React.createElement("span", null, this.props.beacon.rid))), 

                    React.createElement("div", {className: "right"}, 
                        React.createElement("button", {type: "button", className: "btn btn-default", onClick: this.handleAddPressed}, React.createElement("span", {className: "glyphicon glyphicon-plus", "aria-hidden": "true"}))
                    )

                )
            )
        );

    }
});

Version data entries

32 entries across 32 versions & 1 rubygems

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