Nervously Proposing Marriage

    @redsift/d3-rs-tspan-wrap

    0.1.0 • Public • Published

    d3-rs-tspan-wrap

    d3-rs-tspan-wrap is a component for breaking up text into tspans in a Text container.

    Builds

    Circle CI

    Example

    View @redsift/d3-rs-tspan-wrap on Codepen

    Usage

    Browser

    <script src="//static.redsift.io/reusable/d3-rs-tspan-wrap/latest/d3-rs-tspan-wrap.umd-es2015.min.js"></script>
    <script>
    	var text = d3_rs_tspan_wrap.text();
    	...
    </script>
    

    ES6

    import { text } from "@redsift/d3-rs-tspan-wrap";
    let eml = text.text();
    ...
    

    Require

    var text = require("@redsift/d3-rs-tspan-wrap");
    var eml = text.text();
    ...
    

    Data

    Data can either be provided in the text node element itself or bound to the selection.

    Parameters

    Name Description Transition
    classed SVG custom class N

    Install

    npm i @redsift/d3-rs-tspan-wrap

    DownloadsWeekly Downloads

    9

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • luminous_cal
    • notmentat
    • pierredupuis
    • hortega_rs
    • alim-scott
    • anneshackelford
    • jrivaxrs
    • mcolladoredsift
    • redsift_operations
    • raul.lorenzo.redsift
    • rahulpowar
    • randalpinto
    • njaremek
    • earada
    • jordanw7
    • jmiralles
    • nascimj
    • kitty_vandergijp
    • neilsaccardo
    • bmayolasredsift