Child pages
  • Provided directives, filters, services and model values

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

svy-autoapply- this is a core directive which requires angular's 'ng-model' directive alongside it.It's responability is to listen for any change (html 'change' event) from the input element applied to  and sends the changes to the corresponding property on the server.

 

svy-enter (Design, domevent:'keydown') this directive triggers the given function  when the enter key is pressed in a text input field. It does supply an $event parameter.

Code Block
svy-enter='handlers.onActionMethodID($event)'

svy-click (Design, domevent:'click') this directive triggers the given function when a mouse click is done. It does supply an $event parameter. 

Code Block
svy-click='handlers.onActionMethodID($event)'

svy-dblclick (Design, domevent:'dblclick') this directive triggers the given function when a double click happens, It does supply an $event parameter.

Code Block
svy-dblclick='handlers.onDoubleClickMethodID($event)'

svy-rightclick (Design, domevent:'contextmenu') this directive triggers the given function when a right click happens. It does supply an $event parameter.

Code Block
svy-rightclick='handlers.onRightClickMethodID($event)'

svy-focusgained (Design, domevent:'focus') this directive triggers the given function when the element receives focus. It does supply an $event parameter.

Code Block
svy-focusgained='handlers.onFocusGainedMethodID($event)'

svy-focuslost (Design, domevent:'blur') this directive triggers the given function when the element looses focus. It does supply an $event parameter.

Code Block
svy-focuslost='handlers.onFocusLostMethodID($event)'

svy-background (Runtime | accepts 'color' property type from spec as the model attribute value)  sets the 'background-color' style of the element being applied  to.It also watches the property values and updates the compoent if the compoent is updated on the server (being a runtume ) . Background color is dependend on the trasparency flag in servoy and it only applies the background color if the trasparency flag is not set .It's usage in ngClient components is:

...