Stacks API Custom Control Reference - Math


(Steve H.) #1

Custom stack question…

I have adjustable height and width inputs.

I want to set a third variable based on the input of H and W.

Specifically the new variable is X = Width - (Height + 4).

How do I set this up in the pList. Is the Math the correct custom control and how would you setup the corresponding arguments and operators. Also, I don’t see ID reference under math. But, I need ID to place the result in my CSS variable that changes in relation to W and H.

Thoughts?


(Christi Carew) #2

Hi,

I think I responded directly to your email to us, but I wanted to respond here in case anyone else has a similar question.

It is best to ask developer and API questions directly to Isaiah at http://slack.yourhead.com

Christi Carew
YourHead Software
http://www.yourhead.com