Skip to content

Added Font & Font Weight Support#100

Closed
kylestetz wants to merge 1 commit intoaterrien:masterfrom
kylestetz:master
Closed

Added Font & Font Weight Support#100
kylestetz wants to merge 1 commit intoaterrien:masterfrom
kylestetz:master

Conversation

@kylestetz
Copy link

I added font and fontWeight parameters to the defaults, pointing them to data attributes following your pattern.

You can add data-font='Helvetica' and data-font-weight='bold' in the HTML tag or pass it into the knob in Javascript: $('.knob').knob({ font: 'Helvetica', fontWeight: 'bold' })

@asnyder
Copy link

asnyder commented Sep 1, 2013

Why hasn't this been merged? Specifying fonts, and font-weight is important. Size is pretty important too. Should be able to take in a class to be honest. Very odd.

aterrien pushed a commit that referenced this pull request Sep 2, 2013
aterrien pushed a commit that referenced this pull request Sep 2, 2013
@aterrien aterrien closed this Sep 2, 2013
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.

3 participants

Comments