turbo_helper.stream¶
Attributes¶
Classes¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents¶
- class turbo_helper.stream.TurboStream¶
-
- registered_actions = []¶
- is_registered(name)¶
- action(action, target, content=None, **kwargs)¶
- action_all(action, targets, content=None, **kwargs)¶
- response(*args, **kwargs)¶
Shortcut for TurboStreamResponse
- turbo_helper.stream.turbo_stream¶
- turbo_helper.stream.register_turbo_stream_action(name)¶
- turbo_helper.stream.action_proxy(action, target=None, targets=None, **kwargs)¶
- turbo_helper.stream.append(target, content=None, **kwargs)¶
- turbo_helper.stream.after(target, content=None, **kwargs)¶
- turbo_helper.stream.before(target, content=None, **kwargs)¶
- turbo_helper.stream.prepend(target, content=None, **kwargs)¶
- turbo_helper.stream.remove(target, **kwargs)¶
- turbo_helper.stream.replace(target, content=None, **kwargs)¶
- turbo_helper.stream.update(target, content=None, **kwargs)¶
- turbo_helper.stream.append_all(targets, content=None, **kwargs)¶
- turbo_helper.stream.after_all(targets, content=None, **kwargs)¶
- turbo_helper.stream.before_all(targets, content=None, **kwargs)¶
- turbo_helper.stream.prepend_all(targets, content=None, **kwargs)¶
- turbo_helper.stream.remove_all(targets, **kwargs)¶
- turbo_helper.stream.replace_all(targets, content=None, **kwargs)¶
- turbo_helper.stream.update_all(targets, content=None, **kwargs)¶