             # execute custom code after the plugin has loaded
             o.opts.onAfterLoad(_this) if $.isFunction(o.opts.onAfterLoad)
 
+        _this.getState = ->
+            state = o.el.data stateKey
+
+            return if typeof state is "undefined" then 'decompressed' else state
+
+        _this.isCompressed = ->
+            return if _this.getState() is 'compressed' then true else false
+
         _this.destroy = ->
             o.opts.onDestroy(_this) if $.isFunction(o.opts.onDestroy)
 

    pluginName = 'responsiveBreadcrumbs'
    defaults =
        allowance:              10
        compressed:
            wrapperClass: "#{ pluginName.toLowerCase() }-compressed-wrapper"
            beforeOpen:   (obj) ->

        o        = ($ el).data '_obj', {}
        _this    = this
        metadata = ($ el).data "#{ pluginName.toLowerCase() }-options"
        stateKey = "#{ pluginName.toLowerCase() }-state"

        resize =
            main: (e) ->
