1.2.0 • Published 11 months ago

minmatar-shipfit v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Ship Fit - A Web Component for Eve Fittings

Overview

A web component to render a visual representation of an EFT format fit for Eve Online.

Forked from https://github.com/souptheloop/shipfit

Examples

Setup

Using the published bundle from unpkg

<script src="https://unpkg.com/minmatar-shipfit@1.2.0/dist/index.umd.min.js"></script>
<ship-fit>
[Revelation, Revelation]
Capital I-a Enduring Armor Repairer
Corpum A-Type Multispectrum Energized Membrane
Corpum A-Type Multispectrum Energized Membrane
Domination Tracking Enhancer
Imperial Navy Heat Sink
[Empty Low Slot]
Imperial Navy Heat Sink
Reactive Armor Hardener

Capital Capacitor Booster I
Heavy Stasis Grappler II
Shadow Serpentis Tracking Computer,Tracking Speed Script
Tracking Computer II,Tracking Speed Script

Abyssal Siege Module
Corpus X-Type Heavy Energy Neutralizer
Quad Mega Pulse Laser II,Conflagration XL
Quad Mega Pulse Laser II,Conflagration XL
Quad Mega Pulse Laser II,Conflagration XL

Capital Energy Ambit Extension I
Capital Energy Ambit Extension I
Capital Energy Burst Aerator II
</ship-fit>

Configuration Options

The component supports the following HTML attributes

AttributeDefaultDescription
hide-copynot setHides the copy fitting button when set
hide-chargesnot setHides the charges inner ring
remove-classundefinedClass to remove once the fitting ring is loaded

Caveats

  • If you use this in an environment where the fitting input is untrusted, you should ensure that input has been sanitized for XSS and other script injection / vulnerabilities before it is placed into this component.
1.2.0

11 months ago

1.1.1

11 months ago