fullscreen

API Methods

setState

Attribute Names

data-state

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

        Semantic SVG

        data-state

        Toggles between its enter and exit states

        • enter

          <img data-state="enter" data-src="fullscreen.svg" class="iconic" alt="fullscreen" />
          
        • exit

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

        Options/Examples

        setState(state)

        enter
        exit

        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="fullscreen-enter" title="fullscreen enter" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-fullscreen-enter" title="fullscreen enter" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-fullscreen-enter" title="fullscreen enter" aria-hidden="true"></span>
        
        • fullscreen-enter

        • fullscreen-exit

        was copied for yah