Ember.streams.Dependency.parsePropertyPath()

parsePropertyPathprivatestatic

Defined in packages/ember-htmlbars/lib/streams/class_name_binding.js:7

Parse a path and return an object which holds the parsed properties.

For example a path like "content.isEnabled:enabled:disabled" will return the following object:

1
2
3
4
5
6
{
  path: "content.isEnabled",
  className: "enabled",
  falsyClassName: "disabled",
  classNames: ":enabled:disabled"
}
doc_EmberJs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.