Multiple values to an attribute Answered

Post author
Marc Hudson

I guess this isn’t currently a feature but, would it be possible to include multiple values to an attribute, for example: data-ms-content="standard|pro" or perhaps data-ms-content="standard,pro". Maybe even better to include conditional values: data-ms-content="standard||pro" (for OR statements) and data-ms-content="standard&&pro" (for AND statements). I’ve just found a scenario where I’m having to include the same widget on the page twice so that I can include two different attribute values for standard and pro.

Thanks

Comments

1 comment

Please sign in to leave a comment.