Skip to content

picker control cross-referencing#16

Open
ackspony wants to merge 1 commit intoEastDesire:masterfrom
ackspony:patch-1
Open

picker control cross-referencing#16
ackspony wants to merge 1 commit intoEastDesire:masterfrom
ackspony:patch-1

Conversation

@ackspony
Copy link

@ackspony ackspony commented Apr 6, 2017

The purposes of these changes are to facilitate different ways of manipulating / customizing the color picker control by CSS.

  1. Set the class name 'jscolor-picker-control' in the picker control wrap so it can be targeted in CSS.

  2. Generate a handle for picker instance and save it in the 'data-picker-handle' attribute in both the picker control wrap and callee for cross-reference.

  3. Save the input element's "id" attribute in the 'data-picker-input-id' attribute, (should it have the "id" attribute) for cross-reference.

  4. Save the input element's "class" attribute in the 'data-picker-input-class' attribute, (should it have the "class" attribute) for cross-reference.

The purposes of these changes are to facilitate different ways of manipulating / customizing the color picker control by CSS.

1. Set the class name 'jscolor-picker-control' in the picker control wrap so it can be targeted in CSS. 

2. Generate a handle for picker instance and save it in the 'data-picker-handle' attribute in both the picker control wrap and callee for cross-reference.

3. Save the input element's "id" attribute in the 'data-picker-input-id' attribute, (should it have the "id" attribute) for cross-reference. 

4. Save the input element's "class" attribute in the 'data-picker-input-class' attribute, (should it have the "class" attribute) for cross-reference.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant