It seems that the ActionSheet footer is not exported using the latest release v4.0 of NativeBase.
Footer and header were removed from the new version. It can easily be created using a Box component inside ActionSheet.Content
Related
My Custom component data is not displaying inside cxOutletPos.
No issue with "static html code" inside cxOutletPos, It is working displaying properly.
<ng-template cxOutletRef="cx-footer" cxOutletPos="before">
<h1>welcome</h1>
<app-custom-header></app-custom-header>
</ng-template>
I don't think this is a Spartacus issue, as I tried your code, and in my case the custom component could also be displayed correctly in the outlet. Please refer to my test result. I am using Spartacus 2.1.0. Which version are you using?
I am using ag-grid in my project which uses vuetify.js and is based on vueJS. I am facing problems with the ag-grid themes. Whenever I use the ag-material theme the outcome is different from the one shown ag-grid website. I just get a very basic theme when I add material theme. Can anyone help?
you need to make sure you import both
import "/node_modules/ag-grid/dist/styles/ag-grid.css";
import "/node_modules/ag-grid/dist/styles/theme-material.css";
and then, make sure you include both classes <ag-grid-vue class="ag-material ag-theme-material">
How can I add custom header and footer text in tcpdf using laravel controller
Following the TCPDF doc I can create a pdf file fine. but when I want to add custom footer text I didn't do that.
This is the Controller.
How can I add custom footer in tcpdf or you have any solution for the custom footer any other package which I will use custom footer easily please suggest me.
I fixed my problem using mPdf instead of tcpdf. Using mPdf I just called SetFooter() function.
$mpdf = new mPDF();
$mpdf->Bookmark('Start of the document');
$mpdf->WriteHTML('<div>This is body text </div>');
$mpdf->SetFooter('<div>This is custom footer!</div>');
$mpdf->Output();
Now custom footer worked for me!
I am working with angular 2 rc4 and we are using fuel-ui http://fuelinteractive.github.io/fuel-ui/#/ to load a modal.
What we are trying to achieve is the following:
we have a login component that we want to inject into the fuel-ui modal the problem is that the actual modal html code (actual DOM) is getting loaded after.
Fuel-ui gives a tag into which the html for the modal gets loaded into.
I have researched and tried DynamicComponentLoader although found out it is now deprecated.
What I need is to know what is the best way to inject my login component content
into the rendered DOM (tag with modal-body class from bootstrap html).
I have searched but perhaps someone had the same issue and stumbled upon a better link that explains how to do this.
Thank you, in advance, for your help.
Nancy
This seems very old now. But i think the latest in Angular helps you use content projection into a component.
You can add <ng-content></ng-content> as the body of your modal. In the parent component view add your custom component wrapped in the modal component. When modal shows up, you will have your component in it's content.
Also, Angular supports dynamic component creation.
Component templates are not always fixed. An application may need to
load new components at runtime.
You can look it up here for any help:
dynamic-component-loader
I've noticed when trying to used the Bootstrap Modal events (i.e. 'hidden.bs.modal') they don't fire when I'm using the Joint.js library. Is there a work-around for this?
I had the same issue and it was because I was using joint.all.js which has a version of jQuery already included (thus causing me to have two references to jQuery on the same page). I removed jQuery from this js file and my Bootstrap modal worked fine.