Hi there, In the [core-header-panel component](https://github.com/Polymer/core-header-panel/blob/master/core-header-panel.html#L76), the following syntax is used: ``` <div id="mainContainer" flex?="{{mode !== 'cover'}}" on-scroll="{{scroll}}"> <content id="mainContent" select="*"></content> </div> ``` Is the `?=` part of the web component standard or is it polymer specific? Cheers, Jun
Activity
addyosmani commentedon Jul 21, 2014
flex?=is Polymer specific to the best of my knowledge. See https://github.com/Polymer/TemplateBinding/blob/master/tests/tests.js#L928 for our unit tests around the feature.jmatsushita commentedon Jul 21, 2014
Thanks! Hopefully it won't be too much of an obstacle to convince html parser authors (@kangax) to allow for it.
ebidel commentedon Jul 21, 2014
Docs are here:
http://www.polymer-project.org/docs/polymer/binding-types.html#conditional-attributes
On Mon, Jul 21, 2014 at 1:59 AM, Jun Matsushita notifications@github.com
wrote:
ebidel commentedon Jul 30, 2014
Closing as this is not a bug.