link

API Methods

setState

Attribute Names

data-state

Elements
    Properties
      Sizes
        SVG
        <img data-src="link.svg" class="iconic iconic-sm" alt="link">
        <img data-src="link.svg" class="iconic iconic-md" alt="link">
        <img data-src="link.svg" class="iconic iconic-lg" alt="link">
        
        Default Icon Font
        <span class="iconic iconic-sm" data-glyph="link-intact" title="link intact" aria-hidden="true"></span>
        <span class="iconic iconic-md" data-glyph="link-intact" title="link intact" aria-hidden="true"></span>
        <span class="iconic iconic-lg" data-glyph="link-intact" title="link intact" aria-hidden="true"></span>
        
        Bootstrap Icon Font
        <span class="iconic iconic-link-intact iconic-sm" title="link intact" aria-hidden="true"></span>
        <span class="iconic iconic-link-intact iconic-md" title="link intact" aria-hidden="true"></span>
        <span class="iconic iconic-link-intact iconic-lg" title="link intact" aria-hidden="true"></span>
        
        Foundation Icon Font
        <span class="fi-link-intact iconic-sm" title="link intact" aria-hidden="true"></span>
        <span class="fi-link-intact iconic-md" title="link intact" aria-hidden="true"></span>
        <span class="fi-link-intact iconic-lg" title="link intact" aria-hidden="true"></span>
        
        CSS

        Semantic SVG

        data-state

        Toggles between its intact and broken states

        • intact

          <img data-state="intact" data-src="link.svg" class="iconic" alt="link" />
          
        • broken

          <img data-state="broken" data-src="link.svg" class="iconic" alt="link" />
          
        Method name

        Options/Examples

        setState(state)

        intact
        broken

        Icon Font

        Iconic may be all about SVG, but it also comes with a killer font. For the full skinny, read our icon font and Bootstrap/Foundation guides.

        <!-- Default -->
        <span class="iconic" data-glyph="link-intact" title="link intact" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-link-intact" title="link intact" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-link-intact" title="link intact" aria-hidden="true"></span>
        
        • link-intact

        • link-broken

        was copied for yah