FLUID-4410: Allow dynamic styling of fat panel "show/hide" button

Metadata

Source
FLUID-4410
Type
Improvement
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
heidi valles
Created
2011-08-30T10:13:48.292-0400
Updated
2014-03-26T16:19:01.841-0400
Versions
  1. 1.4
Fixed Versions
N/A
Component
  1. Sliding Panel

Description

Need a way of styling the sliding panel button when open or closed (I'm trying to add up and down icons). Best way would be to wrap the strings showText and hideText with <div class="fl-toggleButton-show">text</div> and -hide

Comments

  • heidi valles commented 2011-08-30T10:14:05.935-0400

    Bug Parade Infusion

  • Anastasia Cheetham commented 2011-10-24T10:00:25.435-0400

    An alternative way to do this (as a hack until it becomes built in to the component) would be to provide listeners to "onPanel"hide" and "onPanelShow"

  • Justin Obara commented 2013-10-18T13:18:56.942-0400

    Submitted pull request https://github.com/fluid-project/infusion/pull/419

    Provided a new selector for the label. This allows the toggleButton and it's label to be separate elements. Allowing for more complex markup in the toggle button.

  • Anastasia Cheetham commented 2014-03-26T15:54:45.935-0400

    merged with the fix for FLUID-5180

  • Justin Obara commented 2014-03-26T16:18:59.084-0400

    pull request merged at 861d635d56c7546c764d23cf40e7f96e85516b17