JSSM, a JavaScript state machine - the FSM for FSL
    Preparing search index...

    Function name_bind_prop_and_state


    • Internal method generating composite keys for the hook lookup map by JSON-serializing a [property, state] pair. Not meant for external use.

      name_bind_prop_and_state('color', 'Red');  // '["color","Red"]'
      

      Parameters

      • prop: string

        The property name (e.g. a data key or hook category).

      • state: string

        The state name to bind to.

      Returns string

      A deterministic JSON string key for the [prop, state] pair.

      If either argument is not a string.