4 ms·
So, AOP is applying a function (CSS styles) to objects in a graph (DOM), all selected by a query (CSS selectors)?
by jared314 17y ago
So, AOP is applying a function (CSS styles) to objects in a graph (DOM), all selected by a query (CSS selectors)?
- achille 17y ago"applying a function to objects in a graph" implies something like: bold(element) and center(element) which yields: <bold><foo /><bar /></bold> <center><baz /></center> CSS Selectors can be applied a number of ways (id, class name, parent class name etc) And they can be modified without touching the source HTML. But yeah, that's what AOP is: You specify a function that can be dynamically applied to various pointcuts.