Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Add ng-class on main element? #14

Description

@danhodkinson

on the target element such as:
<span class="hardwareBlock__name" ng-click="editText()" inline-edit="inlineEdit[1].model" inline-edit-placeholder="{{inlineEdit[1].placeholder}}" inline-edit-message="{{inlineEdit[1].message()}}" inline-edit-on-blur="cancel" inline-edit-validation="inlineEdit[1].validator(newValue)"></span>

Is it possible to add an ng-class on to this so that when i have a validation error or success i can add a class which will allow me to style siblings of the editable fields (e.g. labels)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions