{"size": 696, "ext": "js", "max_stars_repo_path": "src/elements/accelerometer.js", "max_stars_repo_name": "frc-web-components/components", "max_stars_repo_stars_event_min_datetime": "2022-01-16T19:42:54.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-16T19:42:54.000Z", "max_issues_repo_path": "src/elements/accelerometer.js", "max_issues_repo_name": "frc-web-components/components", "max_issues_repo_issues_event_min_datetime": "2022-01-18T19:18:42.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-18T19:18:42.000Z", "max_forks_repo_path": "src/elements/accelerometer.js", "max_forks_repo_name": "frc-web-components/components", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 30.2608695652, "max_line_length": 81, "alphanum_fraction": 0.6738505747}
import NumberBar from '../../general/number-bar';

export const elementName = 'frc-accelerometer';

export const elementConfig = {
  properties: {
    value: { type: Number, primary: true },
    max: { type: Number, defaultValue: 1 },
    min: { type: Number, defaultValue: -1 },
    center: { type: Number },
    precision: { type: Number, defaultValue: 2 },
    hideText: { type: Boolean, attribute: 'hide-text' },
    numTickMarks: { type: Number, defaultValue: 3, attribute: 'num-tick-marks' },
    unit: { type: String, defaultValue: 'g' },
  }
};

class Accelerometer extends NumberBar {
  static properties = elementConfig.properties;
}

customElements.define(elementName, Accelerometer);
