I think it is permitted and it certainly works on the angularjs website
expression example.



On Wed, 16 May 2018, 15:44 necouchman, <g...@git.apache.org> wrote:

> Github user necouchman commented on a diff in the pull request:
>
>
> https://github.com/apache/guacamole-client/pull/280#discussion_r188652586
>
>     --- Diff: guacamole/src/main/webapp/app/client/templates/client.html
> ---
>     @@ -151,7 +151,12 @@ <h3>{{'CLIENT.SECTION_HEADER_DISPLAY' |
> translate}}</h3>
>                          <div class="content">
>                              <div id="zoom-settings">
>                                  <div ng-click="zoomOut()"
> id="zoom-out"><img src="images/settings/zoom-out.png" alt="-"/></div>
>     -                            <div
> id="zoom-state">{{formattedScale()}}%</div>
>     +                            <div class="zoom-ctrl">
>     +                                <input type="number"
> class="zoom-ctrl" guac-zoom-ctrl
>     +
> ng-model="client.clientProperties.scale"
>     +                                        ng-model-options="{ updateOn:
> 'blur submit' }"
>     +                                        ng-change="zoomSet();" />%
>     --- End diff --
>
>     Old (bad?) JavaScript habits. Removed.
>
>
> ---
>

Reply via email to