Sha256: 079c23b16d060ef0aefc3baa19deb9200c43669f0295cf53182e6f5df513cb36

Contents?: true

Size: 832 Bytes

Versions: 19

Compression:

Stored size: 832 Bytes

Contents

<dt ng-if="row.value.length == 1">Value</dt>
<dt ng-if="row.value.length < 5 && row.value.length > 1">Possible values</dt>
<dt ng-if="row.value.length >= 5">
  Possible values (<a ng-init="row.isCollapsed = true" ng-click="row.isCollapsed = !row.isCollapsed">{{row.isCollapsed? 'show' : 'hide'}}</a>)
  </dt>
</dt>

<dd ng-if="row.value.length == 1"><code>{{row.value[0]}}</code> (this field will always hold this value)</dd>
<dd ng-if="row.value.length > 1">
  <div ng-class="{hide: !row.isCollapsed || row.value.length < 5}">{{row.value.slice(0, 4).join(', ')}}, <a ng-init="row.isCollapsed = true" ng-click="row.isCollapsed = !row.isCollapsed">and {{row.value.length - 4}} more</a>.</div>
  <ul ng-class="{hide: row.isCollapsed && row.value.length >= 5}">
    <li ng-repeat="v in row.value"><code>{{v}}</code></li>
  </ul>
</dd>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
praxis-2.0.pre.9 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.8 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.7 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.6 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.5 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.4 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.3 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.2 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-2.0.pre.1 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.22.pre.2 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.22.pre.1 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.21 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.20.1 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.20.0 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.19.0 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.18.1 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.18.0 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.17.1 lib/api_browser/app/views/directives/attribute_description/values.html
praxis-0.17.0 lib/api_browser/app/views/directives/attribute_description/values.html