equal
deleted
inserted
replaced
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
10 # FOR A PARTICULAR PURPOSE. |
10 # FOR A PARTICULAR PURPOSE. |
11 # |
11 # |
12 |
12 |
13 """Object data API module |
13 """PyAMS_utils.data module |
14 |
14 |
15 The *IObjectData* interface is a generic interface which can be used to assign custom data to any object. |
15 The *IObjectData* interface is a generic interface which can be used to assign custom data to any object. |
16 This object data may be any object which can be serialized to JSON, and assigned to any HTML *data* attribute. |
16 This object data may be any object which can be serialized to JSON, and assigned to any HTML *data* attribute. |
17 It can typically be used to set a *data-ams-data* attribute to objects, which is afterwards converted to |
17 It can typically be used to set a *data-ams-data* attribute to objects, which is afterwards converted to |
18 classic *data-* attributes by **MyAMS.js** framework. |
18 classic *data-* attributes by **MyAMS.js** framework. |