05-31-2018 22:41
05-31-2018 22:41
Right now I'm using a square button in my UI with an inline text and textarea. I'm using a square button compared to a push button because the square button fills on a touch event. I just don't know how to access the stroke attribute of the button.
This is what that button looks like right now:
<use id="articleButton" href="#square-button" y="0" height="140" fill="fb-magenta">
<set href="square-button-stroke" attributeName="display" to="off"/>
<textarea id="articleTitle" x="7" y="10" font-family="Fabrikat-Bold"
font-size="30" line-increment="35"
fill="white">An effortless way to improve your memory</textarea>
<text id="articleSource" x="7" y="110" font-size="25" fill="grey">www.bbc.com</text>
</use>But "square-button-stroke" is an invalid value. What's the href and attributeName inside the square button widget I would need to set so I can turn off the stroke of the button? Thanks.
Answered! Go to the Best Answer.
Best Answer06-01-2018 10:48
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-01-2018 10:48
The stroke is made with an image which has an id of "stroke" and a class name of "square-button-stroke-fill".
Maybe
<set href="#stroke" attributeName="display" to="none" />
Best Answer06-01-2018 10:48
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-01-2018 10:48
The stroke is made with an image which has an id of "stroke" and a class name of "square-button-stroke-fill".
Maybe
<set href="#stroke" attributeName="display" to="none" />
Best Answer